Skip to main content

MutationResolvers

talawa-api


talawa-api / types/generatedGraphQLTypes / MutationResolvers

Type Alias: MutationResolvers<ContextType, ParentType>

> MutationResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["Mutation"] = ResolversParentTypes["Mutation"]

Type declaration

acceptMembershipRequest?

> optional acceptMembershipRequest: Resolver<ResolversTypes["MembershipRequest"], ParentType, ContextType, RequireFields<MutationAcceptMembershipRequestArgs, "membershipRequestId">>

addEventAttendee?

> optional addEventAttendee: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationAddEventAttendeeArgs, "data">>

addFeedback?

> optional addFeedback: Resolver<ResolversTypes["Feedback"], ParentType, ContextType, RequireFields<MutationAddFeedbackArgs, "data">>

addLanguageTranslation?

> optional addLanguageTranslation: Resolver<ResolversTypes["Language"], ParentType, ContextType, RequireFields<MutationAddLanguageTranslationArgs, "data">>

addOrganizationCustomField?

> optional addOrganizationCustomField: Resolver<ResolversTypes["OrganizationCustomField"], ParentType, ContextType, RequireFields<MutationAddOrganizationCustomFieldArgs, "name" | "organizationId" | "type">>

addOrganizationImage?

> optional addOrganizationImage: Resolver<ResolversTypes["Organization"], ParentType, ContextType, RequireFields<MutationAddOrganizationImageArgs, "file" | "organizationId">>

addPeopleToUserTag?

> optional addPeopleToUserTag: Resolver<Maybe<ResolversTypes["UserTag"]>, ParentType, ContextType, RequireFields<MutationAddPeopleToUserTagArgs, "input">>

addPledgeToFundraisingCampaign?

> optional addPledgeToFundraisingCampaign: Resolver<ResolversTypes["FundraisingCampaignPledge"], ParentType, ContextType, RequireFields<MutationAddPledgeToFundraisingCampaignArgs, "campaignId" | "pledgeId">>

addUserCustomData?

> optional addUserCustomData: Resolver<ResolversTypes["UserCustomData"], ParentType, ContextType, RequireFields<MutationAddUserCustomDataArgs, "dataName" | "dataValue" | "organizationId">>

addUserImage?

> optional addUserImage: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationAddUserImageArgs, "file">>

addUserToUserFamily?

> optional addUserToUserFamily: Resolver<ResolversTypes["UserFamily"], ParentType, ContextType, RequireFields<MutationAddUserToUserFamilyArgs, "familyId" | "userId">>

assignToUserTags?

> optional assignToUserTags: Resolver<Maybe<ResolversTypes["UserTag"]>, ParentType, ContextType, RequireFields<MutationAssignToUserTagsArgs, "input">>

assignUserTag?

> optional assignUserTag: Resolver<Maybe<ResolversTypes["User"]>, ParentType, ContextType, RequireFields<MutationAssignUserTagArgs, "input">>

blockPluginCreationBySuperadmin?

> optional blockPluginCreationBySuperadmin: Resolver<ResolversTypes["AppUserProfile"], ParentType, ContextType, RequireFields<MutationBlockPluginCreationBySuperadminArgs, "blockUser" | "userId">>

blockUser?

> optional blockUser: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationBlockUserArgs, "organizationId" | "userId">>

cancelMembershipRequest?

> optional cancelMembershipRequest: Resolver<ResolversTypes["MembershipRequest"], ParentType, ContextType, RequireFields<MutationCancelMembershipRequestArgs, "membershipRequestId">>

checkIn?

> optional checkIn: Resolver<ResolversTypes["CheckIn"], ParentType, ContextType, RequireFields<MutationCheckInArgs, "data">>

checkOut?

> optional checkOut: Resolver<ResolversTypes["CheckOut"], ParentType, ContextType, RequireFields<MutationCheckOutArgs, "data">>

createActionItem?

> optional createActionItem: Resolver<ResolversTypes["ActionItem"], ParentType, ContextType, RequireFields<MutationCreateActionItemArgs, "actionItemCategoryId" | "data">>

createActionItemCategory?

> optional createActionItemCategory: Resolver<ResolversTypes["ActionItemCategory"], ParentType, ContextType, RequireFields<MutationCreateActionItemCategoryArgs, "isDisabled" | "name" | "organizationId">>

createAdmin?

> optional createAdmin: Resolver<ResolversTypes["CreateAdminPayload"], ParentType, ContextType, RequireFields<MutationCreateAdminArgs, "data">>

createAdvertisement?

> optional createAdvertisement: Resolver<Maybe<ResolversTypes["CreateAdvertisementPayload"]>, ParentType, ContextType, RequireFields<MutationCreateAdvertisementArgs, "input">>

createAgendaCategory?

> optional createAgendaCategory: Resolver<ResolversTypes["AgendaCategory"], ParentType, ContextType, RequireFields<MutationCreateAgendaCategoryArgs, "input">>

createAgendaItem?

> optional createAgendaItem: Resolver<ResolversTypes["AgendaItem"], ParentType, ContextType, RequireFields<MutationCreateAgendaItemArgs, "input">>

createAgendaSection?

> optional createAgendaSection: Resolver<ResolversTypes["AgendaSection"], ParentType, ContextType, RequireFields<MutationCreateAgendaSectionArgs, "input">>

createChat?

> optional createChat: Resolver<Maybe<ResolversTypes["Chat"]>, ParentType, ContextType, RequireFields<MutationCreateChatArgs, "data">>

createComment?

> optional createComment: Resolver<Maybe<ResolversTypes["Comment"]>, ParentType, ContextType, RequireFields<MutationCreateCommentArgs, "data" | "postId">>

createDonation?

> optional createDonation: Resolver<ResolversTypes["Donation"], ParentType, ContextType, RequireFields<MutationCreateDonationArgs, "amount" | "nameOfOrg" | "nameOfUser" | "orgId" | "payPalId" | "userId">>

createEvent?

> optional createEvent: Resolver<ResolversTypes["Event"], ParentType, ContextType, RequireFields<MutationCreateEventArgs, "data">>

createEventVolunteer?

> optional createEventVolunteer: Resolver<ResolversTypes["EventVolunteer"], ParentType, ContextType, RequireFields<MutationCreateEventVolunteerArgs, "data">>

createEventVolunteerGroup?

> optional createEventVolunteerGroup: Resolver<ResolversTypes["EventVolunteerGroup"], ParentType, ContextType, RequireFields<MutationCreateEventVolunteerGroupArgs, "data">>

createFund?

> optional createFund: Resolver<ResolversTypes["Fund"], ParentType, ContextType, RequireFields<MutationCreateFundArgs, "data">>

createFundraisingCampaign?

> optional createFundraisingCampaign: Resolver<ResolversTypes["FundraisingCampaign"], ParentType, ContextType, RequireFields<MutationCreateFundraisingCampaignArgs, "data">>

createFundraisingCampaignPledge?

> optional createFundraisingCampaignPledge: Resolver<ResolversTypes["FundraisingCampaignPledge"], ParentType, ContextType, RequireFields<MutationCreateFundraisingCampaignPledgeArgs, "data">>

createMember?

> optional createMember: Resolver<ResolversTypes["CreateMemberPayload"], ParentType, ContextType, RequireFields<MutationCreateMemberArgs, "input">>

createNote?

> optional createNote: Resolver<ResolversTypes["Note"], ParentType, ContextType, RequireFields<MutationCreateNoteArgs, "data">>

createOrganization?

> optional createOrganization: Resolver<ResolversTypes["Organization"], ParentType, ContextType, Partial<MutationCreateOrganizationArgs>>

createPlugin?

> optional createPlugin: Resolver<ResolversTypes["Plugin"], ParentType, ContextType, RequireFields<MutationCreatePluginArgs, "pluginCreatedBy" | "pluginDesc" | "pluginName">>

createPost?

> optional createPost: Resolver<Maybe<ResolversTypes["Post"]>, ParentType, ContextType, RequireFields<MutationCreatePostArgs, "data">>

createSampleOrganization?

> optional createSampleOrganization: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>

createUserFamily?

> optional createUserFamily: Resolver<ResolversTypes["UserFamily"], ParentType, ContextType, RequireFields<MutationCreateUserFamilyArgs, "data">>

createUserTag?

> optional createUserTag: Resolver<Maybe<ResolversTypes["UserTag"]>, ParentType, ContextType, RequireFields<MutationCreateUserTagArgs, "input">>

createVenue?

> optional createVenue: Resolver<Maybe<ResolversTypes["Venue"]>, ParentType, ContextType, RequireFields<MutationCreateVenueArgs, "data">>

createVolunteerMembership?

> optional createVolunteerMembership: Resolver<ResolversTypes["VolunteerMembership"], ParentType, ContextType, RequireFields<MutationCreateVolunteerMembershipArgs, "data">>

deleteAdvertisement?

> optional deleteAdvertisement: Resolver<Maybe<ResolversTypes["DeleteAdvertisementPayload"]>, ParentType, ContextType, RequireFields<MutationDeleteAdvertisementArgs, "id">>

deleteAgendaCategory?

> optional deleteAgendaCategory: Resolver<ResolversTypes["ID"], ParentType, ContextType, RequireFields<MutationDeleteAgendaCategoryArgs, "id">>

deleteDonationById?

> optional deleteDonationById: Resolver<ResolversTypes["DeletePayload"], ParentType, ContextType, RequireFields<MutationDeleteDonationByIdArgs, "id">>

deleteNote?

> optional deleteNote: Resolver<ResolversTypes["ID"], ParentType, ContextType, RequireFields<MutationDeleteNoteArgs, "id">>

deleteVenue?

> optional deleteVenue: Resolver<Maybe<ResolversTypes["Venue"]>, ParentType, ContextType, RequireFields<MutationDeleteVenueArgs, "id">>

editVenue?

> optional editVenue: Resolver<Maybe<ResolversTypes["Venue"]>, ParentType, ContextType, RequireFields<MutationEditVenueArgs, "data">>

forgotPassword?

> optional forgotPassword: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationForgotPasswordArgs, "data">>

inviteEventAttendee?

> optional inviteEventAttendee: Resolver<ResolversTypes["EventAttendee"], ParentType, ContextType, RequireFields<MutationInviteEventAttendeeArgs, "data">>

joinPublicOrganization?

> optional joinPublicOrganization: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationJoinPublicOrganizationArgs, "organizationId">>

leaveOrganization?

> optional leaveOrganization: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationLeaveOrganizationArgs, "organizationId">>

likeComment?

> optional likeComment: Resolver<Maybe<ResolversTypes["Comment"]>, ParentType, ContextType, RequireFields<MutationLikeCommentArgs, "id">>

likePost?

> optional likePost: Resolver<Maybe<ResolversTypes["Post"]>, ParentType, ContextType, RequireFields<MutationLikePostArgs, "id">>

login?

> optional login: Resolver<ResolversTypes["AuthData"], ParentType, ContextType, RequireFields<MutationLoginArgs, "data">>

logout?

> optional logout: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>

otp?

> optional otp: Resolver<ResolversTypes["OtpData"], ParentType, ContextType, RequireFields<MutationOtpArgs, "data">>

recaptcha?

> optional recaptcha: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationRecaptchaArgs, "data">>

refreshToken?

> optional refreshToken: Resolver<ResolversTypes["ExtendSession"], ParentType, ContextType, RequireFields<MutationRefreshTokenArgs, "refreshToken">>

registerEventAttendee?

> optional registerEventAttendee: Resolver<ResolversTypes["EventAttendee"], ParentType, ContextType, RequireFields<MutationRegisterEventAttendeeArgs, "data">>

