forgot to push models
parent
83fe9d658d
commit
a4911482e5
|
@ -6,6 +6,7 @@ export interface PagerNumberRaw {
|
|||
individualAssignID: string,
|
||||
emailAddresses: string[],
|
||||
discordIDs: string[],
|
||||
receiveEmail: boolean,
|
||||
}
|
||||
|
||||
export interface PagerNumberInterface extends Document {
|
||||
|
@ -14,6 +15,7 @@ export interface PagerNumberInterface extends Document {
|
|||
individualAssignID: string,
|
||||
emailAddresses: string[],
|
||||
discordIDs: string[],
|
||||
receiveEmail: boolean,
|
||||
}
|
||||
|
||||
const PagerNumber: Schema = new Schema({
|
||||
|
@ -21,6 +23,7 @@ const PagerNumber: Schema = new Schema({
|
|||
individualAssignID: String,
|
||||
emailAddresses: Array,
|
||||
discordIDs: Array,
|
||||
receiveEmail: Boolean,
|
||||
});
|
||||
|
||||
export default model<PagerNumberInterface>('PagerNumber', PagerNumber);
|
||||
|
|
Loading…
Reference in New Issue