cloud-ide-model-schema 1.1.113 → 1.1.115

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.
@@ -134,14 +134,10 @@ var admission_application_main = new mongoose_1.Schema({
134
134
  trim: true
135
135
  },
136
136
  admap_city_sypin: {
137
- type: mongoose_1.default.Schema.Types.ObjectId,
138
- ref: "core_pin_code",
139
- comment: "City - Reference to core_pin_code (sypin_district)"
137
+ type: String
140
138
  },
141
139
  admap_state_sypin: {
142
- type: mongoose_1.default.Schema.Types.ObjectId,
143
- ref: "core_pin_code",
144
- comment: "State - Reference to core_pin_code (sypin_state_name)"
140
+ type: String
145
141
  },
146
142
  admap_zip_postal_code: {
147
143
  type: String,
@@ -163,14 +159,10 @@ var admission_application_main = new mongoose_1.Schema({
163
159
  trim: true
164
160
  },
165
161
  admap_correspondence_city_sypin: {
166
- type: mongoose_1.default.Schema.Types.ObjectId,
167
- ref: "core_pin_code",
168
- comment: "Correspondence city - Reference to core_pin_code (sypin_district)"
162
+ type: String
169
163
  },
170
164
  admap_correspondence_state_sypin: {
171
- type: mongoose_1.default.Schema.Types.ObjectId,
172
- ref: "core_pin_code",
173
- comment: "Correspondence state - Reference to core_pin_code (sypin_state_name)"
165
+ type: String
174
166
  },
175
167
  admap_correspondence_zip_postal_code: {
176
168
  type: String,
@@ -194,12 +186,10 @@ var admission_application_main = new mongoose_1.Schema({
194
186
  trim: true,
195
187
  comment: "Program name (e.g., Kindergarten, Grade 10, BBA, Engineering)"
196
188
  },
197
- admap_program_category: {
198
- type: String,
199
- maxlength: 100,
200
- trim: true,
201
- enum: ["School", "MBBA/BBA", "Engineering", "Other"],
202
- comment: "Category: School, MBBA/BBA, Engineering, etc."
189
+ admap_program_category_id_sygms: {
190
+ type: mongoose_1.default.Schema.Types.ObjectId,
191
+ ref: "core_general_master",
192
+ comment: "Program category - Reference to core_general_master (type code: program_category)"
203
193
  },
204
194
  admap_grade_level_applying_for_id_acacpm: {
205
195
  type: mongoose_1.default.Schema.Types.ObjectId,
@@ -962,12 +952,10 @@ var admission_application_main = new mongoose_1.Schema({
962
952
  trim: true
963
953
  },
964
954
  // SECTION 10: APPLICATION STATUS & WORKFLOW
965
- admap_application_status: {
966
- type: String,
967
- maxlength: 50,
968
- trim: true,
969
- default: "Draft",
970
- enum: ["Draft", "Submitted", "Under Review", "Interview Scheduled", "Accepted", "Waitlisted", "Rejected", "Withdrawn"]
955
+ admap_application_status_id_sygms: {
956
+ type: mongoose_1.default.Schema.Types.ObjectId,
957
+ ref: "core_general_master",
958
+ comment: "Application status - Reference to core_general_master (type code: admission_application_status)"
971
959
  },
972
960
  admap_application_submission_date: {
973
961
  type: Date,
@@ -1065,8 +1053,8 @@ var admission_application_main = new mongoose_1.Schema({
1065
1053
  admission_application_main.index({ admap_application_number: 1 });
1066
1054
  admission_application_main.index({ admap_student_id: 1 });
1067
1055
  admission_application_main.index({ admap_entity_id_syen: 1 });
1068
- admission_application_main.index({ admap_application_status: 1 });
1069
- admission_application_main.index({ admap_program_category: 1 });
1056
+ admission_application_main.index({ admap_application_status_id_sygms: 1 });
1057
+ admission_application_main.index({ admap_program_category_id_sygms: 1 });
1070
1058
  admission_application_main.index({ admap_created_date: -1 });
1071
1059
  var CAdmissionApplicationMain = mongoose_1.default.model("admission_application_main", admission_application_main);
1072
1060
  exports.CAdmissionApplicationMain = CAdmissionApplicationMain;
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "dependencies": {
3
- "cloud-ide-lms-model": "^1.0.334",
4
- "dotenv": "^16.5.0",
5
- "mongoose": "^8.15.0"
6
- },
7
- "devDependencies": {
8
- "@types/node": "^20.17.50",
9
- "typescript": "^5.8.3"
10
- },
11
- "name": "cloud-ide-model-schema",
12
- "version": "1.1.113",
13
- "description": "Pachage for schema management of Cloud IDEsys LMS",
14
- "main": "lib/index.js",
15
- "types": "lib/index.d.ts",
16
- "scripts": {
17
- "test": "echo \"Error: no test specified\" && exit 1",
18
- "build": "tsc",
19
- "prepare": "npm run build"
20
- },
21
- "keywords": [
22
- "CloudIDE",
23
- "LMS",
24
- "Schema"
25
- ],
26
- "repository": {
27
- "type": "git",
28
- "url": "https://gitlab.com/lms-schools/cloud-ide-model-schema.git"
29
- },
30
- "author": "ankush bhure",
31
- "license": "ISC",
32
- "files": [
33
- "lib/**/*"
34
- ]
35
- }
1
+ {
2
+ "dependencies": {
3
+ "cloud-ide-lms-model": "^1.0.334",
4
+ "dotenv": "^16.5.0",
5
+ "mongoose": "^8.15.0"
6
+ },
7
+ "devDependencies": {
8
+ "@types/node": "^20.17.50",
9
+ "typescript": "^5.8.3"
10
+ },
11
+ "name": "cloud-ide-model-schema",
12
+ "version": "1.1.115",
13
+ "description": "Pachage for schema management of Cloud IDEsys LMS",
14
+ "main": "lib/index.js",
15
+ "types": "lib/index.d.ts",
16
+ "scripts": {
17
+ "test": "echo \"Error: no test specified\" && exit 1",
18
+ "build": "tsc",
19
+ "prepare": "npm run build"
20
+ },
21
+ "keywords": [
22
+ "CloudIDE",
23
+ "LMS",
24
+ "Schema"
25
+ ],
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://gitlab.com/lms-schools/cloud-ide-model-schema.git"
29
+ },
30
+ "author": "ankush bhure",
31
+ "license": "ISC",
32
+ "files": [
33
+ "lib/**/*"
34
+ ]
35
+ }