Skip to main content

AgendaSectionSchema

talawa-api


talawa-api / models/AgendaSection / AgendaSectionSchema

Variable: AgendaSectionSchema

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

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:32