eventIdQueryResult.js 362 B

123456789101112131415161718
  1. import {Event} from './event';
  2. export function EventIdQueryResult(params = {}) {
  3. const event = Event({
  4. metadata: {
  5. type: 'event type',
  6. value: 'event description',
  7. },
  8. });
  9. return {
  10. organizationSlug: 'org-slug',
  11. projectSlug: 'project-slug',
  12. groupId: event.groupID,
  13. eventId: event.eventID,
  14. event,
  15. ...params,
  16. };
  17. }