Properties
_createdAt
_createdAt: Date
_createdBy
_createdBy: ObjectId
_updatedAt
_updatedAt: Date
_updatedBy
_updatedBy: ObjectId
appId
appId: null | ObjectId = null
emailValidated
emailValidated: boolean = false
filesToRemove
filesToRemove: string[] = ...
firstname
firstname: string = ''
hashUpdateDate
hashUpdateDate: Date = ...
hideOnboarding
hideOnboarding: boolean = false
lastname
lastname: string = ''
mobile
mobile: string = ''
mobileValidated
mobileValidated: boolean = false
request
request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
requireDoubleAuth
requireDoubleAuth: boolean = false
response
response: Response<any, Record<string, any>>
roles
roles: string[] = ...
Static collectionName
collectionName: string = 'data'
Compare the element that was retrieve from the database and only update keys that have been changed since