forked from engineering/cloudservices
push updated models
parent
079887ac8a
commit
c25ca7926f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue