Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{ name: 'Menu', schema: schemas_1.MenuSchema },
{ name: 'Role', schema: schemas_1.RoleSchema },
{ name: 'Setting', schema: schemas_1.SettingSchema },
{ name: 'User', schema: schemas_1.UserSchema },
{ name: 'Notice', schema: schemas_1.NoticeSchema },
{ name: 'VeryCode', schema: schemas_1.VeryCodeSchema },
{ name: 'Group', schema: schemas_1.GroupSchema },
{ name: 'Profile', schema: schemas_1.ProfileSchema },
{ name: 'Appearance', schema: schemas_1.AppearanceSchema },
];
let CoreModule = class CoreModule {
};
CoreModule = __decorate([
common_1.Module({
imports: [
mongoose_1.MongooseModule.forFeature(models),
],
controllers: [...controllers_1.CoreControllers],
providers: [...controllers_1.CoreServices],
exports: [...controllers_1.CoreServices]
})
], CoreModule);
exports.CoreModule = CoreModule;
//# sourceMappingURL=core.module.js.map
const widget_schema_1 = require("./schemas/widget.schema");
const models = [
{ name: 'Article', schema: schemas_1.ArticleSchema },
{ name: 'Category', schema: schemas_1.CategorySchema },
{ name: 'Comment', schema: schemas_1.CommentSchema },
{ name: 'Media', schema: schemas_1.MediaSchema },
{ name: 'Page', schema: schemas_1.PageSchema },
{ name: 'Photo', schema: schemas_1.PhotoSchema },
{ name: 'Widget', schema: widget_schema_1.WidgetSchema },
];
let CmsModule = class CmsModule {
};
CmsModule = __decorate([
common_1.Module({
imports: [
mongoose_1.MongooseModule.forFeature(models),
],
controllers: [...controllers_1.CmsControllers],
providers: [...controllers_1.CmsServices],
})
], CmsModule);
exports.CmsModule = CmsModule;
//# sourceMappingURL=cms.module.js.map