1
0
Fork 0

push updated models

refactor/models
Matthew 2020-08-28 02:41:44 -04:00
parent 079887ac8a
commit c25ca7926f
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@ export interface AccountInterface extends Document {
locked: boolean, locked: boolean,
tier: number, tier: number,
supportKey: string, supportKey: string,
referralCode: string,
totalReferrals: number,
permissions: { permissions: {
staff: boolean, staff: boolean,
technician: boolean, technician: boolean,
@ -33,6 +35,8 @@ const Account = new Schema<AccountInterface>({
locked: Boolean, locked: Boolean,
tier: Number, tier: Number,
supportKey: String, supportKey: String,
referralCode: String,
totalReferrals: Number,
permissions: { permissions: {
staff: Boolean, staff: Boolean,
technician: Boolean, technician: Boolean,