@taiger-common/model 1.0.31 → 1.0.32
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 +12 -72
- package/dist/esm/model/Program.js +12 -72
- package/dist/types/model/Program.d.ts +21 -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: {
|
|
@@ -273,6 +201,10 @@ exports.programModule = {
|
|
|
273
201
|
contact: {
|
|
274
202
|
type: String
|
|
275
203
|
},
|
|
204
|
+
city: {
|
|
205
|
+
type: String,
|
|
206
|
+
default: ''
|
|
207
|
+
},
|
|
276
208
|
country: {
|
|
277
209
|
type: String
|
|
278
210
|
},
|
|
@@ -297,6 +229,14 @@ exports.programModule = {
|
|
|
297
229
|
}
|
|
298
230
|
],
|
|
299
231
|
url: String,
|
|
232
|
+
isNC: {
|
|
233
|
+
type: Boolean,
|
|
234
|
+
default: false
|
|
235
|
+
},
|
|
236
|
+
zipCode: {
|
|
237
|
+
type: String,
|
|
238
|
+
default: ''
|
|
239
|
+
},
|
|
300
240
|
vcId: ObjectId
|
|
301
241
|
};
|
|
302
242
|
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: {
|
|
@@ -270,6 +198,10 @@ export var programModule = {
|
|
|
270
198
|
contact: {
|
|
271
199
|
type: String
|
|
272
200
|
},
|
|
201
|
+
city: {
|
|
202
|
+
type: String,
|
|
203
|
+
default: ''
|
|
204
|
+
},
|
|
273
205
|
country: {
|
|
274
206
|
type: String
|
|
275
207
|
},
|
|
@@ -294,6 +226,14 @@ export var programModule = {
|
|
|
294
226
|
}
|
|
295
227
|
],
|
|
296
228
|
url: String,
|
|
229
|
+
isNC: {
|
|
230
|
+
type: Boolean,
|
|
231
|
+
default: false
|
|
232
|
+
},
|
|
233
|
+
zipCode: {
|
|
234
|
+
type: String,
|
|
235
|
+
default: ''
|
|
236
|
+
},
|
|
297
237
|
vcId: ObjectId
|
|
298
238
|
};
|
|
299
239
|
export var programSchema = new Schema(programModule, { timestamps: true });
|
|
@@ -216,6 +216,10 @@ export declare const programModule: {
|
|
|
216
216
|
contact: {
|
|
217
217
|
type: StringConstructor;
|
|
218
218
|
};
|
|
219
|
+
city: {
|
|
220
|
+
type: StringConstructor;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
219
223
|
country: {
|
|
220
224
|
type: StringConstructor;
|
|
221
225
|
};
|
|
@@ -238,6 +242,14 @@ export declare const programModule: {
|
|
|
238
242
|
enum: string[];
|
|
239
243
|
}[];
|
|
240
244
|
url: StringConstructor;
|
|
245
|
+
isNC: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: boolean;
|
|
248
|
+
};
|
|
249
|
+
zipCode: {
|
|
250
|
+
type: StringConstructor;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
241
253
|
vcId: typeof Schema.Types.ObjectId;
|
|
242
254
|
};
|
|
243
255
|
export declare const programSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -253,7 +265,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
253
265
|
allowOnlyGraduatedApplicant: boolean;
|
|
254
266
|
englishTestHandLater: boolean;
|
|
255
267
|
germanTestHandLater: boolean;
|
|
268
|
+
city: string;
|
|
256
269
|
tags: string[];
|
|
270
|
+
isNC: boolean;
|
|
271
|
+
zipCode: string;
|
|
257
272
|
updatedAt?: NativeDate | null | undefined;
|
|
258
273
|
uni_assist?: string | null | undefined;
|
|
259
274
|
application_portal_a?: string | null | undefined;
|
|
@@ -328,7 +343,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
328
343
|
allowOnlyGraduatedApplicant: boolean;
|
|
329
344
|
englishTestHandLater: boolean;
|
|
330
345
|
germanTestHandLater: boolean;
|
|
346
|
+
city: string;
|
|
331
347
|
tags: string[];
|
|
348
|
+
isNC: boolean;
|
|
349
|
+
zipCode: string;
|
|
332
350
|
updatedAt?: NativeDate | null | undefined;
|
|
333
351
|
uni_assist?: string | null | undefined;
|
|
334
352
|
application_portal_a?: string | null | undefined;
|
|
@@ -403,7 +421,10 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
403
421
|
allowOnlyGraduatedApplicant: boolean;
|
|
404
422
|
englishTestHandLater: boolean;
|
|
405
423
|
germanTestHandLater: boolean;
|
|
424
|
+
city: string;
|
|
406
425
|
tags: string[];
|
|
426
|
+
isNC: boolean;
|
|
427
|
+
zipCode: string;
|
|
407
428
|
updatedAt?: NativeDate | null | undefined;
|
|
408
429
|
uni_assist?: string | null | undefined;
|
|
409
430
|
application_portal_a?: string | null | undefined;
|