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