Skip to main content

CommentResolvers

talawa-api


talawa-api / types/generatedGraphQLTypes / CommentResolvers

Type Alias: CommentResolvers<ContextType, ParentType>

> CommentResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["Comment"] = ResolversParentTypes["Comment"]

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>

likeCount?

> optional likeCount: Resolver<Maybe<ResolversTypes["Int"]>, ParentType, ContextType>

likedBy?

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

post?

> optional post: Resolver<ResolversTypes["Post"], ParentType, ContextType>

text?

> optional text: Resolver<ResolversTypes["String"], ParentType, ContextType>

updatedAt?

> optional updatedAt: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>

Defined in

src/types/generatedGraphQLTypes.ts:4096