2022-02-28 12:57:43 -05:00
|
|
|
import { getModelForClass as gm } from '@typegoose/typegoose';
|
|
|
|
import * as MongoDB from './mongodb';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
MongoDBModels: {
|
|
|
|
Customer: gm(MongoDB.Customer),
|
|
|
|
CustomerPortal: gm(MongoDB.CustomerPortal),
|
|
|
|
ExecutiveOrder: gm(MongoDB.ExecutiveOrder),
|
|
|
|
File: gm(MongoDB.File),
|
|
|
|
Inquiry: gm(MongoDB.Inquiry),
|
|
|
|
Judgement: gm(MongoDB.Judgement),
|
|
|
|
Member: gm(MongoDB.Member),
|
|
|
|
Merchant: gm(MongoDB.Merchant),
|
|
|
|
Moderation: gm(MongoDB.Moderation),
|
|
|
|
Motion: gm(MongoDB.Motion),
|
|
|
|
Note: gm(MongoDB.Note),
|
|
|
|
PagerNumber: gm(MongoDB.PagerNumber),
|
|
|
|
Proclamation: gm(MongoDB.Proclamation),
|
|
|
|
Promo: gm(MongoDB.Promo),
|
|
|
|
Rank: gm(MongoDB.Rank),
|
2022-02-28 16:35:29 -05:00
|
|
|
Redirect: gm(MongoDB.Redirect),
|
2022-02-28 12:57:43 -05:00
|
|
|
Resolution: gm(MongoDB.Resolution),
|
|
|
|
SAA: gm(MongoDB.SAA),
|
|
|
|
Score: gm(MongoDB.Score),
|
2022-02-28 16:28:56 -05:00
|
|
|
ScoreHistorical: gm(MongoDB.ScoreHistorical),
|
2022-02-28 12:57:43 -05:00
|
|
|
Staff: gm(MongoDB.Staff),
|
|
|
|
Stat: gm(MongoDB.Stat),
|
2022-03-01 12:37:29 -05:00
|
|
|
},
|
|
|
|
constants: {
|
|
|
|
INQUIRY_TYPE: MongoDB.InqType,
|
2022-02-28 12:57:43 -05:00
|
|
|
}
|
|
|
|
}
|