cr-database/index.ts

30 lines
929 B
TypeScript
Raw Normal View History

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),
Redirect: gm(MongoDB.Resolution),
Resolution: gm(MongoDB.Resolution),
SAA: gm(MongoDB.SAA),
Score: gm(MongoDB.Score),
ScoreHistorial: gm(MongoDB.ScoreHistorical),
Staff: gm(MongoDB.Staff),
Stat: gm(MongoDB.Stat),
}
}