Properties
_createdAt
_createdAt: Date
_createdBy
_createdBy: ObjectId
_updatedAt
_updatedAt: Date
_updatedBy
_updatedBy: ObjectId
appId
appId: null | ObjectId = null
enableAdminNotification
enableAdminNotification: boolean = false
enableUserNotification
enableUserNotification: boolean = false
filesToRemove
filesToRemove: string[] = ...
isPublic
isPublic: boolean = false
notificationAdminContentPrefix
notificationAdminContentPrefix: string
notificationAdminContentSuffix
notificationAdminContentSuffix: string
notificationAdminEmail
notificationAdminEmail: string
notificationAdminSubject
notificationAdminSubject: string
notificationAdminTemplate
notificationAdminTemplate: string
notificationType
notificationType: "email" = 'email'
notificationUserContentPrefix
notificationUserContentPrefix: string
notificationUserContentSuffix
notificationUserContentSuffix: string
notificationUserField
notificationUserField: string
notificationUserSubject
notificationUserSubject: string
notificationUserTemplate
notificationUserTemplate: string
notifyWhen
notifyWhen: "delete" | "create" | "edit" = 'create'
readingAccess
readingAccess: string = 'all'
readingRoles
readingRoles: string[] = ...
relatedToAppId
relatedToAppId: null | ObjectId = null
request
request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
response
response: Response<any, Record<string, any>>
writingAccess
writingAccess: string = 'all'
writingRoles
writingRoles: string[] = ...
Static collectionName
collectionName: string = 'data'
Compare the element that was retrieve from the database and only update keys that have been changed since