AuthDataResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / AuthDataResolvers
Type Alias: AuthDataResolvers<ContextType, ParentType>
> AuthDataResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["AuthData"
] = ResolversParentTypes
["AuthData"
]
Type declaration
__isTypeOf?
> optional
__isTypeOf: IsTypeOfResolverFn
<ParentType
, ContextType
>
accessToken?
> optional
accessToken: Resolver
<ResolversTypes
["String"
], ParentType
, ContextType
>
appUserProfile?
> optional
appUserProfile: Resolver
<ResolversTypes
["AppUserProfile"
], ParentType
, ContextType
>
refreshToken?
> optional
refreshToken: Resolver
<ResolversTypes
["String"
], ParentType
, ContextType
>
user?
> optional
user: Resolver
<ResolversTypes
["User"
], ParentType
, ContextType
>