registerForEvent?

> optional registerForEvent: Resolver<ResolversTypes["EventAttendee"], ParentType, ContextType, RequireFields<MutationRegisterForEventArgs, "id">>

rejectMembershipRequest?

> optional rejectMembershipRequest: Resolver<ResolversTypes["MembershipRequest"], ParentType, ContextType, RequireFields<MutationRejectMembershipRequestArgs, "membershipRequestId">>

removeActionItem?

> optional removeActionItem: Resolver<ResolversTypes["ActionItem"], ParentType, ContextType, RequireFields<MutationRemoveActionItemArgs, "id">>

removeAdmin?

> optional removeAdmin: Resolver<ResolversTypes["AppUserProfile"], ParentType, ContextType, RequireFields<MutationRemoveAdminArgs, "data">>

removeAdvertisement?

> optional removeAdvertisement: Resolver<Maybe<ResolversTypes["Advertisement"]>, ParentType, ContextType, RequireFields<MutationRemoveAdvertisementArgs, "id">>

removeAgendaItem?

> optional removeAgendaItem: Resolver<ResolversTypes["AgendaItem"], ParentType, ContextType, RequireFields<MutationRemoveAgendaItemArgs, "id">>

removeAgendaSection?

> optional removeAgendaSection: Resolver<ResolversTypes["ID"], ParentType, ContextType, RequireFields<MutationRemoveAgendaSectionArgs, "id">>

removeComment?

> optional removeComment: Resolver<Maybe<ResolversTypes["Comment"]>, ParentType, ContextType, RequireFields<MutationRemoveCommentArgs, "id">>

removeEvent?

> optional removeEvent: Resolver<ResolversTypes["Event"], ParentType, ContextType, RequireFields<MutationRemoveEventArgs, "id">>

removeEventAttendee?

> optional removeEventAttendee: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationRemoveEventAttendeeArgs, "data">>

removeEventVolunteer?

> optional removeEventVolunteer: Resolver<ResolversTypes["EventVolunteer"], ParentType, ContextType, RequireFields<MutationRemoveEventVolunteerArgs, "id">>

removeEventVolunteerGroup?

> optional removeEventVolunteerGroup: Resolver<ResolversTypes["EventVolunteerGroup"], ParentType, ContextType, RequireFields<MutationRemoveEventVolunteerGroupArgs, "id">>

removeFromUserTags?

> optional removeFromUserTags: Resolver<Maybe<ResolversTypes["UserTag"]>, ParentType, ContextType, RequireFields<MutationRemoveFromUserTagsArgs, "input">>

removeFundraisingCampaignPledge?

> optional removeFundraisingCampaignPledge: Resolver<ResolversTypes["FundraisingCampaignPledge"], ParentType, ContextType, RequireFields<MutationRemoveFundraisingCampaignPledgeArgs, "id">>

removeMember?

> optional removeMember: Resolver<ResolversTypes["Organization"], ParentType, ContextType, RequireFields<MutationRemoveMemberArgs, "data">>

removeOrganization?

> optional removeOrganization: Resolver<ResolversTypes["UserData"], ParentType, ContextType, RequireFields<MutationRemoveOrganizationArgs, "id">>

removeOrganizationCustomField?

> optional removeOrganizationCustomField: Resolver<ResolversTypes["OrganizationCustomField"], ParentType, ContextType, RequireFields<MutationRemoveOrganizationCustomFieldArgs, "customFieldId" | "organizationId">>

removeOrganizationImage?

> optional removeOrganizationImage: Resolver<ResolversTypes["Organization"], ParentType, ContextType, RequireFields<MutationRemoveOrganizationImageArgs, "organizationId">>

removePost?

> optional removePost: Resolver<Maybe<ResolversTypes["Post"]>, ParentType, ContextType, RequireFields<MutationRemovePostArgs, "id">>

removeSampleOrganization?

> optional removeSampleOrganization: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>

removeUserCustomData?

