MOCKS
Variable: MOCKS
const
MOCKS: ({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
: {actionItemCategoryId
:undefined
;actionItemId
:undefined
;allottedHours
:undefined
;assigneeId
:undefined
;assigneeType
:undefined
;dDate
:undefined
;dueDate
:undefined
;eventId
:string
;isCompleted
:undefined
;orderBy
:any
;organizationId
:string
;postCompletionNotes
:undefined
;preCompletionNotes
:undefined
;where
: {assigneeName
:undefined
;categoryName
:string
;is_completed
:undefined
; }; }; };result
: {data
: {actionItemsByOrganization
:InterfaceActionItemInfo
[];createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
:undefined
; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:undefined
;actionItemId
:undefined
;allottedHours
:undefined
;assigneeId
:undefined
;assigneeType
:undefined
;dDate
:undefined
;dueDate
:undefined
;eventId
:string
;isCompleted
:undefined
;orderBy
:string
;organizationId
:string
;postCompletionNotes
:undefined
;preCompletionNotes
:undefined
;where
: {assigneeName
:string
;categoryName
:undefined
;is_completed
:undefined
; }; }; };result
: {data
: {actionItemsByOrganization
:InterfaceActionItemInfo
[];createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
:undefined
; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:undefined
;actionItemId
:undefined
;allottedHours
:undefined
;assigneeId
:undefined
;assigneeType
:undefined
;dDate
:undefined
;dueDate
:undefined
;eventId
:string
;isCompleted
:undefined
;orderBy
:any
;organizationId
:string
;postCompletionNotes
:undefined
;preCompletionNotes
:undefined
;where
: {assigneeName
:string
;categoryName
:undefined
;is_completed
:boolean
; }; }; };result
: {data
: {actionItemsByOrganization
:InterfaceActionItemInfo
[];createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
:undefined
; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:undefined
;actionItemId
:string
;allottedHours
:undefined
;assigneeId
:undefined
;assigneeType
:undefined
;dDate
:undefined
;dueDate
:undefined
;eventId
:undefined
;isCompleted
:undefined
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:undefined
;preCompletionNotes
:undefined
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
:undefined
;removeActionItem
: {_id
:string
; };updateActionItem
:undefined
; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:undefined
;actionItemId
:string
;allottedHours
:undefined
;assigneeId
:string
;assigneeType
:string
;dDate
:undefined
;dueDate
:undefined
;eventId
:undefined
;isCompleted
:boolean
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:string
;preCompletionNotes
:undefined
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
: {_id
:string
; }; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:string
;actionItemId
:string
;allottedHours
:number
;assigneeId
:string
;assigneeType
:string
;dDate
:undefined
;dueDate
:undefined
;eventId
:undefined
;isCompleted
:boolean
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:string
;preCompletionNotes
:undefined
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
: {_id
:string
; }; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:string
;actionItemId
:string
;allottedHours
:number
;assigneeId
:string
;assigneeType
:string
;dDate
:undefined
;dueDate
:string
;eventId
:undefined
;isCompleted
:boolean
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:undefined
;preCompletionNotes
:string
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
: {_id
:string
; }; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:undefined
;actionItemId
:string
;allottedHours
:undefined
;assigneeId
:string
;assigneeType
:undefined
;dDate
:undefined
;dueDate
:undefined
;eventId
:undefined
;isCompleted
:boolean
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:string
;preCompletionNotes
:undefined
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
: {_id
:string
; }; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:string
;actionItemId
:string
;allottedHours
:number
;assigneeId
:string
;assigneeType
:string
;dDate
:undefined
;dueDate
:undefined
;eventId
:undefined
;isCompleted
:boolean
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:undefined
;preCompletionNotes
:undefined
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
:undefined
;removeActionItem
:undefined
;updateActionItem
: {_id
:string
; }; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:string
;actionItemId
:undefined
;allottedHours
:number
;assigneeId
:string
;assigneeType
:string
;dDate
:string
;dueDate
:undefined
;eventId
:undefined
;isCompleted
:undefined
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:undefined
;preCompletionNotes
:string
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
: {_id
:string
; };removeActionItem
:undefined
;updateActionItem
:undefined
; }; }; } | {request
: {query
:DocumentNode
;variables
: {actionItemCategoryId
:string
;actionItemId
:undefined
;allottedHours
:number
;assigneeId
:string
;assigneeType
:string
;dDate
:string
;dueDate
:undefined
;eventId
:string
;isCompleted
:undefined
;orderBy
:undefined
;organizationId
:undefined
;postCompletionNotes
:undefined
;preCompletionNotes
:string
;where
:undefined
; }; };result
: {data
: {actionItemsByOrganization
:undefined
;createActionItem
: {_id
:string
; };removeActionItem
:undefined
;updateActionItem
:undefined
; }; }; })[]
Defined in: src/screens/OrganizationActionItems/OrganizationActionItem.mocks.ts:21