ChatResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / ChatResolvers
Type Alias: ChatResolvers<ContextType, ParentType>
> ChatResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["Chat"
] = ResolversParentTypes
["Chat"
]
Type declaration
__isTypeOf?
> optional
__isTypeOf: IsTypeOfResolverFn
<ParentType
, ContextType
>
_id?
> optional
_id: Resolver
<ResolversTypes
["ID"
], ParentType
, ContextType
>
admins?
> optional
admins: Resolver
<Maybe
<Maybe
<ResolversTypes
["User"
]>[]>, ParentType
, ContextType
>
createdAt?
> optional
createdAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>
creator?
> optional
creator: Resolver
<Maybe
<ResolversTypes
["User"
]>, ParentType
, ContextType
>
image?
> optional
image: Resolver
<Maybe
<ResolversTypes
["String"
]>, ParentType
, ContextType
>
isGroup?
> optional
isGroup: Resolver
<ResolversTypes
["Boolean"
], ParentType
, ContextType
>
lastMessageId?
> optional
lastMessageId: Resolver
<Maybe
<ResolversTypes
["String"
]>, ParentType
, ContextType
>
messages?
> optional
messages: Resolver
<Maybe
<Maybe
<ResolversTypes
["ChatMessage"
]>[]>, ParentType
, ContextType
>
name?
> optional
name: Resolver
<Maybe
<ResolversTypes
["String"
]>, 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
>