Skip to main content

event

talawa-apiDocs


talawa-api / resolvers/EventVolunteerGroup/event / event

Variable: event

> const event: EventVolunteerGroupResolvers["event"]

Resolver function for the event field of an EventVolunteerGroup.

This function retrieves the event associated with a specific event volunteer group.

Param

The parent object representing the event volunteer group. It contains information about the event volunteer group, including the ID of the event associated with it.

See

  • Event - The Event model used to interact with the events collection in the database.
  • EventVolunteerGroupResolvers - The type definition for the resolvers of the EventVolunteerGroup fields.

Defined in

src/resolvers/EventVolunteerGroup/event.ts:16