cloud-ide-model-schema
Version:
Pachage for schema management of Cloud IDEsys LMS
24 lines (23 loc) • 804 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CCoreSyoth = void 0;
var mongoose_1 = require("mongoose");
/* SCHEMA START */
var core_system_organization_themes = new mongoose_1.Schema({
syoth_entity_id_syen: {
type: mongoose_1.default.Schema.Types.ObjectId,
ref: 'core_system_entity',
required: true,
},
syoth_system_theme_id_syth: {
type: mongoose_1.default.Schema.Types.ObjectId,
ref: 'core_system_themes',
required: true,
},
syoth_overrides: {
type: Object,
required: true
}
}, { collection: 'core_system_organization_themes' });
var CCoreSyoth = mongoose_1.default.model("core_system_organization_themes", core_system_organization_themes);
exports.CCoreSyoth = CCoreSyoth;