sourceMapsDebugIDBundlesArtifacts.ts 773 B

123456789101112131415161718192021222324252627282930
  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. associations: [
  8. {
  9. release: 'v2.0',
  10. dist: null,
  11. },
  12. {
  13. release: 'frontend@2e318148eac9298ec04a662ae32b4b093b027f0a',
  14. dist: ['android', 'iOS'],
  15. },
  16. ],
  17. files: [
  18. {
  19. id: 'ZmlsZXMvXy9fL21haW4uanM=',
  20. fileType: 2,
  21. filePath: 'files/_/_/main.js',
  22. fileSize: 239093,
  23. debugId: '69ac68eb-cc62-44c0-a5dc-b67f219a3696',
  24. sourcemap: 'files/_/_/main.js.map',
  25. },
  26. ],
  27. ...debugBundleIdArtifact,
  28. };
  29. }