projectSdkUpdates.tsx 456 B

1234567891011121314151617181920
  1. import type {ProjectSdkUpdates as TProjectSdkUpdates} from 'sentry/types';
  2. export function ProjectSdkUpdates(
  3. overrides?: Partial<TProjectSdkUpdates>
  4. ): TProjectSdkUpdates {
  5. return {
  6. projectId: '1',
  7. sdkName: 'sentry.javascript',
  8. sdkVersion: '7.50.0.',
  9. suggestions: [
  10. {
  11. enables: [],
  12. newSdkVersion: '7.63.0',
  13. sdkName: 'sentry.javascript',
  14. type: 'updateSdk',
  15. },
  16. ],
  17. ...overrides,
  18. };
  19. }