cloud-ide-model-schema 1.1.153 → 1.1.154

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.
@@ -20,9 +20,12 @@ var aca_class_program_master = new mongoose_1.Schema({
20
20
  ref: "aca_academic_year"
21
21
  },
22
22
  acacpm_entity_id_syen: {
23
- type: mongoose_1.default.Schema.Types.ObjectId,
24
23
  ref: "core_system_entity"
25
24
  },
25
+ acacpm_education_board_id_edbrd: {
26
+ type: mongoose_1.default.Schema.Types.ObjectId,
27
+ ref: "academics_education_board"
28
+ },
26
29
  acacpm_isactive: {
27
30
  type: Boolean,
28
31
  default: true
@@ -75,6 +75,23 @@ var core_education_board = new mongoose_1.Schema({
75
75
  trim: true,
76
76
  comment: "Board address"
77
77
  },
78
+ edbrd_pin_sypin: {
79
+ type: mongoose_1.default.Schema.Types.ObjectId,
80
+ ref: "core_pin_code",
81
+ comment: "PIN ID - Auto-populated from PIN search"
82
+ },
83
+ edbrd_city_sypin: {
84
+ type: String,
85
+ maxlength: 100,
86
+ trim: true,
87
+ comment: "City - Auto-populated from PIN"
88
+ },
89
+ edbrd_state_sypin: {
90
+ type: String,
91
+ maxlength: 100,
92
+ trim: true,
93
+ comment: "State - Auto-populated from PIN"
94
+ },
78
95
  edbrd_udise_format: {
79
96
  type: String,
80
97
  maxlength: 50,
@@ -126,6 +143,7 @@ var core_education_board = new mongoose_1.Schema({
126
143
  core_education_board.index({ edbrd_type_sygms: 1 });
127
144
  core_education_board.index({ edbrd_category_sygms: 1 });
128
145
  core_education_board.index({ edbrd_state: 1 });
146
+ core_education_board.index({ edbrd_pin_sypin: 1 });
129
147
  core_education_board.index({ edbrd_isactive: 1 });
130
148
  var CCoreEducationBoard = mongoose_1.default.model("core_education_board", core_education_board);
131
149
  exports.CCoreEducationBoard = CCoreEducationBoard;
@@ -41,11 +41,10 @@ var core_school_board_affiliation = new mongoose_1.Schema({
41
41
  required: true,
42
42
  comment: "Affiliation status (Active, Expired, Suspended, Pending, Revoked) - Reference to core_general_master with type 'BOARD_AFFILIATION_STATUS'"
43
43
  },
44
- scbaf_affiliation_levels: {
45
- type: [String],
46
- default: [],
47
- comment: "Affiliated levels (e.g., ['Primary', 'Secondary', 'Higher Secondary'])"
48
- },
44
+ scbaf_affiliation_level_multi_sygms: [{
45
+ type: mongoose_1.default.Schema.Types.ObjectId,
46
+ ref: "core_general_master"
47
+ }],
49
48
  scbaf_affiliation_subjects: {
50
49
  type: [String],
51
50
  default: [],
@@ -164,7 +164,6 @@ var core_system_entity = new mongoose_1.Schema({
164
164
  comment: "General affiliation number - Note: Board-specific affiliations are managed in core_school_board_affiliation detail table"
165
165
  },
166
166
  syen_photo_id_cyfm: {
167
- type: mongoose_1.default.Schema.Types.ObjectId,
168
167
  ref: "auth_user_mst"
169
168
  },
170
169
  syen_isactive: {
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.153",
12
+ "version": "1.1.154",
13
13
  "description": "Pachage for schema management of Cloud IDEsys LMS",
14
14
  "main": "lib/index.js",
15
15
  "types": "lib/index.d.ts",