Skip to main content

creator

talawa-apiDocs


talawa-api / resolvers/EventVolunteer/creator / creator

Variable: creator

> const creator: EventVolunteerResolvers["creator"]

Resolver function for the creator field of an EventVolunteer.

This function retrieves the user who created a specific event volunteer.

Param

The parent object representing the event volunteer. It contains information about the event volunteer, including the ID of the user who created it.

See

  • User - The User model used to interact with the users collection in the database.
  • EventVolunteerResolvers - The type definition for the resolvers of the EventVolunteer fields.

Defined in

src/resolvers/EventVolunteer/creator.ts:16