add tier to Account model and interface
parent
2955aec793
commit
fbe5037630
|
@ -8,12 +8,11 @@ export interface AccountInterface extends Document {
|
||||||
createdBy: string,
|
createdBy: string,
|
||||||
createdAt: Date,
|
createdAt: Date,
|
||||||
locked: boolean,
|
locked: boolean,
|
||||||
|
tier: number;
|
||||||
permissions: {
|
permissions: {
|
||||||
support: boolean,
|
associate: boolean,
|
||||||
staff: boolean,
|
sheriff: boolean,
|
||||||
supervisor: boolean,
|
facultyMarshal: boolean,
|
||||||
communityManager: boolean,
|
|
||||||
engineer: boolean
|
|
||||||
},
|
},
|
||||||
root: boolean,
|
root: boolean,
|
||||||
hash: boolean,
|
hash: boolean,
|
||||||
|
@ -29,12 +28,11 @@ const Account: Schema = new Schema({
|
||||||
createdBy: String,
|
createdBy: String,
|
||||||
createdAt: Date,
|
createdAt: Date,
|
||||||
locked: Boolean,
|
locked: Boolean,
|
||||||
|
tier: Number,
|
||||||
permissions: {
|
permissions: {
|
||||||
support: Boolean,
|
associate: Boolean,
|
||||||
staff: Boolean,
|
sheriff: Boolean,
|
||||||
supervisor: Boolean,
|
facultyMarshal: Boolean,
|
||||||
communityManager: Boolean,
|
|
||||||
engineer: Boolean,
|
|
||||||
},
|
},
|
||||||
root: Boolean,
|
root: Boolean,
|
||||||
hash: Boolean,
|
hash: Boolean,
|
||||||
|
|
Loading…
Reference in New Issue