mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
18 lines
602 B
TypeScript
18 lines
602 B
TypeScript
import type {Broadcast} from 'sentry/types';
|
|
|
|
export function BroadcastFixture(params: Partial<Broadcast> = {}): Broadcast {
|
|
return {
|
|
dateCreated: new Date().toISOString(),
|
|
dateExpires: new Date().toISOString(),
|
|
hasSeen: false,
|
|
id: '8',
|
|
isActive: true,
|
|
cta: 'cta_text',
|
|
link: 'https://docs.sentry.io/clients/javascript/sourcemaps/#uploading-source-maps-to-sentry',
|
|
message:
|
|
'Source maps are JSON files that contain information on how to map your transpiled source code back to their original source.',
|
|
title: 'Learn about Source Maps',
|
|
...params,
|
|
};
|
|
}
|