Skip to main content

talawa-api / Exports / resolvers/Organization/advertisements

Module: resolvers/Organization/advertisements

Table of contents

Variables

Functions

Variables

advertisements

Const advertisements: OrganizationResolvers["advertisements"]

Resolver function to fetch and return advertisements created in an organization from the database.

Param

An object that is the return value of the resolver for this field's parent.

Param

Arguments passed to the resolver.

Defined in

src/resolvers/Organization/advertisements.ts:24

Functions

parseCursor

parseCursor(«destructured»): ParseGraphQLConnectionCursorResult<string>

Parameters

NameType
«destructured»ParseGraphQLConnectionCursorArguments & { organizationId: string | ObjectId }

Returns

ParseGraphQLConnectionCursorResult<string>

Defined in

src/resolvers/Organization/advertisements.ts:103