Skip to main content

users

talawa-api


talawa-api / resolvers/AgendaItem/Users / users

Variable: users

> const users: AgendaItemResolvers["users"]

Resolver function for the users field of an AgendaItem.

This function retrieves the users associated with a specific agenda item.

Param

The parent object representing the agenda item. It contains information about the agenda item, including the IDs of the users associated with it.

Returns

A promise that resolves to the user documents found in the database. These documents represent the users associated with the agenda item.

See

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

Defined in

src/resolvers/AgendaItem/Users.ts:16