projectKeys.ts 1.5 KB

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