Merge branch 'dev'

pull/29/head
Matthew 2020-08-23 23:27:44 -04:00
commit b2222bdffa
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ export interface PagerNumberRaw {
individualAssignID: string, individualAssignID: string,
emailAddresses: string[], emailAddresses: string[],
discordIDs: string[], discordIDs: string[],
receiveEmail: boolean,
} }
export interface PagerNumberInterface extends Document { export interface PagerNumberInterface extends Document {
@ -14,6 +15,7 @@ export interface PagerNumberInterface extends Document {
individualAssignID: string, individualAssignID: string,
emailAddresses: string[], emailAddresses: string[],
discordIDs: string[], discordIDs: string[],
receiveEmail: boolean,
} }
const PagerNumber: Schema = new Schema({ const PagerNumber: Schema = new Schema({
@ -21,6 +23,7 @@ const PagerNumber: Schema = new Schema({
individualAssignID: String, individualAssignID: String,
emailAddresses: Array, emailAddresses: Array,
discordIDs: Array, discordIDs: Array,
receiveEmail: Boolean,
}); });
export default model<PagerNumberInterface>('PagerNumber', PagerNumber); export default model<PagerNumberInterface>('PagerNumber', PagerNumber);