Skip to main content

MOCKS_EMPTY

Admin Docs


Variable: MOCKS_EMPTY

const MOCKS_EMPTY: ({ request: { query: DocumentNode; variables: { id: string; }; }; result: { data: { organizations: object[]; }; }; } | { request: { query: DocumentNode; variables: { organizationId: string; where: { is_disabled: boolean; }; }; }; result: { data: { actionItemCategoriesByOrganization: ({ _id: string; createdAt: string; creator: { _id: string; firstName: string; lastName: string; }; isDisabled: boolean; name: string; } | { _id: undefined; createdAt: string; creator: { _id: undefined; firstName: string; lastName: string; }; isDisabled: boolean; name: string; })[]; }; }; } | { request: { query: DocumentNode; variables: { where: { eventId: string; hasAccepted: boolean; }; }; }; result: { data: { getEventVolunteers: ({ _id: string; assignments: any[]; groups: object[]; hasAccepted: boolean; hoursVolunteered: number; user: { _id: string; firstName: string; image: any; lastName: string; }; } | { _id: undefined; assignments: any[]; groups: any[]; hasAccepted: boolean; hoursVolunteered: number; user: { _id: undefined; firstName: string; image: any; lastName: string; }; })[]; }; }; } | { request: { query: DocumentNode; variables: { where: { eventId: undefined; hasAccepted: boolean; }; }; }; result: { data: { getEventVolunteers: any[]; }; }; } | { request: { query: DocumentNode; variables: { where: { eventId: string; }; }; }; result: { data: { getEventVolunteerGroups: ({ _id: string; assignments: any[]; createdAt: string; creator: { _id: string; firstName: string; image: any; lastName: string; }; description: string; event: { _id: string; }; leader: { _id: string; firstName: string; image: any; lastName: string; }; name: string; volunteers: object[]; volunteersRequired: number; } | { _id: undefined; assignments: any[]; createdAt: string; creator: { _id: string; firstName: string; image: any; lastName: string; }; description: string; event: { _id: string; }; leader: { _id: string; firstName: string; image: any; lastName: string; }; name: string; volunteers: any[]; volunteersRequired: number; })[]; }; }; } | { request: { query: DocumentNode; variables: { eventId: string; orderBy: any; organizationId: string; where: { assigneeName: string; }; }; }; result: { data: { actionItemsByOrganization: any[]; }; }; })[]

Defined in: src/screens/OrganizationActionItems/OrganizationActionItem.mocks.ts:485