MessageResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / MessageResolvers
Type Alias: MessageResolvers<ContextType, ParentType>
> MessageResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["Message"
] = ResolversParentTypes
["Message"
]
Type declaration
__isTypeOf?
> optional
__isTypeOf: IsTypeOfResolverFn
<ParentType
, ContextType
>
_id?
> optional
_id: Resolver
<ResolversTypes
["ID"
], ParentType
, ContextType
>
createdAt?
> optional
createdAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>
creator?
> optional
creator: Resolver
<Maybe
<ResolversTypes
["User"
]>, ParentType
, ContextType
>
imageUrl?
> optional
imageUrl: Resolver
<Maybe
<ResolversTypes
["URL"
]>, ParentType
, ContextType
>
text?
> optional
text: Resolver
<ResolversTypes
["String"
], ParentType
, ContextType
>
updatedAt?
> optional
updatedAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>
videoUrl?
> optional
videoUrl: Resolver
<Maybe
<ResolversTypes
["URL"
]>, ParentType
, ContextType
>