1234567891011121314151617181920 |
- import {ShortIdResponse} from 'sentry/types';
- import {Group} from './group';
- export function ShortIdQueryResult(params = {}): ShortIdResponse {
- const group = Group({
- metadata: {
- type: 'group type',
- value: 'group description',
- },
- });
- return {
- organizationSlug: 'org-slug',
- projectSlug: 'project-slug',
- groupId: group.id,
- shortId: 'test-1',
- group,
- ...params,
- };
- }
|