projectKeys.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import {ProjectKey} from 'sentry/types/project';
  2. export function ProjectKeysFixture(params: ProjectKey[] = []): ProjectKey[] {
  3. return [
  4. {
  5. dsn: {
  6. unreal: '',
  7. secret:
  8. 'http://188ee45a58094d939428d8585aa6f661:a33bf9aba64c4bbdaf873bb9023b6d2d@dev.getsentry.net:8000/1',
  9. minidump:
  10. 'http://dev.getsentry.net:8000/api/1/minidump?sentry_key=188ee45a58094d939428d8585aa6f661',
  11. public: 'http://188ee45a58094d939428d8585aa6f661@dev.getsentry.net:8000/1',
  12. cdn: 'http://dev.getsentry.net:800/js-sdk-loader/188ee45a58094d939428d8585aa6f661.min.js',
  13. csp: 'http://dev.getsentry.net:8000/api/1/csp-report/?sentry_key=188ee45a58094d939428d8585aa6f661',
  14. security:
  15. 'http://dev.getsentry.net:8000/api/1/security-report/?sentry_key=188ee45a58094d939428d8585aa6f661',
  16. },
  17. public: '188ee45a58094d939428d8585aa6f661',
  18. secret: 'a33bf9aba64c4bbdaf873bb9023b6d2d',
  19. name: 'Natural Halibut',
  20. rateLimit: null,
  21. projectId: 1,
  22. dateCreated: '2018-02-28T07:13:51.087Z',
  23. id: '188ee45a58094d939428d8585aa6f661',
  24. isActive: true,
  25. label: 'Natural Halibut',
  26. browserSdkVersion: 'latest',
  27. browserSdk: {
  28. choices: [
  29. ['latest', 'latest'],
  30. ['7.x', '7.x'],
  31. ['6.x', '6.x'],
  32. ['5.x', '5.x'],
  33. ['4.x', '4.x'],
  34. ],
  35. },
  36. dynamicSdkLoaderOptions: {
  37. hasPerformance: false,
  38. hasReplay: false,
  39. hasDebug: false,
  40. },
  41. },
  42. ...params,
  43. ];
  44. }