talawa-api / Exports / models/AgendaCategory
Module: models/AgendaCategory
Table of contents
Interfaces
Variables
Variables
AgendaCategoryModel
• Const
AgendaCategoryModel: Model
<InterfaceAgendaCategory
, {}, {}, {}, Document
<unknown
, {}, InterfaceAgendaCategory
> & InterfaceAgendaCategory
& Required
<{ _id
: ObjectId
}>, any
>
Defined in
src/models/AgendaCategory.ts:65
AgendaCategorySchema
• Const
AgendaCategorySchema: Schema
<any
, Model
<any
, any
, any
, any
, any
, any
>, {}, {}, {}, {}, DefaultSchemaOptions
, { createdAt
: Date
; createdBy
: ObjectId
; description
: undefined
| null
| string
; name
: string
; organizationId
: undefined
| null
| ObjectId
; updatedAt
: Date
; updatedBy
: undefined
| null
| ObjectId
}, Document
<unknown
, {}, FlatRecord
<{ createdAt
: Date
; createdBy
: ObjectId
; description
: undefined
| null
| string
; name
: string
; organizationId
: undefined
| null
| ObjectId
; updatedAt
: Date
; updatedBy
: undefined
| null
| ObjectId
}>> & FlatRecord
<{ createdAt
: Date
; createdBy
: ObjectId
; description
: undefined
| null
| string
; name
: string
; organizationId
: undefined
| null
| ObjectId
; updatedAt
: Date
; updatedBy
: undefined
| null
| ObjectId
}> & { _id
: ObjectId
}>
This is the Mongoose schema for an agenda category (test-change).
Param
Name of the agenda category.
Param
Optional description of the agenda category.
Param
Reference to the organization associated with the agenda category.
Param
Reference to the user who created the agenda category.
Param
Reference to the user who last updated the agenda category.
Param
Date when the agenda category was created.
Param
Date when the agenda category was last updated.