1234567891011121314151617 |
- import {User} from 'sentry-fixture/user';
- import {ActivityTypeDraft} from 'sentry/views/alerts/types';
- export function IncidentActivity(
- params: Partial<ActivityTypeDraft> = {}
- ): ActivityTypeDraft {
- return {
- comment: 'incident activity comment',
- type: 3,
- dateCreated: '',
- user: User(),
- id: '123',
- incidentIdentifier: '999',
- ...params,
- };
- }
|