DirectChatResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / DirectChatResolvers
Type Alias: DirectChatResolvers<ContextType, ParentType>
> DirectChatResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["DirectChat"
] = ResolversParentTypes
["DirectChat"
]
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
>
messages?
> optional
messages: Resolver
<Maybe
<Maybe
<ResolversTypes
["DirectChatMessage"
]>[]>, ParentType
, ContextType
>
organization?
> optional
organization: Resolver
<Maybe
<ResolversTypes
["Organization"
]>, ParentType
, ContextType
>
updatedAt?
> optional
updatedAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>
users?
> optional
users: Resolver
<ResolversTypes
["User"
][], ParentType
, ContextType
>