Skip to main content

SubscriptionResolvers

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / SubscriptionResolvers

Type Alias: SubscriptionResolvers<ContextType, ParentType>

> SubscriptionResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["Subscription"] = ResolversParentTypes["Subscription"]

Type declaration

messageSentToChat?

> optional messageSentToChat: SubscriptionResolver<Maybe<ResolversTypes["ChatMessage"]>, "messageSentToChat", ParentType, ContextType, RequireFields<SubscriptionMessageSentToChatArgs, "userId">>

onPluginUpdate?

> optional onPluginUpdate: SubscriptionResolver<Maybe<ResolversTypes["Plugin"]>, "onPluginUpdate", ParentType, ContextType>

Defined in

src/types/generatedGraphQLTypes.ts:4856