Skip to main content

TranslationResolvers

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / TranslationResolvers

Type Alias: TranslationResolvers<ContextType, ParentType>

> TranslationResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["Translation"] = ResolversParentTypes["Translation"]

Type declaration

__isTypeOf?

> optional __isTypeOf: IsTypeOfResolverFn<ParentType, ContextType>

en_value?

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

lang_code?

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

translation?

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

verified?

> optional verified: Resolver<Maybe<ResolversTypes["Boolean"]>, ParentType, ContextType>

Defined in

src/types/generatedGraphQLTypes.ts:4865