Properties
_createdAt
_createdAt: Date
_createdBy
_createdBy: ObjectId
_updatedAt
_updatedAt: Date
_updatedBy
_updatedBy: ObjectId
accentColor
accentColor: string = ''
accentDarkColor
accentDarkColor: string = ''
accentDarkForegroundColor
accentDarkForegroundColor: string = ''
accentForegroundColor
accentForegroundColor: string = ''
accentLightColor
accentLightColor: string = ''
accentLightForegroundColor
accentLightForegroundColor: string = ''
adminShopRoles
adminShopRoles: string[] = ...
adminThreeRoles
adminThreeRoles: string[] = ...
adminUserRoles
adminUserRoles: string[] = ...
appId
appId: null | ObjectId = null
availableRoles
availableRoles: string[] = ...
createAccountRoles
createAccountRoles: string[] = ...
createAccountValidation
createAccountValidation: "emailOrMobile" | "emailAndMobile" | "emailOnly" | "mobileOnly" | "none" = 'emailOrMobile'
defaultLocale
defaultLocale: string = 'fr'
description
description: string = ''
doubleAuthMethod
doubleAuthMethod: string = 'auto'
enableMultipleShops
enableMultipleShops: boolean = false
enableShop
enableShop: boolean = false
enableThree
enableThree: boolean = false
filesToRemove
filesToRemove: string[] = ...
locales
locales: string[] = ...
openUserRegistration
openUserRegistration: boolean = true
primaryColor
primaryColor: string = ''
primaryDarkColor
primaryDarkColor: string = ''
primaryDarkForegroundColor
primaryDarkForegroundColor: string = ''
primaryForegroundColor
primaryForegroundColor: string = ''
primaryLightColor
primaryLightColor: string = ''
primaryLightForegroundColor
primaryLightForegroundColor: string = ''
pushApnCert
pushApnCert: string = ''
pushApnKey
pushApnKey: string = ''
pushApnPass
pushApnPass: string = ''
pushApnProduction
pushApnProduction: boolean = false
pushEnabled
pushEnabled: boolean = false
pushGmId
pushGmId: string = ''
pushTopic
pushTopic: string = ''
request
request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
requireDoubleAuth
requireDoubleAuth: boolean = false
response
response: Response<any, Record<string, any>>
smtpConfigFromEmail
smtpConfigFromEmail: string = ''
smtpConfigFromName
smtpConfigFromName: string = ''
smtpConfigHost
smtpConfigHost: string = ''
smtpConfigPassword
smtpConfigPassword: string = ''
smtpConfigPort
smtpConfigPort: number = 587
smtpConfigSecure
smtpConfigSecure: boolean = false
smtpConfigUser
smtpConfigUser: string = ''
Static collectionName
collectionName: string = 'data'
Compare the element that was retrieve from the database and only update keys that have been changed since