shortIdQueryResult.js 352 B

123456789101112131415161718
  1. import {Group} from './group';
  2. export function ShortIdQueryResult(params = {}) {
  3. const group = Group({
  4. metadata: {
  5. type: 'group type',
  6. value: 'group description',
  7. },
  8. });
  9. return {
  10. organizationSlug: 'org-slug',
  11. projectSlug: 'project-slug',
  12. groupId: group.id,
  13. shortId: 'test-1',
  14. group,
  15. ...params,
  16. };
  17. }