Skip to main content

AdvertisementResolvers

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / AdvertisementResolvers

Type Alias: AdvertisementResolvers<ContextType, ParentType>

> AdvertisementResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["Advertisement"] = ResolversParentTypes["Advertisement"]

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>

endDate?

> optional endDate: Resolver<ResolversTypes["Date"], ParentType, ContextType>

mediaUrl?

> optional mediaUrl: Resolver<ResolversTypes["URL"], ParentType, ContextType>

name?

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

organization?

> optional organization: Resolver<Maybe<ResolversTypes["Organization"]>, ParentType, ContextType>

startDate?

> optional startDate: Resolver<ResolversTypes["Date"], ParentType, ContextType>

type?

> optional type: Resolver<ResolversTypes["AdvertisementType"], ParentType, ContextType>

updatedAt?

> optional updatedAt: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>

Defined in

src/types/generatedGraphQLTypes.ts:3933