> optional removeUserCustomData: Resolver<ResolversTypes["UserCustomData"], ParentType, ContextType, RequireFields<MutationRemoveUserCustomDataArgs, "organizationId">>

removeUserFamily?

> optional removeUserFamily: Resolver<ResolversTypes["UserFamily"], ParentType, ContextType, RequireFields<MutationRemoveUserFamilyArgs, "familyId">>

removeUserFromUserFamily?

> optional removeUserFromUserFamily: Resolver<ResolversTypes["UserFamily"], ParentType, ContextType, RequireFields<MutationRemoveUserFromUserFamilyArgs, "familyId" | "userId">>

removeUserImage?

> optional removeUserImage: Resolver<ResolversTypes["User"], ParentType, ContextType>

removeUserTag?

> optional removeUserTag: Resolver<Maybe<ResolversTypes["UserTag"]>, ParentType, ContextType, RequireFields<MutationRemoveUserTagArgs, "id">>

resetCommunity?

> optional resetCommunity: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>

revokeRefreshTokenForUser?

> optional revokeRefreshTokenForUser: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>

saveFcmToken?

> optional saveFcmToken: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, Partial<MutationSaveFcmTokenArgs>>

sendMembershipRequest?

> optional sendMembershipRequest: Resolver<ResolversTypes["MembershipRequest"], ParentType, ContextType, RequireFields<MutationSendMembershipRequestArgs, "organizationId">>

sendMessageToChat?

> optional sendMessageToChat: Resolver<ResolversTypes["ChatMessage"], ParentType, ContextType, RequireFields<MutationSendMessageToChatArgs, "chatId" | "messageContent">>

signUp?

> optional signUp: Resolver<ResolversTypes["AuthData"], ParentType, ContextType, RequireFields<MutationSignUpArgs, "data">>

togglePostPin?

> optional togglePostPin: Resolver<ResolversTypes["Post"], ParentType, ContextType, RequireFields<MutationTogglePostPinArgs, "id">>

unassignUserTag?

> optional unassignUserTag: Resolver<Maybe<ResolversTypes["User"]>, ParentType, ContextType, RequireFields<MutationUnassignUserTagArgs, "input">>

unblockUser?

> optional unblockUser: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationUnblockUserArgs, "organizationId" | "userId">>

unlikeComment?

> optional unlikeComment: Resolver<Maybe<ResolversTypes["Comment"]>, ParentType, ContextType, RequireFields<MutationUnlikeCommentArgs, "id">>

unlikePost?

> optional unlikePost: Resolver<Maybe<ResolversTypes["Post"]>, ParentType, ContextType, RequireFields<MutationUnlikePostArgs, "id">>

unregisterForEventByUser?

> optional unregisterForEventByUser: Resolver<ResolversTypes["Event"], ParentType, ContextType, RequireFields<MutationUnregisterForEventByUserArgs, "id">>

updateActionItem?

> optional updateActionItem: Resolver<Maybe<ResolversTypes["ActionItem"]>, ParentType, ContextType, RequireFields<MutationUpdateActionItemArgs, "data" | "id">>

updateActionItemCategory?

> optional updateActionItemCategory: Resolver<Maybe<ResolversTypes["ActionItemCategory"]>, ParentType, ContextType, RequireFields<MutationUpdateActionItemCategoryArgs, "data" | "id">>

updateAdvertisement?

> optional updateAdvertisement: Resolver<Maybe<ResolversTypes["UpdateAdvertisementPayload"]>, ParentType, ContextType, RequireFields<MutationUpdateAdvertisementArgs, "input">>

updateAgendaCategory?

> optional updateAgendaCategory: Resolver<Maybe<ResolversTypes["AgendaCategory"]>, ParentType, ContextType, RequireFields<MutationUpdateAgendaCategoryArgs, "id" | "input">>

updateAgendaItem?

