Skip to main content

talawa-api / Exports / models/AgendaSection

Module: models/AgendaSection

Table of contents

Interfaces

Variables

Variables

AgendaSectionModel

Const AgendaSectionModel: Model<InterfaceAgendaSection, {}, {}, {}, Document<unknown, {}, InterfaceAgendaSection> & InterfaceAgendaSection & Required<{ _id: ObjectId }>, any>

Defined in

src/models/AgendaSection.ts:68


AgendaSectionSchema

Const AgendaSectionSchema: Schema<any, Model<any, any, any, any, any, any>, {}, {}, {}, {}, DefaultSchemaOptions, { createdAt: Date ; createdBy: undefined | null | ObjectId ; description: string ; items: ObjectId[] ; relatedEvent: undefined | null | ObjectId ; sequence: number ; updatedAt: Date }, Document<unknown, {}, FlatRecord<{ createdAt: Date ; createdBy: undefined | null | ObjectId ; description: string ; items: ObjectId[] ; relatedEvent: undefined | null | ObjectId ; sequence: number ; updatedAt: Date }>> & FlatRecord<{ createdAt: Date ; createdBy: undefined | null | ObjectId ; description: string ; items: ObjectId[] ; relatedEvent: undefined | null | ObjectId ; sequence: number ; updatedAt: Date }> & { _id: ObjectId }>

This is the Mongoose schema for an agenda section.

Param

Reference to the event associated with the agenda section.

Param

Description of the agenda section.

Param

Array of agenda items associated with the agenda section.

Param

Sequence number of the agenda section.

Param

Reference to the user who created the agenda section.

Param

Date when the agenda section was created.

Param

Date when the agenda section was last updated.

Defined in

src/models/AgendaSection.ts:31