Skip to main content

NoteSchema

talawa-apiDocs


talawa-api / models/Note / NoteSchema

Variable: NoteSchema

> const NoteSchema: Schema<any, Model<any, any, any, any, any, any>, object, object, object, object, DefaultSchemaOptions, object, Document<unknown, object, FlatRecord<object>> & FlatRecord<object> & object>

Mongoose schema definition for Note documents.

Param

The content of the note.

Param

The ID of the user who created the note.

Param

Optional: The ID of the user who last updated the note.

Param

The date when the note was created.

Param

Optional: The date when the note was last updated.

Param

The ID of the agenda item associated with the note.

Defined in

src/models/Note.ts:27