PostResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / PostResolvers
Type Alias: PostResolvers<ContextType, ParentType>
> PostResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["Post"
] = ResolversParentTypes
["Post"
]
Type declaration
__isTypeOf?
> optional
__isTypeOf: IsTypeOfResolverFn
<ParentType
, ContextType
>
_id?
> optional
_id: Resolver
<Maybe
<ResolversTypes
["ID"
]>, ParentType
, ContextType
>
commentCount?
> optional
commentCount: Resolver
<Maybe
<ResolversTypes
["Int"
]>, ParentType
, ContextType
>
comments?
> optional
comments: Resolver
<Maybe
<Maybe
<ResolversTypes
["Comment"
]>[]>, ParentType
, ContextType
>
createdAt?
> optional
createdAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>
creator?
> optional
creator: Resolver
<Maybe
<ResolversTypes
["User"
]>, ParentType
, ContextType
>
file?
> optional
file: Resolver
<Maybe
<ResolversTypes
["File"
]>, ParentType
, ContextType
>
likeCount?
> optional
likeCount: Resolver
<Maybe
<ResolversTypes
["Int"
]>, ParentType
, ContextType
>
likedBy?
> optional
likedBy: Resolver
<Maybe
<Maybe
<ResolversTypes
["User"
]>[]>, ParentType
, ContextType
>
organization?
> optional
organization: Resolver
<ResolversTypes
["Organization"
], ParentType
, ContextType
>
pinned?
> optional
pinned: Resolver
<Maybe
<ResolversTypes
["Boolean"
]>, ParentType
, ContextType
>
text?
> optional
text: Resolver
<ResolversTypes
["String"
], ParentType
, ContextType
>
title?
> optional
title: Resolver
<Maybe
<ResolversTypes
["String"
]>, ParentType
, ContextType
>
updatedAt?
> optional
updatedAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>