> optional updateAgendaItem: Resolver<Maybe<ResolversTypes["AgendaItem"]>, ParentType, ContextType, RequireFields<MutationUpdateAgendaItemArgs, "id" | "input">>

updateAgendaSection?

> optional updateAgendaSection: Resolver<Maybe<ResolversTypes["AgendaSection"]>, ParentType, ContextType, RequireFields<MutationUpdateAgendaSectionArgs, "id" | "input">>

updateCommunity?

> optional updateCommunity: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationUpdateCommunityArgs, "data">>

updateEvent?

> optional updateEvent: Resolver<ResolversTypes["Event"], ParentType, ContextType, RequireFields<MutationUpdateEventArgs, "data" | "id">>

updateEventVolunteer?

> optional updateEventVolunteer: Resolver<ResolversTypes["EventVolunteer"], ParentType, ContextType, RequireFields<MutationUpdateEventVolunteerArgs, "id">>

updateEventVolunteerGroup?

> optional updateEventVolunteerGroup: Resolver<ResolversTypes["EventVolunteerGroup"], ParentType, ContextType, RequireFields<MutationUpdateEventVolunteerGroupArgs, "data" | "id">>

updateFund?

> optional updateFund: Resolver<ResolversTypes["Fund"], ParentType, ContextType, RequireFields<MutationUpdateFundArgs, "data" | "id">>

updateFundraisingCampaign?

> optional updateFundraisingCampaign: Resolver<ResolversTypes["FundraisingCampaign"], ParentType, ContextType, RequireFields<MutationUpdateFundraisingCampaignArgs, "data" | "id">>

updateFundraisingCampaignPledge?

> optional updateFundraisingCampaignPledge: Resolver<ResolversTypes["FundraisingCampaignPledge"], ParentType, ContextType, RequireFields<MutationUpdateFundraisingCampaignPledgeArgs, "data" | "id">>

updateLanguage?

> optional updateLanguage: Resolver<ResolversTypes["User"], ParentType, ContextType, RequireFields<MutationUpdateLanguageArgs, "languageCode">>

updateNote?

> optional updateNote: Resolver<ResolversTypes["Note"], ParentType, ContextType, RequireFields<MutationUpdateNoteArgs, "data" | "id">>

updateOrganization?

> optional updateOrganization: Resolver<ResolversTypes["Organization"], ParentType, ContextType, RequireFields<MutationUpdateOrganizationArgs, "id">>

updatePluginStatus?

> optional updatePluginStatus: Resolver<ResolversTypes["Plugin"], ParentType, ContextType, RequireFields<MutationUpdatePluginStatusArgs, "id" | "orgId">>

updatePost?

> optional updatePost: Resolver<ResolversTypes["Post"], ParentType, ContextType, RequireFields<MutationUpdatePostArgs, "id">>

updateSessionTimeout?

> optional updateSessionTimeout: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationUpdateSessionTimeoutArgs, "timeout">>

updateUserPassword?

> optional updateUserPassword: Resolver<ResolversTypes["UserData"], ParentType, ContextType, RequireFields<MutationUpdateUserPasswordArgs, "data">>

updateUserProfile?

> optional updateUserProfile: Resolver<ResolversTypes["User"], ParentType, ContextType, Partial<MutationUpdateUserProfileArgs>>

updateUserRoleInOrganization?

> optional updateUserRoleInOrganization: Resolver<ResolversTypes["Organization"], ParentType, ContextType, RequireFields<MutationUpdateUserRoleInOrganizationArgs, "organizationId" | "role" | "userId">>

updateUserTag?

> optional updateUserTag: Resolver<Maybe<ResolversTypes["UserTag"]>, ParentType, ContextType, RequireFields<MutationUpdateUserTagArgs, "input">>

updateVolunteerMembership?

> optional updateVolunteerMembership: Resolver<ResolversTypes["VolunteerMembership"], ParentType, ContextType, RequireFields<MutationUpdateVolunteerMembershipArgs, "id" | "status">>

Defined in

src/types/generatedGraphQLTypes.ts:4494