UNPKG

cloud-ide-model-schema

Version:

Pachage for schema management of Cloud IDEsys LMS

30 lines (29 loc) 752 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CCoreSyth = void 0; var mongoose_1 = require("mongoose"); /* SCHEMA START */ var core_system_themes = new mongoose_1.Schema({ syth_theme_id: { type: String, required: true, unique: true, trim: true, }, syth_theme_name: { type: String, required: true, trim: true }, syth_is_public: { type: Boolean, default: false, required: true }, syth_properties: { type: Object, required: true } }, { collection: 'core_system_themes' }); var CCoreSyth = mongoose_1.default.model("core_system_themes", core_system_themes); exports.CCoreSyth = CCoreSyth;