@taiger-common/model 1.0.31 → 1.0.33
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.
- package/dist/cjs/model/Program.js +18 -72
- package/dist/esm/model/Program.js +18 -72
- package/dist/types/model/Program.d.ts +33 -0
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -7,78 +7,6 @@ var ObjectId = mongoose_1.Schema.Types.ObjectId;
|
|
|
7
7
|
var SCHOOL_TAG_KEYS = Object.keys(core_1.SCHOOL_TAGS);
|
|
8
8
|
exports.PROGRAM_SUBJECT_KEYS = Object.keys(core_1.PROGRAM_SUBJECTS);
|
|
9
9
|
exports.DIFFICULTY_KEYS = Object.keys(core_1.DIFFICULTY);
|
|
10
|
-
// export type ProgramModule = {
|
|
11
|
-
// [key: string]: any; // Allows dynamic key access
|
|
12
|
-
// } & {
|
|
13
|
-
// isArchiv: boolean;
|
|
14
|
-
// school: string;
|
|
15
|
-
// program_name: string;
|
|
16
|
-
// programSubjects: string[];
|
|
17
|
-
// degree?: string;
|
|
18
|
-
// semester?: string;
|
|
19
|
-
// lang?: string;
|
|
20
|
-
// gpa_requirement?: string;
|
|
21
|
-
// allowOnlyGraduatedApplicant?: boolean;
|
|
22
|
-
// application_start?: string;
|
|
23
|
-
// application_deadline?: string;
|
|
24
|
-
// uni_assist?: string;
|
|
25
|
-
// englishTestHandLater?: boolean;
|
|
26
|
-
// toefl?: string;
|
|
27
|
-
// toefl_reading?: number;
|
|
28
|
-
// toefl_listening?: number;
|
|
29
|
-
// toefl_writing?: number;
|
|
30
|
-
// toefl_speaking?: number;
|
|
31
|
-
// ielts?: string;
|
|
32
|
-
// ielts_reading?: number;
|
|
33
|
-
// ielts_listening?: number;
|
|
34
|
-
// ielts_writing?: number;
|
|
35
|
-
// ielts_speaking?: number;
|
|
36
|
-
// germanTestHandLater?: boolean;
|
|
37
|
-
// testdaf?: string;
|
|
38
|
-
// basic_german_requirement?: string;
|
|
39
|
-
// gre?: string;
|
|
40
|
-
// gre_verbal?: number;
|
|
41
|
-
// gre_quantitative?: number;
|
|
42
|
-
// gre_analytical_writing?: number;
|
|
43
|
-
// gmat?: string;
|
|
44
|
-
// ml_required?: string;
|
|
45
|
-
// ml_requirements?: string;
|
|
46
|
-
// rl_required?: string;
|
|
47
|
-
// rl_requirements?: string;
|
|
48
|
-
// is_rl_specific?: boolean;
|
|
49
|
-
// essay_required?: string;
|
|
50
|
-
// essay_requirements?: string;
|
|
51
|
-
// portfolio_required?: string;
|
|
52
|
-
// portfolio_requirements?: string;
|
|
53
|
-
// supplementary_form_required?: string;
|
|
54
|
-
// supplementary_form_requirements?: string;
|
|
55
|
-
// curriculum_analysis_required?: string;
|
|
56
|
-
// curriculum_analysis_requirements?: string;
|
|
57
|
-
// scholarship_form_required?: string;
|
|
58
|
-
// scholarship_form_requirements?: string;
|
|
59
|
-
// module_description_required?: string;
|
|
60
|
-
// ects_requirements?: string;
|
|
61
|
-
// special_notes?: string;
|
|
62
|
-
// comments?: string;
|
|
63
|
-
// application_portal_a?: string;
|
|
64
|
-
// application_portal_b?: string;
|
|
65
|
-
// application_portal_a_instructions?: string;
|
|
66
|
-
// application_portal_b_instructions?: string;
|
|
67
|
-
// uni_assist_link?: string;
|
|
68
|
-
// website?: string;
|
|
69
|
-
// fpso?: string;
|
|
70
|
-
// updatedAt?: Date;
|
|
71
|
-
// whoupdated?: string;
|
|
72
|
-
// tuition_fees?: string;
|
|
73
|
-
// contact?: string;
|
|
74
|
-
// country?: string;
|
|
75
|
-
// isPrivateSchool?: boolean;
|
|
76
|
-
// isPartnerSchool?: boolean;
|
|
77
|
-
// schoolType?: string;
|
|
78
|
-
// tags?: string[];
|
|
79
|
-
// url?: string;
|
|
80
|
-
// vcId?: ObjectId;
|
|
81
|
-
// };
|
|
82
10
|
exports.programModule = {
|
|
83
11
|
isArchiv: Boolean,
|
|
84
12
|
school: {
|
|
@@ -187,6 +115,12 @@ exports.programModule = {
|
|
|
187
115
|
ml_requirements: {
|
|
188
116
|
type: String
|
|
189
117
|
},
|
|
118
|
+
sop_required: {
|
|
119
|
+
type: String
|
|
120
|
+
},
|
|
121
|
+
sop_requirements: {
|
|
122
|
+
type: String
|
|
123
|
+
},
|
|
190
124
|
rl_required: {
|
|
191
125
|
type: String
|
|
192
126
|
},
|
|
@@ -273,6 +207,10 @@ exports.programModule = {
|
|
|
273
207
|
contact: {
|
|
274
208
|
type: String
|
|
275
209
|
},
|
|
210
|
+
city: {
|
|
211
|
+
type: String,
|
|
212
|
+
default: ''
|
|
213
|
+
},
|
|
276
214
|
country: {
|
|
277
215
|
type: String
|
|
278
216
|
},
|
|
@@ -297,6 +235,14 @@ exports.programModule = {
|
|
|
297
235
|
}
|
|
298
236
|
],
|
|
299
237
|
url: String,
|
|
238
|
+
isNC: {
|
|
239
|
+
type: Boolean,
|
|
240
|
+
default: false
|
|
241
|
+
},
|
|
242
|
+
zipCode: {
|
|
243
|
+
type: String,
|
|
244
|
+
default: ''
|
|
245
|
+
},
|
|
300
246
|
vcId: ObjectId
|
|
301
247
|
};
|
|
302
248
|
exports.programSchema = new mongoose_1.Schema(exports.programModule, { timestamps: true });
|
|
@@ -4,78 +4,6 @@ var ObjectId = Schema.Types.ObjectId;
|
|
|
4
4
|
var SCHOOL_TAG_KEYS = Object.keys(SCHOOL_TAGS);
|
|
5
5
|
export var PROGRAM_SUBJECT_KEYS = Object.keys(PROGRAM_SUBJECTS);
|
|
6
6
|
export var DIFFICULTY_KEYS = Object.keys(DIFFICULTY);
|
|
7
|
-
// export type ProgramModule = {
|
|
8
|
-
// [key: string]: any; // Allows dynamic key access
|
|
9
|
-
// } & {
|
|
10
|
-
// isArchiv: boolean;
|
|
11
|
-
// school: string;
|
|
12
|
-
// program_name: string;
|
|
13
|
-
// programSubjects: string[];
|
|
14
|
-
// degree?: string;
|
|
15
|
-
// semester?: string;
|
|
16
|
-
// lang?: string;
|
|
17
|
-
// gpa_requirement?: string;
|
|
18
|
-
// allowOnlyGraduatedApplicant?: boolean;
|
|
19
|
-
// application_start?: string;
|
|
20
|
-
// application_deadline?: string;
|
|
21
|
-
// uni_assist?: string;
|
|
22
|
-
// englishTestHandLater?: boolean;
|
|
23
|
-
// toefl?: string;
|
|
24
|
-
// toefl_reading?: number;
|
|
25
|
-
// toefl_listening?: number;
|
|
26
|
-
// toefl_writing?: number;
|
|
27
|
-
// toefl_speaking?: number;
|
|
28
|
-
// ielts?: string;
|
|
29
|
-
// ielts_reading?: number;
|
|
30
|
-
// ielts_listening?: number;
|
|
31
|
-
// ielts_writing?: number;
|
|
32
|
-
// ielts_speaking?: number;
|
|
33
|
-
// germanTestHandLater?: boolean;
|
|
34
|
-
// testdaf?: string;
|
|
35
|
-
// basic_german_requirement?: string;
|
|
36
|
-
// gre?: string;
|
|
37
|
-
// gre_verbal?: number;
|
|
38
|
-
// gre_quantitative?: number;
|
|
39
|
-
// gre_analytical_writing?: number;
|
|
40
|
-
// gmat?: string;
|
|
41
|
-
// ml_required?: string;
|
|
42
|
-
// ml_requirements?: string;
|
|
43
|
-
// rl_required?: string;
|
|
44
|
-
// rl_requirements?: string;
|
|
45
|
-
// is_rl_specific?: boolean;
|
|
46
|
-
// essay_required?: string;
|
|
47
|
-
// essay_requirements?: string;
|
|
48
|
-
// portfolio_required?: string;
|
|
49
|
-
// portfolio_requirements?: string;
|
|
50
|
-
// supplementary_form_required?: string;
|
|
51
|
-
// supplementary_form_requirements?: string;
|
|
52
|
-
// curriculum_analysis_required?: string;
|
|
53
|
-
// curriculum_analysis_requirements?: string;
|
|
54
|
-
// scholarship_form_required?: string;
|
|
55
|
-
// scholarship_form_requirements?: string;
|
|
56
|
-
// module_description_required?: string;
|
|
57
|
-
// ects_requirements?: string;
|
|
58
|
-
// special_notes?: string;
|
|
59
|
-
// comments?: string;
|
|
60
|
-
// application_portal_a?: string;
|
|
61
|
-
// application_portal_b?: string;
|
|
62
|
-
// application_portal_a_instructions?: string;
|
|
63
|
-
// application_portal_b_instructions?: string;
|
|
64
|
-
// uni_assist_link?: string;
|
|
65
|
-
// website?: string;
|
|
66
|
-
// fpso?: string;
|
|
67
|
-
// updatedAt?: Date;
|
|
68
|
-
// whoupdated?: string;
|
|
69
|
-
// tuition_fees?: string;
|
|
70
|
-
// contact?: string;
|
|
71
|
-
// country?: string;
|
|
72
|
-
// isPrivateSchool?: boolean;
|
|
73
|
-
// isPartnerSchool?: boolean;
|
|
74
|
-
// schoolType?: string;
|
|
75
|
-
// tags?: string[];
|
|
76
|
-
// url?: string;
|
|
77
|
-
// vcId?: ObjectId;
|
|
78
|
-
// };
|
|
79
7
|
export var programModule = {
|
|
80
8
|
isArchiv: Boolean,
|
|
81
9
|
school: {
|
|
@@ -184,6 +112,12 @@ export var programModule = {
|
|
|
184
112
|
ml_requirements: {
|
|
185
113
|
type: String
|
|
186
114
|
},
|
|
115
|
+
sop_required: {
|
|
116
|
+
type: String
|
|
117
|
+
},
|
|
118
|
+
sop_requirements: {
|
|
119
|
+
type: String
|
|
120
|
+
},
|
|
187
121
|
rl_required: {
|
|
188
122
|
type: String
|
|
189
123
|
},
|
|
@@ -270,6 +204,10 @@ export var programModule = {
|
|
|
270
204
|
contact: {
|
|
271
205
|
type: String
|
|
272
206
|
},
|
|
207
|
+
city: {
|
|
208
|
+
type: String,
|
|
209
|
+
default: ''
|
|
210
|
+
},
|
|
273
211
|
country: {
|
|
274
212
|
type: String
|
|
275
213
|
},
|
|
@@ -294,6 +232,14 @@ export var programModule = {
|
|
|
294
232
|
}
|
|
295
233
|
],
|
|
296
234
|
url: String,
|
|
235
|
+
isNC: {
|
|
236
|
+
type: Boolean,
|
|
237
|
+
default: false
|
|
238
|
+
},
|
|
239
|
+
zipCode: {
|
|
240
|
+
type: String,
|
|
241
|
+
default: ''
|
|
242
|
+
},
|
|
297
243
|
vcId: ObjectId
|
|
298
244
|
};
|
|
299
245
|
export var programSchema = new Schema(programModule, { timestamps: true });
|
|
@@ -130,6 +130,12 @@ export declare const programModule: {
|
|
|
130
130
|
ml_requirements: {
|
|
131
131
|
type: StringConstructor;
|
|
132
132
|
};
|
|
133
|
+
sop_required: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
};
|
|
136
|
+
sop_requirements: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
};
|
|
133
139
|
rl_required: {
|
|
134
140
|
type: StringConstructor;
|
|
135
141
|
};
|
|
@@ -216,6 +222,10 @@ export declare const programModule: {
|
|
|
216
222
|
contact: {
|
|
217
223
|
type: StringConstructor;
|
|
218
224
|
};
|
|
225
|
+
city: {
|
|
226
|
+
type: StringConstructor;
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
219
229
|
country: {
|
|
220
230
|
type: StringConstructor;
|
|
221
231
|
};
|
|
@@ -238,6 +248,14 @@ export declare const programModule: {
|
|
|
238
248
|
enum: string[];
|
|
239
249
|
}[];
|
|
240
250
|
url: StringConstructor;
|
|
251
|
+
isNC: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
zipCode: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
241
259
|
vcId: typeof Schema.Types.ObjectId;
|
|
242
260
|
};
|
|
243
261
|
export declare const programSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -253,7 +271,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
253
271
|
allowOnlyGraduatedApplicant: boolean;
|
|
254
272
|
englishTestHandLater: boolean;
|
|
255
273
|
germanTestHandLater: boolean;
|
|
274
|
+
city: string;
|
|
256
275
|
tags: string[];
|
|
276
|
+
isNC: boolean;
|
|
277
|
+
zipCode: string;
|
|
257
278
|
updatedAt?: NativeDate | null | undefined;
|
|
258
279
|
uni_assist?: string | null | undefined;
|
|
259
280
|
application_portal_a?: string | null | undefined;
|
|
@@ -287,6 +308,8 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
287
308
|
gmat?: string | null | undefined;
|
|
288
309
|
ml_required?: string | null | undefined;
|
|
289
310
|
ml_requirements?: string | null | undefined;
|
|
311
|
+
sop_required?: string | null | undefined;
|
|
312
|
+
sop_requirements?: string | null | undefined;
|
|
290
313
|
rl_required?: string | null | undefined;
|
|
291
314
|
rl_requirements?: string | null | undefined;
|
|
292
315
|
is_rl_specific?: boolean | null | undefined;
|
|
@@ -328,7 +351,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
328
351
|
allowOnlyGraduatedApplicant: boolean;
|
|
329
352
|
englishTestHandLater: boolean;
|
|
330
353
|
germanTestHandLater: boolean;
|
|
354
|
+
city: string;
|
|
331
355
|
tags: string[];
|
|
356
|
+
isNC: boolean;
|
|
357
|
+
zipCode: string;
|
|
332
358
|
updatedAt?: NativeDate | null | undefined;
|
|
333
359
|
uni_assist?: string | null | undefined;
|
|
334
360
|
application_portal_a?: string | null | undefined;
|
|
@@ -362,6 +388,8 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
362
388
|
gmat?: string | null | undefined;
|
|
363
389
|
ml_required?: string | null | undefined;
|
|
364
390
|
ml_requirements?: string | null | undefined;
|
|
391
|
+
sop_required?: string | null | undefined;
|
|
392
|
+
sop_requirements?: string | null | undefined;
|
|
365
393
|
rl_required?: string | null | undefined;
|
|
366
394
|
rl_requirements?: string | null | undefined;
|
|
367
395
|
is_rl_specific?: boolean | null | undefined;
|
|
@@ -403,7 +431,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
403
431
|
allowOnlyGraduatedApplicant: boolean;
|
|
404
432
|
englishTestHandLater: boolean;
|
|
405
433
|
germanTestHandLater: boolean;
|
|
434
|
+
city: string;
|
|
406
435
|
tags: string[];
|
|
436
|
+
isNC: boolean;
|
|
437
|
+
zipCode: string;
|
|
407
438
|
updatedAt?: NativeDate | null | undefined;
|
|
408
439
|
uni_assist?: string | null | undefined;
|
|
409
440
|
application_portal_a?: string | null | undefined;
|
|
@@ -437,6 +468,8 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
437
468
|
gmat?: string | null | undefined;
|
|
438
469
|
ml_required?: string | null | undefined;
|
|
439
470
|
ml_requirements?: string | null | undefined;
|
|
471
|
+
sop_required?: string | null | undefined;
|
|
472
|
+
sop_requirements?: string | null | undefined;
|
|
440
473
|
rl_required?: string | null | undefined;
|
|
441
474
|
rl_requirements?: string | null | undefined;
|
|
442
475
|
is_rl_specific?: boolean | null | undefined;
|