Factor in new subscoring model
parent
55e9f9b390
commit
53b77eba2d
|
@ -30,6 +30,7 @@ export interface ScoreInterface extends Document {
|
||||||
cloudServices: number,
|
cloudServices: number,
|
||||||
// 0 or 20, 20 points are added if the user is a staff member
|
// 0 or 20, 20 points are added if the user is a staff member
|
||||||
staff: number,
|
staff: number,
|
||||||
|
other: number,
|
||||||
notify: boolean,
|
notify: boolean,
|
||||||
inquiries: [{ name: string, reason: string, date: Date }],
|
inquiries: [{ name: string, reason: string, date: Date }],
|
||||||
lastUpdate: Date,
|
lastUpdate: Date,
|
||||||
|
@ -43,6 +44,7 @@ const Score: Schema = new Schema({
|
||||||
moderation: Number,
|
moderation: Number,
|
||||||
cloudServices: Number,
|
cloudServices: Number,
|
||||||
staff: Number,
|
staff: Number,
|
||||||
|
other: Number,
|
||||||
notify: Boolean,
|
notify: Boolean,
|
||||||
inquiries: Array,
|
inquiries: Array,
|
||||||
lastUpdate: Date,
|
lastUpdate: Date,
|
||||||
|
|
Loading…
Reference in New Issue