@taiger-common/model 1.0.33 → 1.0.35
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/README.md +1 -1
- package/dist/cjs/model/Program.js +12 -0
- package/dist/esm/model/Program.js +12 -0
- package/dist/types/model/Program.d.ts +19 -0
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,4 +21,4 @@ git push origin main --tags
|
|
|
21
21
|
npm publish
|
|
22
22
|
|
|
23
23
|
# Concat command for powershell (please modify the commit message)
|
|
24
|
-
git add .; git commit -m "fix:
|
|
24
|
+
git add .; git commit -m "fix: update model"; git push origin main; npm run build; npm version patch; git push origin main --tags; npm publish
|
|
@@ -9,6 +9,10 @@ exports.PROGRAM_SUBJECT_KEYS = Object.keys(core_1.PROGRAM_SUBJECTS);
|
|
|
9
9
|
exports.DIFFICULTY_KEYS = Object.keys(core_1.DIFFICULTY);
|
|
10
10
|
exports.programModule = {
|
|
11
11
|
isArchiv: Boolean,
|
|
12
|
+
isLocked: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: false
|
|
15
|
+
},
|
|
12
16
|
school: {
|
|
13
17
|
type: String,
|
|
14
18
|
default: '',
|
|
@@ -115,12 +119,20 @@ exports.programModule = {
|
|
|
115
119
|
ml_requirements: {
|
|
116
120
|
type: String
|
|
117
121
|
},
|
|
122
|
+
// statement of purpose
|
|
118
123
|
sop_required: {
|
|
119
124
|
type: String
|
|
120
125
|
},
|
|
121
126
|
sop_requirements: {
|
|
122
127
|
type: String
|
|
123
128
|
},
|
|
129
|
+
// personal history of statement
|
|
130
|
+
phs_required: {
|
|
131
|
+
type: String
|
|
132
|
+
},
|
|
133
|
+
phs_requirements: {
|
|
134
|
+
type: String
|
|
135
|
+
},
|
|
124
136
|
rl_required: {
|
|
125
137
|
type: String
|
|
126
138
|
},
|
|
@@ -6,6 +6,10 @@ export var PROGRAM_SUBJECT_KEYS = Object.keys(PROGRAM_SUBJECTS);
|
|
|
6
6
|
export var DIFFICULTY_KEYS = Object.keys(DIFFICULTY);
|
|
7
7
|
export var programModule = {
|
|
8
8
|
isArchiv: Boolean,
|
|
9
|
+
isLocked: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: false
|
|
12
|
+
},
|
|
9
13
|
school: {
|
|
10
14
|
type: String,
|
|
11
15
|
default: '',
|
|
@@ -112,12 +116,20 @@ export var programModule = {
|
|
|
112
116
|
ml_requirements: {
|
|
113
117
|
type: String
|
|
114
118
|
},
|
|
119
|
+
// statement of purpose
|
|
115
120
|
sop_required: {
|
|
116
121
|
type: String
|
|
117
122
|
},
|
|
118
123
|
sop_requirements: {
|
|
119
124
|
type: String
|
|
120
125
|
},
|
|
126
|
+
// personal history of statement
|
|
127
|
+
phs_required: {
|
|
128
|
+
type: String
|
|
129
|
+
},
|
|
130
|
+
phs_requirements: {
|
|
131
|
+
type: String
|
|
132
|
+
},
|
|
121
133
|
rl_required: {
|
|
122
134
|
type: String
|
|
123
135
|
},
|
|
@@ -28,6 +28,10 @@ export declare const PROGRAM_SUBJECT_KEYS: string[];
|
|
|
28
28
|
export declare const DIFFICULTY_KEYS: string[];
|
|
29
29
|
export declare const programModule: {
|
|
30
30
|
isArchiv: BooleanConstructor;
|
|
31
|
+
isLocked: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
school: {
|
|
32
36
|
type: StringConstructor;
|
|
33
37
|
default: string;
|
|
@@ -136,6 +140,12 @@ export declare const programModule: {
|
|
|
136
140
|
sop_requirements: {
|
|
137
141
|
type: StringConstructor;
|
|
138
142
|
};
|
|
143
|
+
phs_required: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
};
|
|
146
|
+
phs_requirements: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
};
|
|
139
149
|
rl_required: {
|
|
140
150
|
type: StringConstructor;
|
|
141
151
|
};
|
|
@@ -265,6 +275,7 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
265
275
|
updatedAt: NativeDate;
|
|
266
276
|
} & {
|
|
267
277
|
isEssayConsultantNeeded: boolean;
|
|
278
|
+
isLocked: boolean;
|
|
268
279
|
school: string;
|
|
269
280
|
program_name: string;
|
|
270
281
|
programSubjects: string[];
|
|
@@ -310,6 +321,8 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
310
321
|
ml_requirements?: string | null | undefined;
|
|
311
322
|
sop_required?: string | null | undefined;
|
|
312
323
|
sop_requirements?: string | null | undefined;
|
|
324
|
+
phs_required?: string | null | undefined;
|
|
325
|
+
phs_requirements?: string | null | undefined;
|
|
313
326
|
rl_required?: string | null | undefined;
|
|
314
327
|
rl_requirements?: string | null | undefined;
|
|
315
328
|
is_rl_specific?: boolean | null | undefined;
|
|
@@ -345,6 +358,7 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
345
358
|
updatedAt: NativeDate;
|
|
346
359
|
} & {
|
|
347
360
|
isEssayConsultantNeeded: boolean;
|
|
361
|
+
isLocked: boolean;
|
|
348
362
|
school: string;
|
|
349
363
|
program_name: string;
|
|
350
364
|
programSubjects: string[];
|
|
@@ -390,6 +404,8 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
390
404
|
ml_requirements?: string | null | undefined;
|
|
391
405
|
sop_required?: string | null | undefined;
|
|
392
406
|
sop_requirements?: string | null | undefined;
|
|
407
|
+
phs_required?: string | null | undefined;
|
|
408
|
+
phs_requirements?: string | null | undefined;
|
|
393
409
|
rl_required?: string | null | undefined;
|
|
394
410
|
rl_requirements?: string | null | undefined;
|
|
395
411
|
is_rl_specific?: boolean | null | undefined;
|
|
@@ -425,6 +441,7 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
425
441
|
updatedAt: NativeDate;
|
|
426
442
|
} & {
|
|
427
443
|
isEssayConsultantNeeded: boolean;
|
|
444
|
+
isLocked: boolean;
|
|
428
445
|
school: string;
|
|
429
446
|
program_name: string;
|
|
430
447
|
programSubjects: string[];
|
|
@@ -470,6 +487,8 @@ export declare const programSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
470
487
|
ml_requirements?: string | null | undefined;
|
|
471
488
|
sop_required?: string | null | undefined;
|
|
472
489
|
sop_requirements?: string | null | undefined;
|
|
490
|
+
phs_required?: string | null | undefined;
|
|
491
|
+
phs_requirements?: string | null | undefined;
|
|
473
492
|
rl_required?: string | null | undefined;
|
|
474
493
|
rl_requirements?: string | null | undefined;
|
|
475
494
|
is_rl_specific?: boolean | null | undefined;
|