SubscriptionResolvers
talawa-api • Docs
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
>