Factor in new subscoring model

pull/29/head
Matthew 2020-09-13 23:55:45 -04:00
parent 55e9f9b390
commit 53b77eba2d
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 0 deletions

View File

@ -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,