Merge branch 'dev'
commit
b2222bdffa
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue