QueryResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / QueryResolvers
Type Alias: QueryResolvers<ContextType, ParentType>
> QueryResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["Query"
] = ResolversParentTypes
["Query"
]
Type declaration
actionItemCategoriesByOrganization?
> optional
actionItemCategoriesByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["ActionItemCategory"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryActionItemCategoriesByOrganizationArgs
, "organizationId"
>>
actionItemsByEvent?
> optional
actionItemsByEvent: Resolver
<Maybe
<Maybe
<ResolversTypes
["ActionItem"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryActionItemsByEventArgs
, "eventId"
>>
actionItemsByOrganization?
> optional
actionItemsByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["ActionItem"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryActionItemsByOrganizationArgs
, "organizationId"
>>
actionItemsByUser?
> optional
actionItemsByUser: Resolver
<Maybe
<Maybe
<ResolversTypes
["ActionItem"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryActionItemsByUserArgs
, "userId"
>>
adminPlugin?
> optional
adminPlugin: Resolver
<Maybe
<Maybe
<ResolversTypes
["Plugin"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryAdminPluginArgs
, "orgId"
>>
advertisementsConnection?
> optional
advertisementsConnection: Resolver
<Maybe
<ResolversTypes
["AdvertisementsConnection"
]>, ParentType
, ContextType
, Partial
<QueryAdvertisementsConnectionArgs
>>
agendaCategory?
> optional
agendaCategory: Resolver
<ResolversTypes
["AgendaCategory"
], ParentType
, ContextType
, RequireFields
<QueryAgendaCategoryArgs
, "id"
>>
agendaItemByEvent?
> optional
agendaItemByEvent: Resolver
<Maybe
<Maybe
<ResolversTypes
["AgendaItem"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryAgendaItemByEventArgs
, "relatedEventId"
>>
agendaItemByOrganization?
> optional
agendaItemByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["AgendaItem"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryAgendaItemByOrganizationArgs
, "organizationId"
>>
agendaItemCategoriesByOrganization?
> optional
agendaItemCategoriesByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["AgendaCategory"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryAgendaItemCategoriesByOrganizationArgs
, "organizationId"
>>
chatById?
> optional
chatById: Resolver
<ResolversTypes
["Chat"
], ParentType
, ContextType
, RequireFields
<QueryChatByIdArgs
, "id"
>>
chatsByUserId?
> optional
chatsByUserId: Resolver
<Maybe
<Maybe
<ResolversTypes
["Chat"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryChatsByUserIdArgs
, "id"
>>
checkAuth?
> optional
checkAuth: Resolver
<ResolversTypes
["User"
], ParentType
, ContextType
>
customDataByOrganization?
> optional
customDataByOrganization: Resolver
<ResolversTypes
["UserCustomData"
][], ParentType
, ContextType
, RequireFields
<QueryCustomDataByOrganizationArgs
, "organizationId"
>>
customFieldsByOrganization?
> optional
customFieldsByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["OrganizationCustomField"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryCustomFieldsByOrganizationArgs
, "id"
>>
event?
> optional
event: Resolver
<Maybe
<ResolversTypes
["Event"
]>, ParentType
, ContextType
, RequireFields
<QueryEventArgs
, "id"
>>
eventsAttendedByUser?
> optional
eventsAttendedByUser: Resolver
<Maybe
<Maybe
<ResolversTypes
["Event"
]>[]>, ParentType
, ContextType
, Partial
<QueryEventsAttendedByUserArgs
>>
eventsByOrganization?
> optional
eventsByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["Event"
]>[]>, ParentType
, ContextType
, Partial
<QueryEventsByOrganizationArgs
>>
eventsByOrganizationConnection?
> optional
eventsByOrganizationConnection: Resolver
<ResolversTypes
["Event"
][], ParentType
, ContextType
, Partial
<QueryEventsByOrganizationConnectionArgs
>>
fundsByOrganization?
> optional
fundsByOrganization: Resolver
<Maybe
<Maybe
<ResolversTypes
["Fund"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryFundsByOrganizationArgs
, "organizationId"
>>
getAgendaItem?
> optional
getAgendaItem: Resolver
<Maybe
<ResolversTypes
["AgendaItem"
]>, ParentType
, ContextType
, RequireFields
<QueryGetAgendaItemArgs
, "id"
>>
getAgendaSection?
> optional
getAgendaSection: Resolver
<Maybe
<ResolversTypes
["AgendaSection"
]>, ParentType
, ContextType
, RequireFields
<QueryGetAgendaSectionArgs
, "id"
>>
getAllAgendaItems?
> optional
getAllAgendaItems: Resolver
<Maybe
<Maybe
<ResolversTypes
["AgendaItem"
]>[]>, ParentType
, ContextType
>
getAllNotesForAgendaItem?
> optional
getAllNotesForAgendaItem: Resolver
<Maybe
<Maybe
<ResolversTypes
["Note"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetAllNotesForAgendaItemArgs
, "agendaItemId"
>>
getCommunityData?
> optional
getCommunityData: Resolver
<Maybe
<ResolversTypes
["Community"
]>, ParentType
, ContextType
>
getDonationById?
> optional
getDonationById: Resolver
<ResolversTypes
["Donation"
], ParentType
, ContextType
, RequireFields
<QueryGetDonationByIdArgs
, "id"
>>
getDonationByOrgId?
> optional
getDonationByOrgId: Resolver
<Maybe
<Maybe
<ResolversTypes
["Donation"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetDonationByOrgIdArgs
, "orgId"
>>
getDonationByOrgIdConnection?
> optional
getDonationByOrgIdConnection: Resolver
<ResolversTypes
["Donation"
][], ParentType
, ContextType
, RequireFields
<QueryGetDonationByOrgIdConnectionArgs
, "orgId"
>>
getEventAttendee?
> optional
getEventAttendee: Resolver
<Maybe
<ResolversTypes
["EventAttendee"
]>, ParentType
, ContextType
, RequireFields
<QueryGetEventAttendeeArgs
, "eventId"
| "userId"
>>
getEventAttendeesByEventId?
> optional
getEventAttendeesByEventId: Resolver
<Maybe
<Maybe
<ResolversTypes
["EventAttendee"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetEventAttendeesByEventIdArgs
, "eventId"
>>
getEventInvitesByUserId?
> optional
getEventInvitesByUserId: Resolver
<ResolversTypes
["EventAttendee"
][], ParentType
, ContextType
, RequireFields
<QueryGetEventInvitesByUserIdArgs
, "userId"
>>
getEventVolunteerGroups?
> optional
getEventVolunteerGroups: Resolver
<Maybe
<ResolversTypes
["EventVolunteerGroup"
]>[], ParentType
, ContextType
, RequireFields
<QueryGetEventVolunteerGroupsArgs
, "where"
>>
getEventVolunteers?
> optional
getEventVolunteers: Resolver
<Maybe
<ResolversTypes
["EventVolunteer"
]>[], ParentType
, ContextType
, RequireFields
<QueryGetEventVolunteersArgs
, "where"
>>
getFundById?
> optional
getFundById: Resolver
<ResolversTypes
["Fund"
], ParentType
, ContextType
, RequireFields
<QueryGetFundByIdArgs
, "id"
>>
getFundraisingCampaignPledgeById?
> optional
getFundraisingCampaignPledgeById: Resolver
<ResolversTypes
["FundraisingCampaignPledge"
], ParentType
, ContextType
, RequireFields
<QueryGetFundraisingCampaignPledgeByIdArgs
, "id"
>>
getFundraisingCampaigns?
> optional
getFundraisingCampaigns: Resolver
<Maybe
<ResolversTypes
["FundraisingCampaign"
]>[], ParentType
, ContextType
, Partial
<QueryGetFundraisingCampaignsArgs
>>
getNoteById?
> optional
getNoteById: Resolver
<ResolversTypes
["Note"
], ParentType
, ContextType
, RequireFields
<QueryGetNoteByIdArgs
, "id"
>>
getPledgesByUserId?
> optional
getPledgesByUserId: Resolver
<Maybe
<Maybe
<ResolversTypes
["FundraisingCampaignPledge"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetPledgesByUserIdArgs
, "userId"
>>
getPlugins?
> optional
getPlugins: Resolver
<Maybe
<Maybe
<ResolversTypes
["Plugin"
]>[]>, ParentType
, ContextType
>
getRecurringEvents?
> optional
getRecurringEvents: Resolver
<Maybe
<Maybe
<ResolversTypes
["Event"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetRecurringEventsArgs
, "baseRecurringEventId"
>>
getUserTag?
> optional
getUserTag: Resolver
<Maybe
<ResolversTypes
["UserTag"
]>, ParentType
, ContextType
, RequireFields
<QueryGetUserTagArgs
, "id"
>>
getVenueByOrgId?
> optional
getVenueByOrgId: Resolver
<Maybe
<Maybe
<ResolversTypes
["Venue"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetVenueByOrgIdArgs
, "orgId"
>>
getVolunteerMembership?
> optional
getVolunteerMembership: Resolver
<Maybe
<ResolversTypes
["VolunteerMembership"
]>[], ParentType
, ContextType
, RequireFields
<QueryGetVolunteerMembershipArgs
, "where"
>>
getVolunteerRanks?
> optional
getVolunteerRanks: Resolver
<Maybe
<ResolversTypes
["VolunteerRank"
]>[], ParentType
, ContextType
, RequireFields
<QueryGetVolunteerRanksArgs
, "orgId"
| "where"
>>
getlanguage?
> optional
getlanguage: Resolver
<Maybe
<Maybe
<ResolversTypes
["Translation"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryGetlanguageArgs
, "lang_code"
>>
hasSubmittedFeedback?
> optional
hasSubmittedFeedback: Resolver
<Maybe
<ResolversTypes
["Boolean"
]>, ParentType
, ContextType
, RequireFields
<QueryHasSubmittedFeedbackArgs
, "eventId"
| "userId"
>>
isSampleOrganization?
> optional
isSampleOrganization: Resolver
<ResolversTypes
["Boolean"
], ParentType
, ContextType
, RequireFields
<QueryIsSampleOrganizationArgs
, "id"
>>
joinedOrganizations?
> optional
joinedOrganizations: Resolver
<Maybe
<Maybe
<ResolversTypes
["Organization"
]>[]>, ParentType
, ContextType
, Partial
<QueryJoinedOrganizationsArgs
>>
me?
> optional
me: Resolver
<ResolversTypes
["UserData"
], ParentType
, ContextType
>
myLanguage?
> optional
myLanguage: Resolver
<Maybe
<ResolversTypes
["String"
]>, ParentType
, ContextType
>
organizations?
> optional
organizations: Resolver
<Maybe
<Maybe
<ResolversTypes
["Organization"
]>[]>, ParentType
, ContextType
, Partial
<QueryOrganizationsArgs
>>
organizationsConnection?
> optional
organizationsConnection: Resolver
<Maybe
<ResolversTypes
["Organization"
]>[], ParentType
, ContextType
, Partial
<QueryOrganizationsConnectionArgs
>>
organizationsMemberConnection?
> optional
organizationsMemberConnection: Resolver
<ResolversTypes
["UserConnection"
], ParentType
, ContextType
, RequireFields
<QueryOrganizationsMemberConnectionArgs
, "orgId"
>>
plugin?
> optional
plugin: Resolver
<Maybe
<Maybe
<ResolversTypes
["Plugin"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryPluginArgs
, "orgId"
>>
post?
> optional
post: Resolver
<Maybe
<ResolversTypes
["Post"
]>, ParentType
, ContextType
, RequireFields
<QueryPostArgs
, "id"
>>
registeredEventsByUser?
> optional
registeredEventsByUser: Resolver
<Maybe
<Maybe
<ResolversTypes
["Event"
]>[]>, ParentType
, ContextType
, Partial
<QueryRegisteredEventsByUserArgs
>>
registrantsByEvent?
> optional
registrantsByEvent: Resolver
<Maybe
<Maybe
<ResolversTypes
["User"
]>[]>, ParentType
, ContextType
, RequireFields
<QueryRegistrantsByEventArgs
, "id"
>>
user?
> optional
user: Resolver
<ResolversTypes
["UserData"
], ParentType
, ContextType
, RequireFields
<QueryUserArgs
, "id"
>>
userLanguage?
> optional
userLanguage: Resolver
<Maybe
<ResolversTypes
["String"
]>, ParentType
, ContextType
, RequireFields
<QueryUserLanguageArgs
, "userId"
>>
users?
> optional
users: Resolver
<Maybe
<Maybe
<ResolversTypes
["UserData"
]>[]>, ParentType
, ContextType
, Partial
<QueryUsersArgs
>>
usersConnection?
> optional
usersConnection: Resolver
<Maybe
<ResolversTypes
["UserData"
]>[], ParentType
, ContextType
, Partial
<QueryUsersConnectionArgs
>>
venue?
> optional
venue: Resolver
<Maybe
<ResolversTypes
["Venue"
]>, ParentType
, ContextType
, RequireFields
<QueryVenueArgs
, "id"
>>