sourceMapsDebugIDBundlesArtifacts.ts 808 B

1234567891011121314151617181920212223242526272829303132
  1. import type {DebugIdBundleArtifact} from 'sentry/types';
  2. export function SourceMapsDebugIDBundlesArtifacts(
  3. debugBundleIdArtifact: Partial<DebugIdBundleArtifact> = {}
  4. ): DebugIdBundleArtifact {
  5. return {
  6. bundleId: '7227e105-744e-4066-8c69-3e5e344723fc',
  7. release: null,
  8. dist: null,
  9. associations: [
  10. {
  11. release: 'v2.0',
  12. dist: null,
  13. },
  14. {
  15. release: 'frontend@2e318148eac9298ec04a662ae32b4b093b027f0a',
  16. dist: ['android', 'iOS'],
  17. },
  18. ],
  19. files: [
  20. {
  21. id: 'ZmlsZXMvXy9fL21haW4uanM=',
  22. fileType: 2,
  23. filePath: 'files/_/_/main.js',
  24. fileSize: 239093,
  25. debugId: '69ac68eb-cc62-44c0-a5dc-b67f219a3696',
  26. sourcemap: 'files/_/_/main.js.map',
  27. },
  28. ],
  29. ...debugBundleIdArtifact,
  30. };
  31. }