cloud-ide-model-schema 1.1.192 → 1.1.193

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,12 @@ var aca_academic_year = new mongoose_1.Schema({
41
41
  acayr_islocked: {
42
42
  type: Boolean,
43
43
  default: false
44
+ },
45
+ acayr_origin: {
46
+ type: String,
47
+ default: "",
48
+ maxlength: 200,
49
+ trim: true
44
50
  }
45
51
  }, { collection: 'aca_academic_year' });
46
52
  var CAcaAcademicYear = mongoose_1.default.model("aca_academic_year", aca_academic_year);
@@ -31,7 +31,7 @@ var core_ai_capability = new mongoose_1.Schema({
31
31
  default: true
32
32
  }
33
33
  }, { collection: "ai_capability", timestamps: true });
34
- core_ai_capability.index({ aicap_code: 1 }, { unique: true });
34
+ // aicap_code index is created by field option unique: true; do not add schema.index() for it
35
35
  core_ai_capability.index({ aicap_isactive: 1 });
36
36
  var CCoreAiCapability = mongoose_1.default.model("ai_capability", core_ai_capability);
37
37
  exports.CCoreAiCapability = CCoreAiCapability;
@@ -11,7 +11,7 @@ var core_system_config = new mongoose_1.Schema({
11
11
  maxlength: 25,
12
12
  unique: true,
13
13
  trim: true,
14
- enum: ['email_service', 'reset_password_link', 'route_trace_loggs', 'security_loggs']
14
+ enum: ['email_service', 'reset_password_link', 'route_trace_loggs', 'security_loggs', 'login_test_credentials']
15
15
  },
16
16
  syco_title: {
17
17
  type: String,
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript": "^5.8.3"
10
10
  },
11
11
  "name": "cloud-ide-model-schema",
12
- "version": "1.1.192",
12
+ "version": "1.1.193",
13
13
  "description": "Pachage for schema management of Cloud IDEsys LMS",
14
14
  "main": "lib/index.js",
15
15
  "types": "lib/index.d.ts",