@tudopz/model 2.20.0 → 2.21.3
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 +16 -0
- package/lib/constant/extracurricular-activity.d.ts +1 -0
- package/lib/constant/extracurricular-activity.js +9 -0
- package/lib/constant/school.d.ts +8 -0
- package/lib/constant/school.js +598 -0
- package/lib/constant/university-preference.d.ts +3 -0
- package/lib/constant/university-preference.js +10 -0
- package/lib/index.d.ts +10 -4
- package/lib/index.js +18 -0
- package/lib/model/extracurricular-activity.d.ts +21 -0
- package/lib/model/extracurricular-activity.js +64 -0
- package/lib/model/high-school-record.d.ts +16 -0
- package/lib/model/high-school-record.js +60 -0
- package/lib/model/high-school.d.ts +4 -0
- package/lib/model/high-school.js +18 -0
- package/lib/model/test-score.d.ts +12 -0
- package/lib/model/test-score.js +48 -0
- package/lib/model/university-preference.d.ts +15 -0
- package/lib/model/university-preference.js +60 -0
- package/lib/model/user.d.ts +8 -0
- package/lib/model/user.js +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
## Changelogs
|
|
4
4
|
|
|
5
|
+
### v2.21.3
|
|
6
|
+
|
|
7
|
+
- Add `TestScore`
|
|
8
|
+
|
|
9
|
+
### v2.21.2
|
|
10
|
+
|
|
11
|
+
- Add `ExtracurricularActivity`
|
|
12
|
+
|
|
13
|
+
### v2.21.1
|
|
14
|
+
|
|
15
|
+
- Add `UniversityPreference`
|
|
16
|
+
|
|
17
|
+
### v2.20.0
|
|
18
|
+
|
|
19
|
+
- Add `HighSchoolRecord`
|
|
20
|
+
|
|
5
21
|
### v2.20.0
|
|
6
22
|
|
|
7
23
|
- Add `FileCategory`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES: string[];
|
package/lib/constant/school.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
export declare const SCHOOL_VALUES: string[];
|
|
2
2
|
export declare const EDUCATION_SYSTEM_VALUES: string[];
|
|
3
|
+
export declare const AREA_OF_STUDIES: string[];
|
|
4
|
+
export declare const COURSES: string[];
|
|
5
|
+
export declare const COURSE_SUBJECTS: {
|
|
6
|
+
IGCSE: string[];
|
|
7
|
+
IB: string[];
|
|
8
|
+
'O-Levels': string[];
|
|
9
|
+
'A-Levels': string[];
|
|
10
|
+
};
|
package/lib/constant/school.js
CHANGED
|
@@ -69,3 +69,601 @@ exports.EDUCATION_SYSTEM_VALUES = [
|
|
|
69
69
|
'Canadian High School Diploma',
|
|
70
70
|
'Other',
|
|
71
71
|
];
|
|
72
|
+
exports.AREA_OF_STUDIES = [
|
|
73
|
+
'Agriculture, General',
|
|
74
|
+
'Agribusiness Operations',
|
|
75
|
+
'Agricultural Business & Management',
|
|
76
|
+
'Agricultural Economics',
|
|
77
|
+
'Agricultural Mechanization',
|
|
78
|
+
'Agricultural Production',
|
|
79
|
+
'Agronomy & Crop Science',
|
|
80
|
+
'Animal Sciences',
|
|
81
|
+
'Food Sciences & Technology',
|
|
82
|
+
'Horticulture Operations & Management',
|
|
83
|
+
'Horticulture Science',
|
|
84
|
+
'Natural Resources Conservation, General',
|
|
85
|
+
'Environmental Science',
|
|
86
|
+
'Forestry',
|
|
87
|
+
'Natural Resources Management',
|
|
88
|
+
'Wildlife & Wildlands Management',
|
|
89
|
+
'Architecture, General',
|
|
90
|
+
'Architectural Environmental Design',
|
|
91
|
+
'City/Urban/Regional Planning',
|
|
92
|
+
'Interior Architecture',
|
|
93
|
+
'Landscape Architecture',
|
|
94
|
+
'Area Studies, General (e.g., African, Middle Eastern)',
|
|
95
|
+
'Asian Area Studies',
|
|
96
|
+
'European Area Studies',
|
|
97
|
+
'Latin American Area Studies',
|
|
98
|
+
'North American Area Studies',
|
|
99
|
+
'Ethnic & Minority Studies, General',
|
|
100
|
+
'African American Studies',
|
|
101
|
+
'American Indian/Native American Studies',
|
|
102
|
+
'Latino/Chicano Studies',
|
|
103
|
+
"Women's Studies",
|
|
104
|
+
'Liberal Arts & General Studies',
|
|
105
|
+
'Library Science',
|
|
106
|
+
'Multi/Interdisciplinary Studies',
|
|
107
|
+
'Art, General',
|
|
108
|
+
'Art History, Criticism & Conservation',
|
|
109
|
+
'Fine/Studio Arts',
|
|
110
|
+
'Cinema/Film',
|
|
111
|
+
'Cinematography/Film/Video Production',
|
|
112
|
+
'Dance',
|
|
113
|
+
'Design & Visual Communications, General',
|
|
114
|
+
'Fashion/Apparel Design',
|
|
115
|
+
'Graphic Design',
|
|
116
|
+
'Industrial Design',
|
|
117
|
+
'Interior Design',
|
|
118
|
+
'Music, General',
|
|
119
|
+
'Music, Performance',
|
|
120
|
+
'Music, Theory & Composition',
|
|
121
|
+
'Photography',
|
|
122
|
+
'Theatre Arts/Drama',
|
|
123
|
+
'Accounting',
|
|
124
|
+
'Accounting Technician',
|
|
125
|
+
'Business Administration & Management, General',
|
|
126
|
+
'Hotel/Motel Management',
|
|
127
|
+
'Human Resources Development/Training',
|
|
128
|
+
'Human Resources Management',
|
|
129
|
+
'International Business Management',
|
|
130
|
+
'Labor/Industrial Relations',
|
|
131
|
+
'Logistics & Materials Management',
|
|
132
|
+
'Marketing Management & Research',
|
|
133
|
+
'Office Supervision & Management',
|
|
134
|
+
'Operations Management & Supervision',
|
|
135
|
+
'Organizational Behavior',
|
|
136
|
+
'Purchasing/Procurement/Contracts Management',
|
|
137
|
+
'Restaurant/Food Services Management',
|
|
138
|
+
'Small Business Management/Operations',
|
|
139
|
+
'Travel/Tourism Management',
|
|
140
|
+
'Business/Management Quantitative Methods, General',
|
|
141
|
+
'Actuarial Science',
|
|
142
|
+
'Business/Managerial Economics',
|
|
143
|
+
'Finance, General',
|
|
144
|
+
'Banking & Financial Support Services',
|
|
145
|
+
'Financial Planning & Services',
|
|
146
|
+
'Insurance & Risk Management',
|
|
147
|
+
'Investments & Securities',
|
|
148
|
+
'Management Information Systems',
|
|
149
|
+
'Real Estate',
|
|
150
|
+
'Sales, Merchandising, & Marketing, General',
|
|
151
|
+
'Fashion Merchandising',
|
|
152
|
+
'Tourism & Travel Marketing',
|
|
153
|
+
'Secretarial Studies & Office Administration',
|
|
154
|
+
'Communications, General',
|
|
155
|
+
'Advertising',
|
|
156
|
+
'Digital Communications/Media',
|
|
157
|
+
'Journalism, Broadcast',
|
|
158
|
+
'Journalism, Print',
|
|
159
|
+
'Mass Communications',
|
|
160
|
+
'Public Relations & Organizational Communication',
|
|
161
|
+
'Radio & Television Broadcasting',
|
|
162
|
+
'Communications Technology, General',
|
|
163
|
+
'Graphic & Printing Equipment Operation',
|
|
164
|
+
'Multimedia/Animation/Special Effects',
|
|
165
|
+
'Radio & Television Broadcasting Technology',
|
|
166
|
+
'Family & Consumer Sciences, General',
|
|
167
|
+
'Adult Development & Aging/Gerontology',
|
|
168
|
+
'Child Care Services Management',
|
|
169
|
+
'Child Development',
|
|
170
|
+
'Consumer & Family Economics',
|
|
171
|
+
'Food & Nutrition',
|
|
172
|
+
'Textile & Apparel',
|
|
173
|
+
'Parks, Recreation, & Leisure, General',
|
|
174
|
+
'Exercise Science/Physiology/Kinesiology',
|
|
175
|
+
'Health & Physical Education/Fitness',
|
|
176
|
+
'Parks/Rec/Leisure Facilities Management',
|
|
177
|
+
'Sport & Fitness Administration/Management',
|
|
178
|
+
'Personal Services, General',
|
|
179
|
+
'Cosmetology/Hairstyling',
|
|
180
|
+
'Culinary Arts/Chef Training',
|
|
181
|
+
'Funeral Services & Mortuary Science',
|
|
182
|
+
'Protective Services, General',
|
|
183
|
+
'Corrections',
|
|
184
|
+
'Criminal Justice',
|
|
185
|
+
'Fire Protection & Safety Technology',
|
|
186
|
+
'Law Enforcement',
|
|
187
|
+
'Military Technologies',
|
|
188
|
+
'Public Administration & Services, General',
|
|
189
|
+
'Community Organization & Advocacy',
|
|
190
|
+
'Public Administration',
|
|
191
|
+
'Public Affairs & Public Policy Analysis',
|
|
192
|
+
'Social Work',
|
|
193
|
+
'Computer & Information Sciences, General',
|
|
194
|
+
'Computer Networking/Telecommunications',
|
|
195
|
+
'Computer Science & Programming',
|
|
196
|
+
'Computer Software & Media Applications',
|
|
197
|
+
'Computer System Administration',
|
|
198
|
+
'Data Management Technology',
|
|
199
|
+
'Information Science',
|
|
200
|
+
'Webpage Design',
|
|
201
|
+
'Mathematics, General',
|
|
202
|
+
'Applied Mathematics',
|
|
203
|
+
'Statistics',
|
|
204
|
+
'Counseling & Student Services',
|
|
205
|
+
'Educational Administration',
|
|
206
|
+
'Special Education',
|
|
207
|
+
'Teacher Education, General',
|
|
208
|
+
'Curriculum & Instruction',
|
|
209
|
+
'Early Childhood Education',
|
|
210
|
+
'Elementary Education',
|
|
211
|
+
'Junior High/Middle School Education',
|
|
212
|
+
'Postsecondary Education',
|
|
213
|
+
'Secondary Education',
|
|
214
|
+
'Teacher Assisting/Aide Education',
|
|
215
|
+
'Teacher Education, Subject-Specific',
|
|
216
|
+
'Agricultural Education',
|
|
217
|
+
'Art Education',
|
|
218
|
+
'Business Education',
|
|
219
|
+
'Career & Technical Education',
|
|
220
|
+
'English-as-a-Second-Language Education',
|
|
221
|
+
'English/Language Arts Education',
|
|
222
|
+
'Foreign Languages Education',
|
|
223
|
+
'Health Education',
|
|
224
|
+
'Mathematics Education',
|
|
225
|
+
'Music Education',
|
|
226
|
+
'Physical Education & Coaching',
|
|
227
|
+
'Science Education',
|
|
228
|
+
'Social Studies/Sciences Education',
|
|
229
|
+
'Engineering (Pre-Engineering), General',
|
|
230
|
+
'Aerospace/Aeronautical Engineering',
|
|
231
|
+
'Agricultural/Bioengineering',
|
|
232
|
+
'Architectural Engineering',
|
|
233
|
+
'Biomedical Engineering',
|
|
234
|
+
'Chemical Engineering',
|
|
235
|
+
'Civil Engineering',
|
|
236
|
+
'Computer Engineering',
|
|
237
|
+
'Construction Engineering/Management',
|
|
238
|
+
'Electrical, Electronics & Communications Engineering',
|
|
239
|
+
'Environmental Health Engineering',
|
|
240
|
+
'Industrial Engineering',
|
|
241
|
+
'Mechanical Engineering',
|
|
242
|
+
'Nuclear Engineering',
|
|
243
|
+
'Drafting/CAD Technology, General',
|
|
244
|
+
'Architectural Drafting/CAD Technology',
|
|
245
|
+
'Mechanical Drafting/CAD Technology',
|
|
246
|
+
'Engineering Technology, General',
|
|
247
|
+
'Aeronautical/Aerospace Engineering Technologies',
|
|
248
|
+
'Architectural Engineering Technology',
|
|
249
|
+
'Automotive Engineering Technology',
|
|
250
|
+
'Civil Engineering Technology',
|
|
251
|
+
'Computer Engineering Technology',
|
|
252
|
+
'Construction/Building Technology',
|
|
253
|
+
'Electrical, Electronics Engineering Technologies',
|
|
254
|
+
'Electromechanical/Biomedical Engineering Technologies',
|
|
255
|
+
'Environmental Control Technologies',
|
|
256
|
+
'Industrial Production Technologies',
|
|
257
|
+
'Mechanical Engineering Technology',
|
|
258
|
+
'Quality Control & Safety Technologies',
|
|
259
|
+
'Surveying Technology',
|
|
260
|
+
'English Language & Literature, General',
|
|
261
|
+
'American/English Literature',
|
|
262
|
+
'Creative Writing',
|
|
263
|
+
'Public Speaking',
|
|
264
|
+
'Foreign Languages/Literatures, General',
|
|
265
|
+
'Asian Languages & Literatures',
|
|
266
|
+
'Classical/Ancient Languages & Literatures',
|
|
267
|
+
'Comparative Literature',
|
|
268
|
+
'French Language & Literature',
|
|
269
|
+
'German Language & Literature',
|
|
270
|
+
'Linguistics',
|
|
271
|
+
'Middle Eastern Languages & Literatures',
|
|
272
|
+
'Spanish Language & Literature',
|
|
273
|
+
'Health Services Administration, General',
|
|
274
|
+
'Hospital/Facilities Administration',
|
|
275
|
+
'Medical Office/Secretarial',
|
|
276
|
+
'Medical Records',
|
|
277
|
+
'Medical/Clinical Assisting, General',
|
|
278
|
+
'Dental Assisting',
|
|
279
|
+
'Medical Assisting',
|
|
280
|
+
'Occupational Therapy Assisting',
|
|
281
|
+
'Physical Therapy Assisting',
|
|
282
|
+
'Veterinarian Assisting/Technology',
|
|
283
|
+
'Chiropractic (Pre-Chiropractic)',
|
|
284
|
+
'Dental Hygiene',
|
|
285
|
+
'Dentistry (Pre-Dentistry)',
|
|
286
|
+
'Emergency Medical Technology',
|
|
287
|
+
'Health-Related Professions & Services, General',
|
|
288
|
+
'Athletic Training',
|
|
289
|
+
'Communication Disorder Services (e.g., Speech Pathology)',
|
|
290
|
+
'Public Health',
|
|
291
|
+
'Health/Medical Technology, General',
|
|
292
|
+
'Medical Laboratory Technology',
|
|
293
|
+
'Medical Radiologic Technology',
|
|
294
|
+
'Nuclear Medicine Technology',
|
|
295
|
+
'Respiratory Therapy Technology',
|
|
296
|
+
'Surgical Technology',
|
|
297
|
+
'Medicine (Pre-Medicine)',
|
|
298
|
+
'Nursing, Practical/Vocational',
|
|
299
|
+
'Nursing, Registered',
|
|
300
|
+
'Optometry (Pre-Optometry)',
|
|
301
|
+
'Osteopathic Medicine',
|
|
302
|
+
'Pharmacy (Pre-Pharmacy)',
|
|
303
|
+
'Physician Assisting',
|
|
304
|
+
'Therapy & Rehabilitation, General',
|
|
305
|
+
'Alcohol/Drug Abuse Counseling',
|
|
306
|
+
'Massage Therapy',
|
|
307
|
+
'Mental Health Counseling',
|
|
308
|
+
'Occupational Therapy',
|
|
309
|
+
'Physical Therapy (Pre-Physical Therapy)',
|
|
310
|
+
'Psychiatric/Mental Health Technician',
|
|
311
|
+
'Rehabilitation Therapy',
|
|
312
|
+
'Vocational Rehabilitation Counseling',
|
|
313
|
+
'Veterinary Medicine (Pre-Veterinarian)',
|
|
314
|
+
'Philosophy',
|
|
315
|
+
'Religion',
|
|
316
|
+
'Theology, General',
|
|
317
|
+
'Bible/Biblical Studies',
|
|
318
|
+
'Divinity/Ministry',
|
|
319
|
+
'Religious Education',
|
|
320
|
+
'Aviation & Airway Science, General',
|
|
321
|
+
'Aircraft Piloting & Navigation',
|
|
322
|
+
'Aviation Management & Operations',
|
|
323
|
+
'Construction Trades (e.g., carpentry, plumbing, electrical)',
|
|
324
|
+
'Mechanics & Repairers, General',
|
|
325
|
+
'Aircraft Mechanics/Technology',
|
|
326
|
+
'Autobody Repair/Technology',
|
|
327
|
+
'Automotive Mechanics/Technology',
|
|
328
|
+
'Avionics Technology',
|
|
329
|
+
'Diesel Mechanics/Technology',
|
|
330
|
+
'Electrical/Electronics Equip Installation & Repair',
|
|
331
|
+
'Heating/Air Conditioner/Refrigeration Install/Repair',
|
|
332
|
+
'Precision Production Trades, General',
|
|
333
|
+
'Machine Tool Technology',
|
|
334
|
+
'Welding Technology',
|
|
335
|
+
'Transportation & Materials Moving (e.g., air, ground, & marine)',
|
|
336
|
+
'Biology, General',
|
|
337
|
+
'Biochemistry & Biophysics',
|
|
338
|
+
'Cell/Cellular Biology',
|
|
339
|
+
'Ecology',
|
|
340
|
+
'Genetics',
|
|
341
|
+
'Marine/Aquatic Biology',
|
|
342
|
+
'Microbiology & Immunology',
|
|
343
|
+
'Zoology',
|
|
344
|
+
'Physical Sciences, General',
|
|
345
|
+
'Astronomy',
|
|
346
|
+
'Atmospheric Sciences & Meteorology',
|
|
347
|
+
'Chemistry',
|
|
348
|
+
'Geological & Earth Sciences',
|
|
349
|
+
'Physics',
|
|
350
|
+
'Legal Studies, General',
|
|
351
|
+
'Court Reporting',
|
|
352
|
+
'Law (Pre-Law)',
|
|
353
|
+
'Legal Administrative Assisting/Secretarial',
|
|
354
|
+
'Paralegal/Legal Assistant',
|
|
355
|
+
'Social Sciences, General',
|
|
356
|
+
'Anthropology',
|
|
357
|
+
'Criminology',
|
|
358
|
+
'Economics',
|
|
359
|
+
'Geography',
|
|
360
|
+
'History',
|
|
361
|
+
'International Relations & Affairs',
|
|
362
|
+
'Political Science & Government',
|
|
363
|
+
'Psychology, Clinical & Counseling',
|
|
364
|
+
'Psychology, General',
|
|
365
|
+
'Sociology',
|
|
366
|
+
'Urban Studies/Urban Affairs',
|
|
367
|
+
'Other',
|
|
368
|
+
];
|
|
369
|
+
exports.COURSES = ['IGCSE', 'IB', 'O-Levels', 'A-Levels'];
|
|
370
|
+
exports.COURSE_SUBJECTS = {
|
|
371
|
+
IGCSE: [
|
|
372
|
+
'Accounting - 0452',
|
|
373
|
+
'Accounting (9-1) - 0985',
|
|
374
|
+
'Afrikaans - Second Language - 0548',
|
|
375
|
+
'Agriculture - 0600',
|
|
376
|
+
'Arabic - First Language - 0508',
|
|
377
|
+
'Arabic - First Language (9-1) - 7184',
|
|
378
|
+
'Arabic - Foreign Language - 0544',
|
|
379
|
+
'Art & Design - 0400',
|
|
380
|
+
'Art & Design (9-1) 0989',
|
|
381
|
+
'Bahasa Indonesia - 0538',
|
|
382
|
+
'Biology - 0610',
|
|
383
|
+
'Biology (9-1) - 0970',
|
|
384
|
+
'Business Studies - 0450',
|
|
385
|
+
'Business Studies (9-1) - 0986',
|
|
386
|
+
'Chemistry - 0620',
|
|
387
|
+
'Chemistry (9-1) - 0971',
|
|
388
|
+
'Chinese - First Language - 0509',
|
|
389
|
+
'Chinese - Second Language - 0523',
|
|
390
|
+
'Chinese (Mandarin) - Foreign Language - 0547',
|
|
391
|
+
'Computer Science - 0478',
|
|
392
|
+
'Computer Science (9-1) - 0984',
|
|
393
|
+
'Design & Technology - 0445',
|
|
394
|
+
'Design & Technology (9-1) - 0979',
|
|
395
|
+
'Development Studies - 0453',
|
|
396
|
+
'Drama - 0411',
|
|
397
|
+
'Drama (9-1) - 0994',
|
|
398
|
+
'Dutch - Foreign Language - 0515',
|
|
399
|
+
'Economics - 0455',
|
|
400
|
+
'Economics (9-1) - 0987',
|
|
401
|
+
'English - First Language - 0500',
|
|
402
|
+
'English - First Language (9-1) - 0990',
|
|
403
|
+
'English - First Language (US) - 0524',
|
|
404
|
+
'English – Literature (US) – 0427',
|
|
405
|
+
'English – Literature in English – 0475',
|
|
406
|
+
'English – Literature in English (9-1) – 0992',
|
|
407
|
+
'English (as an Additional Language) - 0472',
|
|
408
|
+
'English (as an Additional Language) (9-1) - 0772',
|
|
409
|
+
'English as a Second Language (Count-in speaking) - 0511',
|
|
410
|
+
'English as a Second Language (Count-in Speaking) (9-1) - 0991',
|
|
411
|
+
'English as a Second Language (Speaking endorsement) - 0510',
|
|
412
|
+
'English Second Language (Speaking Endorsement) (9-1) - 0993',
|
|
413
|
+
'Enterprise - 0454',
|
|
414
|
+
'Environmental Management - 0680',
|
|
415
|
+
'Food & Nutrition - 0648',
|
|
416
|
+
'French - First Language - 0501',
|
|
417
|
+
'French - Foreign Language - 0520',
|
|
418
|
+
'French (9-1) - 7156',
|
|
419
|
+
'Geography - 0460',
|
|
420
|
+
'Geography (9-1) - 0976',
|
|
421
|
+
'German - First Language - 0505',
|
|
422
|
+
'German - Foreign Language - 0525',
|
|
423
|
+
'German (9-1) - 7159',
|
|
424
|
+
'Global Perspectives - 0457',
|
|
425
|
+
'Greek - Foreign Language - 0543',
|
|
426
|
+
'Hindi as a Second Language - 0549',
|
|
427
|
+
'History - 0470',
|
|
428
|
+
'History - American (US) - 0409',
|
|
429
|
+
'History (9-1) - 0977',
|
|
430
|
+
'Indonesian - Foreign Language - 0545',
|
|
431
|
+
'Information & Communication Technology - 0417',
|
|
432
|
+
'Information & Communication Technology (9-1) - 0983',
|
|
433
|
+
'IsiZulu as a Second Language - 0531',
|
|
434
|
+
'Islamiyat - 0493',
|
|
435
|
+
'Italian - Foreign Language - 0535',
|
|
436
|
+
'Italian (9-1) - 7164',
|
|
437
|
+
'Japanese - Foreign Language - 0519',
|
|
438
|
+
'Korean (First Language) - 0521',
|
|
439
|
+
'Latin - 0480',
|
|
440
|
+
'Malay - First Language - 0696',
|
|
441
|
+
'Malay - Foreign Language - 0546',
|
|
442
|
+
'Marine Science - 0697',
|
|
443
|
+
'Mathematics - 0580',
|
|
444
|
+
'Mathematics - Additional - 0606',
|
|
445
|
+
'Mathematics - Additional (US) - 0459',
|
|
446
|
+
'Mathematics - International - 0607',
|
|
447
|
+
'Mathematics (9-1) - 0980',
|
|
448
|
+
'Mathematics (US) - 0444',
|
|
449
|
+
'Music - 0410',
|
|
450
|
+
'Music (9-1) - 0978',
|
|
451
|
+
'Pakistan Studies - 0448',
|
|
452
|
+
'Physical Education - 0413',
|
|
453
|
+
'Physical Education (9-1) - 0995',
|
|
454
|
+
'Physical Science - 0652',
|
|
455
|
+
'Physics - 0625',
|
|
456
|
+
'Physics (9-1) - 0972',
|
|
457
|
+
'Portuguese - First Language - 0504',
|
|
458
|
+
'Portuguese - Foreign Language - 0540',
|
|
459
|
+
'Religious Studies - 0490',
|
|
460
|
+
'Russian - First Language - 0516',
|
|
461
|
+
'Sanskrit - 0499',
|
|
462
|
+
'Science - Combined - 0653',
|
|
463
|
+
'Sciences - Co-ordinated (9-1) - 0973',
|
|
464
|
+
'Sciences - Co-ordinated (Double) - 0654',
|
|
465
|
+
'Sociology - 0495',
|
|
466
|
+
'Spanish - First Language - 0502',
|
|
467
|
+
'Spanish - Foreign Language - 0530',
|
|
468
|
+
'Spanish - Literature - 0488',
|
|
469
|
+
'Spanish (9-1) - 7160',
|
|
470
|
+
'Swahili - 0262',
|
|
471
|
+
'Thai - First Language - 0518',
|
|
472
|
+
'Travel & Tourism - 0471',
|
|
473
|
+
'Turkish - First Language - 0513',
|
|
474
|
+
'Urdu as a Second Language - 0539',
|
|
475
|
+
'World Literature - 0408',
|
|
476
|
+
],
|
|
477
|
+
IB: [
|
|
478
|
+
'Language A: Literature SL',
|
|
479
|
+
'Language A: Literature HL',
|
|
480
|
+
'Language A: Language and Literature SL',
|
|
481
|
+
'Language A: Language and Literature HL',
|
|
482
|
+
'Literature and Performance SL',
|
|
483
|
+
'Classical Languages SL',
|
|
484
|
+
'Classical Languages HL',
|
|
485
|
+
'Language ab Initio SL',
|
|
486
|
+
'Language B SL',
|
|
487
|
+
'Language B HL',
|
|
488
|
+
'Business Management SL',
|
|
489
|
+
'Business Management HL',
|
|
490
|
+
'Economics SL',
|
|
491
|
+
'Economics HL',
|
|
492
|
+
'Geography SL',
|
|
493
|
+
'Geography HL',
|
|
494
|
+
'Global Politics SL',
|
|
495
|
+
'Global Politics HL',
|
|
496
|
+
'History SL',
|
|
497
|
+
'History HL',
|
|
498
|
+
'Information Technology in a Global Society SL',
|
|
499
|
+
'Information Technology in a Global Society HL',
|
|
500
|
+
'Philosophy SL',
|
|
501
|
+
'Philosophy HL',
|
|
502
|
+
'Psychology SL',
|
|
503
|
+
'Psychology HL',
|
|
504
|
+
'Social and Cultural Anthropology SL',
|
|
505
|
+
'Social and Cultural Anthropology HL',
|
|
506
|
+
'World Religions SL',
|
|
507
|
+
'Biology SL',
|
|
508
|
+
'Biology HL',
|
|
509
|
+
'Chemistry SL',
|
|
510
|
+
'Chemistry HL',
|
|
511
|
+
'Computer Science SL',
|
|
512
|
+
'Computer Science HL',
|
|
513
|
+
'Design Technology SL',
|
|
514
|
+
'Design Technology HL',
|
|
515
|
+
'Environmental Systems and Societies SL',
|
|
516
|
+
'Physics SL',
|
|
517
|
+
'Physics HL',
|
|
518
|
+
'Sports, Exercise, and Health Science SL',
|
|
519
|
+
'Sports, Exercise, and Health Science HL',
|
|
520
|
+
'Mathematics: Analysis and Approaches SL',
|
|
521
|
+
'Mathematics: Analysis and Approaches HL',
|
|
522
|
+
'Mathematics: Applications and Interpretation SL',
|
|
523
|
+
'Mathematics: Applications and Interpretation HL',
|
|
524
|
+
'Dance SL',
|
|
525
|
+
'Dance HL',
|
|
526
|
+
'Film SL',
|
|
527
|
+
'Film HL',
|
|
528
|
+
'Music SL',
|
|
529
|
+
'Music HL',
|
|
530
|
+
'Theatre SL',
|
|
531
|
+
'Theatre HL',
|
|
532
|
+
'Visual Arts SL',
|
|
533
|
+
'Visual Arts HL',
|
|
534
|
+
'Theory of Knowledge (TOK)',
|
|
535
|
+
],
|
|
536
|
+
'O-Levels': [
|
|
537
|
+
'English Language - 1128',
|
|
538
|
+
'Arabic as a 3rd Language - 1135',
|
|
539
|
+
'Bahasa Indonesia as a 3rd Language - 1136',
|
|
540
|
+
'Literature in English - 2065',
|
|
541
|
+
'History - 2174',
|
|
542
|
+
'Geography - 2236',
|
|
543
|
+
'Humanities (Social Studies. Geography) - 2272',
|
|
544
|
+
'Humanities (Social Studies, History) - 2273',
|
|
545
|
+
'Humanities (Social Studies, Literature in English) - 2274',
|
|
546
|
+
'Economics - 2286',
|
|
547
|
+
'Humanities (Social Studies, Literature in Chinese) - 2287',
|
|
548
|
+
'Humanities (Social Studies, Literature in Malay) - 2288',
|
|
549
|
+
'Humanities (Social Studies, Literature in Tamil) - 2289',
|
|
550
|
+
'Drama - 2299',
|
|
551
|
+
'Spanish - 3034',
|
|
552
|
+
'Hindi - 3194',
|
|
553
|
+
'Urdu - 3196',
|
|
554
|
+
'Gujarati - 3199',
|
|
555
|
+
'Panjabi - 3203',
|
|
556
|
+
'Bengali - 3215',
|
|
557
|
+
'Burmese - 3249',
|
|
558
|
+
'Thai - 3260',
|
|
559
|
+
'French - 3917',
|
|
560
|
+
'German - 3918',
|
|
561
|
+
'Japanese [Revised] - 3919',
|
|
562
|
+
'Additional Mathematics - 4047',
|
|
563
|
+
'Mathematics - 4048',
|
|
564
|
+
'Additional Mathematics [Revised] - 4049',
|
|
565
|
+
'Science (Physics, Chemistry) - 5076',
|
|
566
|
+
'Science (Physics, Biology) - 5077',
|
|
567
|
+
'Science (Chemistry, Biology) - 5078',
|
|
568
|
+
'Electronics - 6063',
|
|
569
|
+
'Music - 6085',
|
|
570
|
+
'Higher Music - 6086',
|
|
571
|
+
'Food and Nutrition - 6087',
|
|
572
|
+
'Physics - 6091',
|
|
573
|
+
'Chemistry - 6092',
|
|
574
|
+
'Biology - 6093',
|
|
575
|
+
'Art - 6123',
|
|
576
|
+
'Higher Art - 6124',
|
|
577
|
+
'Design & Technology - 7059',
|
|
578
|
+
'Business Studies - 7085',
|
|
579
|
+
'Principles of Accounts [Revised] - 7087',
|
|
580
|
+
'Computing - 7155',
|
|
581
|
+
'Principles of Accounts - 7175',
|
|
582
|
+
'Biotechnology [Revised] - NP04',
|
|
583
|
+
'Design Studies [Revised] - NP05',
|
|
584
|
+
'Exercise And Sports Science - 6081',
|
|
585
|
+
'Higher Chinese - 1116',
|
|
586
|
+
'Chinese B - 1153',
|
|
587
|
+
'Chinese 1160',
|
|
588
|
+
'Chinese (Special Programme) - 1166',
|
|
589
|
+
'Literature in Chinese - 2031',
|
|
590
|
+
'Higher Malay - 1117',
|
|
591
|
+
'Malay (Special Programme) - 1133',
|
|
592
|
+
'Malay - 1148',
|
|
593
|
+
'Malay B - 1151',
|
|
594
|
+
'Literature in Malay - 2032',
|
|
595
|
+
'Higher Tamil - 1147',
|
|
596
|
+
'Tamil B - 1152',
|
|
597
|
+
'Tamil - 1157',
|
|
598
|
+
'Literature in Tamil - 2033',
|
|
599
|
+
],
|
|
600
|
+
'A-Levels': [
|
|
601
|
+
'China Studies in English H1 - 8628',
|
|
602
|
+
'General Paper H1 - 8807',
|
|
603
|
+
'Project Work H1 - 8808',
|
|
604
|
+
'Geography [Updated] H1 - 8813',
|
|
605
|
+
'History H1 - 8821',
|
|
606
|
+
'Economics [Updated] H1 - 8823',
|
|
607
|
+
'Bengali H1 - 8827',
|
|
608
|
+
'Gujarati H1 - 8828',
|
|
609
|
+
'Hindi H1 - 8829',
|
|
610
|
+
'French H1 - 8831',
|
|
611
|
+
'Literature in English H1 - 8832',
|
|
612
|
+
'German H1 - 8833',
|
|
613
|
+
'Japanese H1 - 8835',
|
|
614
|
+
'Panjabi H1 - 8836',
|
|
615
|
+
'Urdu H1 - 8837',
|
|
616
|
+
'Mathematics [Updated] H1 - 8865',
|
|
617
|
+
'Physics [Updated] H1 - 8867',
|
|
618
|
+
'Chemistry [Updated] H1 - 8873',
|
|
619
|
+
'Biology [Updated] H1 - 8876',
|
|
620
|
+
'Art H1 - 8879',
|
|
621
|
+
'English Language and Linguistics [Updated] H2 - 9508',
|
|
622
|
+
'Literature in English H2 - 9509',
|
|
623
|
+
'Theatre Studies and Drama H2 - 9519',
|
|
624
|
+
'Computing H2 - 9569',
|
|
625
|
+
'Translation (Chinese) H2 - 9571',
|
|
626
|
+
'Spanish H2 - 9578',
|
|
627
|
+
'Management of Business H2 - 9587',
|
|
628
|
+
'Principles of Accounting H2 - 9593',
|
|
629
|
+
'China Studies in English H2 - 9628',
|
|
630
|
+
'Further Mathematics [Updated] H2 - 9649',
|
|
631
|
+
'Chemistry H2 - 9729',
|
|
632
|
+
'French H2 - 9735',
|
|
633
|
+
'German H2 - 9736',
|
|
634
|
+
'Japanese H2 - 9737',
|
|
635
|
+
'Biology H2 - 9744',
|
|
636
|
+
'Physics H2 - 9749',
|
|
637
|
+
'Art H2 - 9750',
|
|
638
|
+
'Geography [Updated] H2 - 9751',
|
|
639
|
+
'History [Updated] H2 - 9752',
|
|
640
|
+
'Music H2 - 9753',
|
|
641
|
+
'Economics H2 - 9757',
|
|
642
|
+
'Mathematics [Updated] H2 - 9758',
|
|
643
|
+
'Knowledge and Inquiry H2 - 9759',
|
|
644
|
+
'Chinese B H1 - 8611',
|
|
645
|
+
'General Studies in Chinese H1 - 8642',
|
|
646
|
+
'Chinese Language [Revised] H1 - 8655',
|
|
647
|
+
'Chinese Language & Literature H2 - 9572',
|
|
648
|
+
'China Studies in Chinese H2 - 9629',
|
|
649
|
+
'Malay B H1 - 8613',
|
|
650
|
+
'Malay Language [Revised] H1 - 8656',
|
|
651
|
+
'Malay Language & Literature H2 - 9573',
|
|
652
|
+
'Tamil B H1 - 8614',
|
|
653
|
+
'Tamil Language [Revised] H1 - 8657',
|
|
654
|
+
'Tamil Language & Literature H2 - 9574',
|
|
655
|
+
'Literature in English H3 - 9805',
|
|
656
|
+
'Economics [Updated] H3 - 9809',
|
|
657
|
+
'Chemistry H3 - 9813',
|
|
658
|
+
'Physics H3 - 9814',
|
|
659
|
+
'Biology H3 - 9816',
|
|
660
|
+
'Art H3 - 9818',
|
|
661
|
+
'Music H3 - 9819',
|
|
662
|
+
'Mathematics [Updated] H3 - 9820',
|
|
663
|
+
'Geography H3 - 9822',
|
|
664
|
+
'History H3 - 9823',
|
|
665
|
+
'Chinese Language and Literature H3 - 9901',
|
|
666
|
+
'Malay Language and Literature H3 - 9921',
|
|
667
|
+
'Tamil Language and Literature H3 - 9941',
|
|
668
|
+
],
|
|
669
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UNI_PREF_LOCATIONS = ['East Coast', 'South', 'Midwest', 'West Coast', 'No Preference'];
|
|
4
|
+
exports.UNI_PREF_SETTINGS = ['Urban', 'Suburban', 'Rural', 'No Preference'];
|
|
5
|
+
exports.UNI_PREF_SIZES = [
|
|
6
|
+
'Small (Less than 5000 students)',
|
|
7
|
+
'Medium (5000 - 10000 students)',
|
|
8
|
+
'Large (More than 10000 students)',
|
|
9
|
+
'No Preference',
|
|
10
|
+
];
|
package/lib/index.d.ts
CHANGED
|
@@ -8,11 +8,13 @@ import { EducationSystem } from './model/education-system';
|
|
|
8
8
|
import { EventLog } from './model/event-log';
|
|
9
9
|
import { EventToUser } from './model/event-to-user';
|
|
10
10
|
import { Event, EVENT_CATEGORY, EVENT_VISIBILITY, EVENT_STATUS, OFFICE } from './model/event';
|
|
11
|
+
import { ExtracurricularActivity, EXTRACURRICULAR_ACTIVITY_CATEGORY } from './model/extracurricular-activity';
|
|
11
12
|
import { FileAccess } from './model/file-access';
|
|
12
13
|
import { FileCategory } from './model/file-category';
|
|
13
14
|
import { File } from './model/file';
|
|
14
15
|
import { Log, LOG_TYPE, LOG_ACTION } from './model/log';
|
|
15
16
|
import { Guardian } from './model/guardian';
|
|
17
|
+
import { HighSchoolRecord } from './model/high-school-record';
|
|
16
18
|
import { JourneyStage } from './model/journey-stage';
|
|
17
19
|
import { JourneyToStudent } from './model/journey-to-student';
|
|
18
20
|
import { Journey } from './model/journey';
|
|
@@ -37,8 +39,10 @@ import { TestAttempt, TEST_ATTEMPT_STATUS } from './model/test-attempt';
|
|
|
37
39
|
import { TestCategory } from './model/test-category';
|
|
38
40
|
import { TestQuestion, TEST_QUESTION_TYPE } from './model/test-question';
|
|
39
41
|
import { BaseReport, Report, SATReport, ACTReport, GMATReport, UCATReport, LSATReport, MCATReport, ISATReport, BMATReport } from './model/test-report';
|
|
42
|
+
import { TestScore } from './model/test-score';
|
|
40
43
|
import { TestSection } from './model/test-section';
|
|
41
44
|
import { Test } from './model/test';
|
|
45
|
+
import { UniversityPreference } from './model/university-preference';
|
|
42
46
|
import { UserPreference } from './model/user-preference';
|
|
43
47
|
import { UserToGuardian, GUARDIAN_RELATIONSHIP } from './model/user-to-guardian';
|
|
44
48
|
import { User, USER_ROLE, USER_STATUS } from './model/user';
|
|
@@ -47,13 +51,15 @@ import { CONVERSION_TABLE_TYPE_VALUES } from './constant/conversion-table';
|
|
|
47
51
|
import { COUNTRY_VALUES } from './constant/country';
|
|
48
52
|
import { DIMENSION_TYPE_VALUES, DIMENSION_CATEGORY_VALUES } from './constant/dimension';
|
|
49
53
|
import { EVENT_CATEGORY_VALUES, EVENT_VISIBILITY_VALUES, EVENT_STATUS_VALUES } from './constant/event';
|
|
54
|
+
import { EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES } from './constant/extracurricular-activity';
|
|
50
55
|
import { GUARDIAN_RELATIONSHIP_VALUES } from './constant/guardian';
|
|
51
56
|
import { NATIONALITY_VALUES } from './constant/nationality';
|
|
52
57
|
import { OFFICE_VALUES, ROOMS } from './constant/location';
|
|
53
58
|
import { SALE_PAYMENT_MODE_VALUES, SALE_PAYMENT_TYPE_VALUES, SALE_TYPE_VALUES, SALE_SUB_TYPE_VALUES } from './constant/sale';
|
|
54
|
-
import { EDUCATION_SYSTEM_VALUES, SCHOOL_VALUES } from './constant/school';
|
|
59
|
+
import { EDUCATION_SYSTEM_VALUES, SCHOOL_VALUES, COURSES, COURSE_SUBJECTS, AREA_OF_STUDIES } from './constant/school';
|
|
55
60
|
import { STUDENT_SERVICE_VALUES, UNDERGRAD_TEST_SERVICES, UNDERGRAD_ADMISSIONS_SERVICES, POSTGRAD_TEST_SERVICES, POSTGRAD_ADMISSIONS_SERVICES, SCHOOL_CURRICULUM_SERVICES, ENGLISH_PROFICIENCY_SERVICES, ENRICHMENT_SERVICES, NO_TARGETS, TEST_PREP_TARGETS, ADMISSIONS_TARGETS, UNDERGRAD_ALL_SERVICES, POSTGRAD_ALL_SERVICES } from './constant/student-service';
|
|
61
|
+
import { UNI_PREF_SIZES, UNI_PREF_SETTINGS, UNI_PREF_LOCATIONS } from './constant/university-preference';
|
|
56
62
|
import { USER_STATUS_VALUES } from './constant/user';
|
|
57
|
-
export { CONVERSION_TABLE_TYPE, DIMENSION_TYPE, DIMENSION_CATEGORY, LOG_TYPE, LOG_ACTION, GENDER, NATIONALITY, COUNTRY, SALE_PAYMENT_TYPE, SALE_PAYMENT_MODE, SALE_TYPE, SALE_SUB_TYPE, STUDENT_SERVICE, TEST_ATTEMPT_STATUS, TEST_QUESTION_TYPE, GUARDIAN_RELATIONSHIP, USER_ROLE, USER_STATUS, SCHOOL_LEVEL, EVENT_CATEGORY, EVENT_VISIBILITY, EVENT_STATUS, OFFICE, MEMBERSHIP_LOG_TYPE, STUDENT_NOTE_VISIBILITY, STAFF_HOUR_LOG_TYPE, };
|
|
58
|
-
export { CONVERSION_TABLE_TYPE_VALUES, COUNTRY_VALUES, DIMENSION_TYPE_VALUES, DIMENSION_CATEGORY_VALUES, GUARDIAN_RELATIONSHIP_VALUES, NATIONALITY_VALUES, SALE_PAYMENT_TYPE_VALUES, SALE_PAYMENT_MODE_VALUES, SALE_TYPE_VALUES, SALE_SUB_TYPE_VALUES, STUDENT_SERVICE_VALUES, UNDERGRAD_TEST_SERVICES, UNDERGRAD_ADMISSIONS_SERVICES, POSTGRAD_TEST_SERVICES, POSTGRAD_ADMISSIONS_SERVICES, SCHOOL_CURRICULUM_SERVICES, ENGLISH_PROFICIENCY_SERVICES, ENRICHMENT_SERVICES, NO_TARGETS, TEST_PREP_TARGETS, ADMISSIONS_TARGETS, UNDERGRAD_ALL_SERVICES, POSTGRAD_ALL_SERVICES, EDUCATION_SYSTEM_VALUES, SCHOOL_VALUES, ROOMS, OFFICE_VALUES, EVENT_CATEGORY_VALUES, EVENT_VISIBILITY_VALUES, EVENT_STATUS_VALUES, USER_STATUS_VALUES, };
|
|
59
|
-
export { AccessToken, AnswerKey, ConversionTable, CourseTemplateEvent, CourseTemplate, Dimension, EducationSystem, EventLog, EventToUser, Event, FileAccess, FileCategory, File, Guardian, JourneyStage, JourneyToStudent, Journey, Lead, Log, PartTimeAssignment, Profile, SaleSplit, Sale, School, StaffHour, StaffHourLog, StudentAnswer, StudentExtra, StudentGoal, StudentNoteChecklistItem, StudentNote, StudentServiceMembershipLog, StudentServiceMembership, StudentService, StudentTarget, TestAttempt, TestCategory, TestQuestion, BaseReport, Report, SATReport, ACTReport, GMATReport, UCATReport, LSATReport, MCATReport, ISATReport, BMATReport, TestSection, Test, UserPreference, UserToGuardian, User, ZoomInfo, };
|
|
63
|
+
export { CONVERSION_TABLE_TYPE, DIMENSION_TYPE, DIMENSION_CATEGORY, LOG_TYPE, LOG_ACTION, GENDER, NATIONALITY, COUNTRY, SALE_PAYMENT_TYPE, SALE_PAYMENT_MODE, SALE_TYPE, SALE_SUB_TYPE, STUDENT_SERVICE, TEST_ATTEMPT_STATUS, TEST_QUESTION_TYPE, GUARDIAN_RELATIONSHIP, USER_ROLE, USER_STATUS, SCHOOL_LEVEL, EVENT_CATEGORY, EVENT_VISIBILITY, EVENT_STATUS, OFFICE, MEMBERSHIP_LOG_TYPE, STUDENT_NOTE_VISIBILITY, STAFF_HOUR_LOG_TYPE, EXTRACURRICULAR_ACTIVITY_CATEGORY, };
|
|
64
|
+
export { CONVERSION_TABLE_TYPE_VALUES, COUNTRY_VALUES, DIMENSION_TYPE_VALUES, DIMENSION_CATEGORY_VALUES, GUARDIAN_RELATIONSHIP_VALUES, NATIONALITY_VALUES, SALE_PAYMENT_TYPE_VALUES, SALE_PAYMENT_MODE_VALUES, SALE_TYPE_VALUES, SALE_SUB_TYPE_VALUES, STUDENT_SERVICE_VALUES, UNDERGRAD_TEST_SERVICES, UNDERGRAD_ADMISSIONS_SERVICES, POSTGRAD_TEST_SERVICES, POSTGRAD_ADMISSIONS_SERVICES, SCHOOL_CURRICULUM_SERVICES, ENGLISH_PROFICIENCY_SERVICES, ENRICHMENT_SERVICES, NO_TARGETS, TEST_PREP_TARGETS, ADMISSIONS_TARGETS, UNDERGRAD_ALL_SERVICES, POSTGRAD_ALL_SERVICES, EDUCATION_SYSTEM_VALUES, SCHOOL_VALUES, ROOMS, OFFICE_VALUES, EVENT_CATEGORY_VALUES, EVENT_VISIBILITY_VALUES, EVENT_STATUS_VALUES, USER_STATUS_VALUES, COURSES, COURSE_SUBJECTS, AREA_OF_STUDIES, UNI_PREF_SIZES, UNI_PREF_SETTINGS, UNI_PREF_LOCATIONS, EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES, };
|
|
65
|
+
export { AccessToken, AnswerKey, ConversionTable, CourseTemplateEvent, CourseTemplate, Dimension, EducationSystem, EventLog, EventToUser, Event, ExtracurricularActivity, FileAccess, FileCategory, File, Guardian, HighSchoolRecord, JourneyStage, JourneyToStudent, Journey, Lead, Log, PartTimeAssignment, Profile, SaleSplit, Sale, School, StaffHour, StaffHourLog, StudentAnswer, StudentExtra, StudentGoal, StudentNoteChecklistItem, StudentNote, StudentServiceMembershipLog, StudentServiceMembership, StudentService, StudentTarget, TestAttempt, TestCategory, TestQuestion, BaseReport, Report, SATReport, ACTReport, GMATReport, UCATReport, LSATReport, MCATReport, ISATReport, BMATReport, TestScore, TestSection, Test, UniversityPreference, UserPreference, UserToGuardian, User, ZoomInfo, };
|
package/lib/index.js
CHANGED
|
@@ -27,6 +27,9 @@ exports.EVENT_CATEGORY = event_1.EVENT_CATEGORY;
|
|
|
27
27
|
exports.EVENT_VISIBILITY = event_1.EVENT_VISIBILITY;
|
|
28
28
|
exports.EVENT_STATUS = event_1.EVENT_STATUS;
|
|
29
29
|
exports.OFFICE = event_1.OFFICE;
|
|
30
|
+
const extracurricular_activity_1 = require("./model/extracurricular-activity");
|
|
31
|
+
exports.ExtracurricularActivity = extracurricular_activity_1.ExtracurricularActivity;
|
|
32
|
+
exports.EXTRACURRICULAR_ACTIVITY_CATEGORY = extracurricular_activity_1.EXTRACURRICULAR_ACTIVITY_CATEGORY;
|
|
30
33
|
const file_access_1 = require("./model/file-access");
|
|
31
34
|
exports.FileAccess = file_access_1.FileAccess;
|
|
32
35
|
const file_category_1 = require("./model/file-category");
|
|
@@ -39,6 +42,8 @@ exports.LOG_TYPE = log_1.LOG_TYPE;
|
|
|
39
42
|
exports.LOG_ACTION = log_1.LOG_ACTION;
|
|
40
43
|
const guardian_1 = require("./model/guardian");
|
|
41
44
|
exports.Guardian = guardian_1.Guardian;
|
|
45
|
+
const high_school_record_1 = require("./model/high-school-record");
|
|
46
|
+
exports.HighSchoolRecord = high_school_record_1.HighSchoolRecord;
|
|
42
47
|
const journey_stage_1 = require("./model/journey-stage");
|
|
43
48
|
exports.JourneyStage = journey_stage_1.JourneyStage;
|
|
44
49
|
const journey_to_student_1 = require("./model/journey-to-student");
|
|
@@ -109,10 +114,14 @@ exports.LSATReport = test_report_1.LSATReport;
|
|
|
109
114
|
exports.MCATReport = test_report_1.MCATReport;
|
|
110
115
|
exports.ISATReport = test_report_1.ISATReport;
|
|
111
116
|
exports.BMATReport = test_report_1.BMATReport;
|
|
117
|
+
const test_score_1 = require("./model/test-score");
|
|
118
|
+
exports.TestScore = test_score_1.TestScore;
|
|
112
119
|
const test_section_1 = require("./model/test-section");
|
|
113
120
|
exports.TestSection = test_section_1.TestSection;
|
|
114
121
|
const test_1 = require("./model/test");
|
|
115
122
|
exports.Test = test_1.Test;
|
|
123
|
+
const university_preference_1 = require("./model/university-preference");
|
|
124
|
+
exports.UniversityPreference = university_preference_1.UniversityPreference;
|
|
116
125
|
const user_preference_1 = require("./model/user-preference");
|
|
117
126
|
exports.UserPreference = user_preference_1.UserPreference;
|
|
118
127
|
const user_to_guardian_1 = require("./model/user-to-guardian");
|
|
@@ -135,6 +144,8 @@ const event_2 = require("./constant/event");
|
|
|
135
144
|
exports.EVENT_CATEGORY_VALUES = event_2.EVENT_CATEGORY_VALUES;
|
|
136
145
|
exports.EVENT_VISIBILITY_VALUES = event_2.EVENT_VISIBILITY_VALUES;
|
|
137
146
|
exports.EVENT_STATUS_VALUES = event_2.EVENT_STATUS_VALUES;
|
|
147
|
+
const extracurricular_activity_2 = require("./constant/extracurricular-activity");
|
|
148
|
+
exports.EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES = extracurricular_activity_2.EXTRACURRICULAR_ACTIVITY_CATEGORY_VALUES;
|
|
138
149
|
const guardian_2 = require("./constant/guardian");
|
|
139
150
|
exports.GUARDIAN_RELATIONSHIP_VALUES = guardian_2.GUARDIAN_RELATIONSHIP_VALUES;
|
|
140
151
|
const nationality_1 = require("./constant/nationality");
|
|
@@ -150,6 +161,9 @@ exports.SALE_SUB_TYPE_VALUES = sale_2.SALE_SUB_TYPE_VALUES;
|
|
|
150
161
|
const school_2 = require("./constant/school");
|
|
151
162
|
exports.EDUCATION_SYSTEM_VALUES = school_2.EDUCATION_SYSTEM_VALUES;
|
|
152
163
|
exports.SCHOOL_VALUES = school_2.SCHOOL_VALUES;
|
|
164
|
+
exports.COURSES = school_2.COURSES;
|
|
165
|
+
exports.COURSE_SUBJECTS = school_2.COURSE_SUBJECTS;
|
|
166
|
+
exports.AREA_OF_STUDIES = school_2.AREA_OF_STUDIES;
|
|
153
167
|
const student_service_2 = require("./constant/student-service");
|
|
154
168
|
exports.STUDENT_SERVICE_VALUES = student_service_2.STUDENT_SERVICE_VALUES;
|
|
155
169
|
exports.UNDERGRAD_TEST_SERVICES = student_service_2.UNDERGRAD_TEST_SERVICES;
|
|
@@ -164,5 +178,9 @@ exports.TEST_PREP_TARGETS = student_service_2.TEST_PREP_TARGETS;
|
|
|
164
178
|
exports.ADMISSIONS_TARGETS = student_service_2.ADMISSIONS_TARGETS;
|
|
165
179
|
exports.UNDERGRAD_ALL_SERVICES = student_service_2.UNDERGRAD_ALL_SERVICES;
|
|
166
180
|
exports.POSTGRAD_ALL_SERVICES = student_service_2.POSTGRAD_ALL_SERVICES;
|
|
181
|
+
const university_preference_2 = require("./constant/university-preference");
|
|
182
|
+
exports.UNI_PREF_SIZES = university_preference_2.UNI_PREF_SIZES;
|
|
183
|
+
exports.UNI_PREF_SETTINGS = university_preference_2.UNI_PREF_SETTINGS;
|
|
184
|
+
exports.UNI_PREF_LOCATIONS = university_preference_2.UNI_PREF_LOCATIONS;
|
|
167
185
|
const user_2 = require("./constant/user");
|
|
168
186
|
exports.USER_STATUS_VALUES = user_2.USER_STATUS_VALUES;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { User } from './user';
|
|
2
|
+
export declare enum EXTRACURRICULAR_ACTIVITY_CATEGORY {
|
|
3
|
+
ACADEMIC = 1,
|
|
4
|
+
SPORTS = 2,
|
|
5
|
+
VOLUNTEERING = 3,
|
|
6
|
+
WORK_EXPERIENCE = 4,
|
|
7
|
+
HOBBIES_INTEREST = 5
|
|
8
|
+
}
|
|
9
|
+
export declare class ExtracurricularActivity {
|
|
10
|
+
id: number;
|
|
11
|
+
title: string;
|
|
12
|
+
category: EXTRACURRICULAR_ACTIVITY_CATEGORY;
|
|
13
|
+
from: Date;
|
|
14
|
+
to: Date;
|
|
15
|
+
role: string;
|
|
16
|
+
details: string;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
userId: number;
|
|
20
|
+
user: User;
|
|
21
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const typeorm_1 = require("typeorm");
|
|
5
|
+
const user_1 = require("./user");
|
|
6
|
+
var EXTRACURRICULAR_ACTIVITY_CATEGORY;
|
|
7
|
+
(function (EXTRACURRICULAR_ACTIVITY_CATEGORY) {
|
|
8
|
+
EXTRACURRICULAR_ACTIVITY_CATEGORY[EXTRACURRICULAR_ACTIVITY_CATEGORY["ACADEMIC"] = 1] = "ACADEMIC";
|
|
9
|
+
EXTRACURRICULAR_ACTIVITY_CATEGORY[EXTRACURRICULAR_ACTIVITY_CATEGORY["SPORTS"] = 2] = "SPORTS";
|
|
10
|
+
EXTRACURRICULAR_ACTIVITY_CATEGORY[EXTRACURRICULAR_ACTIVITY_CATEGORY["VOLUNTEERING"] = 3] = "VOLUNTEERING";
|
|
11
|
+
EXTRACURRICULAR_ACTIVITY_CATEGORY[EXTRACURRICULAR_ACTIVITY_CATEGORY["WORK_EXPERIENCE"] = 4] = "WORK_EXPERIENCE";
|
|
12
|
+
EXTRACURRICULAR_ACTIVITY_CATEGORY[EXTRACURRICULAR_ACTIVITY_CATEGORY["HOBBIES_INTEREST"] = 5] = "HOBBIES_INTEREST";
|
|
13
|
+
})(EXTRACURRICULAR_ACTIVITY_CATEGORY = exports.EXTRACURRICULAR_ACTIVITY_CATEGORY || (exports.EXTRACURRICULAR_ACTIVITY_CATEGORY = {}));
|
|
14
|
+
let ExtracurricularActivity = class ExtracurricularActivity {
|
|
15
|
+
};
|
|
16
|
+
tslib_1.__decorate([
|
|
17
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
18
|
+
tslib_1.__metadata("design:type", Number)
|
|
19
|
+
], ExtracurricularActivity.prototype, "id", void 0);
|
|
20
|
+
tslib_1.__decorate([
|
|
21
|
+
typeorm_1.Column({ type: 'varchar', length: 256 }),
|
|
22
|
+
tslib_1.__metadata("design:type", String)
|
|
23
|
+
], ExtracurricularActivity.prototype, "title", void 0);
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
typeorm_1.Column({ type: 'enum', enum: EXTRACURRICULAR_ACTIVITY_CATEGORY }),
|
|
26
|
+
tslib_1.__metadata("design:type", Number)
|
|
27
|
+
], ExtracurricularActivity.prototype, "category", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
typeorm_1.Column({ type: 'date' }),
|
|
30
|
+
tslib_1.__metadata("design:type", Date)
|
|
31
|
+
], ExtracurricularActivity.prototype, "from", void 0);
|
|
32
|
+
tslib_1.__decorate([
|
|
33
|
+
typeorm_1.Column({ type: 'date' }),
|
|
34
|
+
tslib_1.__metadata("design:type", Date)
|
|
35
|
+
], ExtracurricularActivity.prototype, "to", void 0);
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
typeorm_1.Column({ type: 'varchar', length: 256 }),
|
|
38
|
+
tslib_1.__metadata("design:type", String)
|
|
39
|
+
], ExtracurricularActivity.prototype, "role", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
typeorm_1.Column({ type: 'text' }),
|
|
42
|
+
tslib_1.__metadata("design:type", String)
|
|
43
|
+
], ExtracurricularActivity.prototype, "details", void 0);
|
|
44
|
+
tslib_1.__decorate([
|
|
45
|
+
typeorm_1.CreateDateColumn(),
|
|
46
|
+
tslib_1.__metadata("design:type", Date)
|
|
47
|
+
], ExtracurricularActivity.prototype, "createdAt", void 0);
|
|
48
|
+
tslib_1.__decorate([
|
|
49
|
+
typeorm_1.UpdateDateColumn(),
|
|
50
|
+
tslib_1.__metadata("design:type", Date)
|
|
51
|
+
], ExtracurricularActivity.prototype, "updatedAt", void 0);
|
|
52
|
+
tslib_1.__decorate([
|
|
53
|
+
typeorm_1.Column({ type: 'int' }),
|
|
54
|
+
tslib_1.__metadata("design:type", Number)
|
|
55
|
+
], ExtracurricularActivity.prototype, "userId", void 0);
|
|
56
|
+
tslib_1.__decorate([
|
|
57
|
+
typeorm_1.ManyToOne(type => user_1.User, user => user.extracurricularActivities),
|
|
58
|
+
typeorm_1.JoinColumn(),
|
|
59
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
60
|
+
], ExtracurricularActivity.prototype, "user", void 0);
|
|
61
|
+
ExtracurricularActivity = tslib_1.__decorate([
|
|
62
|
+
typeorm_1.Entity({ name: 'extracurricular_activities' })
|
|
63
|
+
], ExtracurricularActivity);
|
|
64
|
+
exports.ExtracurricularActivity = ExtracurricularActivity;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EducationSystem } from './education-system';
|
|
2
|
+
import { School } from './school';
|
|
3
|
+
import { User } from './user';
|
|
4
|
+
export declare class HighSchoolRecord {
|
|
5
|
+
id: number;
|
|
6
|
+
currentGrade: string;
|
|
7
|
+
yearEnterCollege: number;
|
|
8
|
+
areaOfStudy: string;
|
|
9
|
+
courseGrades: string;
|
|
10
|
+
educationSystemId: number;
|
|
11
|
+
schoolId: number;
|
|
12
|
+
userId: number;
|
|
13
|
+
school: School;
|
|
14
|
+
educationSystem: EducationSystem;
|
|
15
|
+
user: User;
|
|
16
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const typeorm_1 = require("typeorm");
|
|
5
|
+
const education_system_1 = require("./education-system");
|
|
6
|
+
const school_1 = require("./school");
|
|
7
|
+
const user_1 = require("./user");
|
|
8
|
+
let HighSchoolRecord = class HighSchoolRecord {
|
|
9
|
+
};
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], HighSchoolRecord.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
17
|
+
], HighSchoolRecord.prototype, "currentGrade", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
typeorm_1.Column({ type: 'int' }),
|
|
20
|
+
tslib_1.__metadata("design:type", Number)
|
|
21
|
+
], HighSchoolRecord.prototype, "yearEnterCollege", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], HighSchoolRecord.prototype, "areaOfStudy", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
typeorm_1.Column({ type: 'text', default: '[]' }),
|
|
28
|
+
tslib_1.__metadata("design:type", String)
|
|
29
|
+
], HighSchoolRecord.prototype, "courseGrades", void 0);
|
|
30
|
+
tslib_1.__decorate([
|
|
31
|
+
typeorm_1.Column({ type: 'int' }),
|
|
32
|
+
tslib_1.__metadata("design:type", Number)
|
|
33
|
+
], HighSchoolRecord.prototype, "educationSystemId", void 0);
|
|
34
|
+
tslib_1.__decorate([
|
|
35
|
+
typeorm_1.Column({ type: 'int' }),
|
|
36
|
+
tslib_1.__metadata("design:type", Number)
|
|
37
|
+
], HighSchoolRecord.prototype, "schoolId", void 0);
|
|
38
|
+
tslib_1.__decorate([
|
|
39
|
+
typeorm_1.Column({ type: 'int' }),
|
|
40
|
+
tslib_1.__metadata("design:type", Number)
|
|
41
|
+
], HighSchoolRecord.prototype, "userId", void 0);
|
|
42
|
+
tslib_1.__decorate([
|
|
43
|
+
typeorm_1.ManyToOne(type => school_1.School),
|
|
44
|
+
typeorm_1.JoinColumn(),
|
|
45
|
+
tslib_1.__metadata("design:type", school_1.School)
|
|
46
|
+
], HighSchoolRecord.prototype, "school", void 0);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
typeorm_1.ManyToOne(type => education_system_1.EducationSystem),
|
|
49
|
+
typeorm_1.JoinColumn(),
|
|
50
|
+
tslib_1.__metadata("design:type", education_system_1.EducationSystem)
|
|
51
|
+
], HighSchoolRecord.prototype, "educationSystem", void 0);
|
|
52
|
+
tslib_1.__decorate([
|
|
53
|
+
typeorm_1.OneToOne(type => user_1.User, user => user.highSchoolRecord),
|
|
54
|
+
typeorm_1.JoinColumn(),
|
|
55
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
56
|
+
], HighSchoolRecord.prototype, "user", void 0);
|
|
57
|
+
HighSchoolRecord = tslib_1.__decorate([
|
|
58
|
+
typeorm_1.Entity({ name: 'high_school_records' })
|
|
59
|
+
], HighSchoolRecord);
|
|
60
|
+
exports.HighSchoolRecord = HighSchoolRecord;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const typeorm_1 = require("typeorm");
|
|
5
|
+
let HighSchool = class HighSchool {
|
|
6
|
+
};
|
|
7
|
+
tslib_1.__decorate([
|
|
8
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
9
|
+
tslib_1.__metadata("design:type", Number)
|
|
10
|
+
], HighSchool.prototype, "id", void 0);
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], HighSchool.prototype, "name", void 0);
|
|
15
|
+
HighSchool = tslib_1.__decorate([
|
|
16
|
+
typeorm_1.Entity({ name: 'high_schools' })
|
|
17
|
+
], HighSchool);
|
|
18
|
+
exports.HighSchool = HighSchool;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const typeorm_1 = require("typeorm");
|
|
5
|
+
const user_1 = require("./user");
|
|
6
|
+
let TestScore = class TestScore {
|
|
7
|
+
};
|
|
8
|
+
tslib_1.__decorate([
|
|
9
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
10
|
+
tslib_1.__metadata("design:type", Number)
|
|
11
|
+
], TestScore.prototype, "id", void 0);
|
|
12
|
+
tslib_1.__decorate([
|
|
13
|
+
typeorm_1.Column({ type: 'int' }),
|
|
14
|
+
tslib_1.__metadata("design:type", Number)
|
|
15
|
+
], TestScore.prototype, "studentServiceId", void 0);
|
|
16
|
+
tslib_1.__decorate([
|
|
17
|
+
typeorm_1.Column({ type: 'boolean' }),
|
|
18
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
19
|
+
], TestScore.prototype, "isOfficial", void 0);
|
|
20
|
+
tslib_1.__decorate([
|
|
21
|
+
typeorm_1.Column({ type: 'date' }),
|
|
22
|
+
tslib_1.__metadata("design:type", Date)
|
|
23
|
+
], TestScore.prototype, "date", void 0);
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
typeorm_1.Column({ type: 'text' }),
|
|
26
|
+
tslib_1.__metadata("design:type", String)
|
|
27
|
+
], TestScore.prototype, "scores", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
typeorm_1.CreateDateColumn(),
|
|
30
|
+
tslib_1.__metadata("design:type", Date)
|
|
31
|
+
], TestScore.prototype, "createdAt", void 0);
|
|
32
|
+
tslib_1.__decorate([
|
|
33
|
+
typeorm_1.UpdateDateColumn(),
|
|
34
|
+
tslib_1.__metadata("design:type", Date)
|
|
35
|
+
], TestScore.prototype, "updatedAt", void 0);
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
typeorm_1.Column({ type: 'int' }),
|
|
38
|
+
tslib_1.__metadata("design:type", Number)
|
|
39
|
+
], TestScore.prototype, "userId", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
typeorm_1.ManyToOne(type => user_1.User, user => user.testScores),
|
|
42
|
+
typeorm_1.JoinColumn(),
|
|
43
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
44
|
+
], TestScore.prototype, "user", void 0);
|
|
45
|
+
TestScore = tslib_1.__decorate([
|
|
46
|
+
typeorm_1.Entity({ name: 'test_scores' })
|
|
47
|
+
], TestScore);
|
|
48
|
+
exports.TestScore = TestScore;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { User } from './user';
|
|
2
|
+
export declare class UniversityPreference {
|
|
3
|
+
id: number;
|
|
4
|
+
location: string;
|
|
5
|
+
settings: string;
|
|
6
|
+
size: string;
|
|
7
|
+
interest: string;
|
|
8
|
+
criteria: string;
|
|
9
|
+
uninterest: string;
|
|
10
|
+
avoidance: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
userId: number;
|
|
14
|
+
user: User;
|
|
15
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const typeorm_1 = require("typeorm");
|
|
5
|
+
const user_1 = require("./user");
|
|
6
|
+
let UniversityPreference = class UniversityPreference {
|
|
7
|
+
};
|
|
8
|
+
tslib_1.__decorate([
|
|
9
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
10
|
+
tslib_1.__metadata("design:type", Number)
|
|
11
|
+
], UniversityPreference.prototype, "id", void 0);
|
|
12
|
+
tslib_1.__decorate([
|
|
13
|
+
typeorm_1.Column({ type: 'text' }),
|
|
14
|
+
tslib_1.__metadata("design:type", String)
|
|
15
|
+
], UniversityPreference.prototype, "location", void 0);
|
|
16
|
+
tslib_1.__decorate([
|
|
17
|
+
typeorm_1.Column({ type: 'text' }),
|
|
18
|
+
tslib_1.__metadata("design:type", String)
|
|
19
|
+
], UniversityPreference.prototype, "settings", void 0);
|
|
20
|
+
tslib_1.__decorate([
|
|
21
|
+
typeorm_1.Column({ type: 'text' }),
|
|
22
|
+
tslib_1.__metadata("design:type", String)
|
|
23
|
+
], UniversityPreference.prototype, "size", void 0);
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
typeorm_1.Column({ type: 'text' }),
|
|
26
|
+
tslib_1.__metadata("design:type", String)
|
|
27
|
+
], UniversityPreference.prototype, "interest", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
typeorm_1.Column({ type: 'text' }),
|
|
30
|
+
tslib_1.__metadata("design:type", String)
|
|
31
|
+
], UniversityPreference.prototype, "criteria", void 0);
|
|
32
|
+
tslib_1.__decorate([
|
|
33
|
+
typeorm_1.Column({ type: 'text' }),
|
|
34
|
+
tslib_1.__metadata("design:type", String)
|
|
35
|
+
], UniversityPreference.prototype, "uninterest", void 0);
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
typeorm_1.Column({ type: 'text' }),
|
|
38
|
+
tslib_1.__metadata("design:type", String)
|
|
39
|
+
], UniversityPreference.prototype, "avoidance", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
typeorm_1.CreateDateColumn(),
|
|
42
|
+
tslib_1.__metadata("design:type", Date)
|
|
43
|
+
], UniversityPreference.prototype, "createdAt", void 0);
|
|
44
|
+
tslib_1.__decorate([
|
|
45
|
+
typeorm_1.UpdateDateColumn(),
|
|
46
|
+
tslib_1.__metadata("design:type", Date)
|
|
47
|
+
], UniversityPreference.prototype, "updatedAt", void 0);
|
|
48
|
+
tslib_1.__decorate([
|
|
49
|
+
typeorm_1.Column({ type: 'int' }),
|
|
50
|
+
tslib_1.__metadata("design:type", Number)
|
|
51
|
+
], UniversityPreference.prototype, "userId", void 0);
|
|
52
|
+
tslib_1.__decorate([
|
|
53
|
+
typeorm_1.OneToOne(type => user_1.User, user => user.universityPreference),
|
|
54
|
+
typeorm_1.JoinColumn(),
|
|
55
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
56
|
+
], UniversityPreference.prototype, "user", void 0);
|
|
57
|
+
UniversityPreference = tslib_1.__decorate([
|
|
58
|
+
typeorm_1.Entity({ name: 'university_preferences' })
|
|
59
|
+
], UniversityPreference);
|
|
60
|
+
exports.UniversityPreference = UniversityPreference;
|
package/lib/model/user.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AccessToken } from './access-token';
|
|
2
2
|
import { FileAccess } from './file-access';
|
|
3
3
|
import { Guardian } from './guardian';
|
|
4
|
+
import { HighSchoolRecord } from './high-school-record';
|
|
4
5
|
import { Journey } from './journey';
|
|
5
6
|
import { JourneyToStudent } from './journey-to-student';
|
|
6
7
|
import { PartTimeAssignment } from './part-time-assignment';
|
|
@@ -17,6 +18,9 @@ import { TestAttempt } from './test-attempt';
|
|
|
17
18
|
import { UserPreference } from './user-preference';
|
|
18
19
|
import { UserToGuardian } from './user-to-guardian';
|
|
19
20
|
import { EventToUser } from './event-to-user';
|
|
21
|
+
import { UniversityPreference } from './university-preference';
|
|
22
|
+
import { ExtracurricularActivity } from './extracurricular-activity';
|
|
23
|
+
import { TestScore } from './test-score';
|
|
20
24
|
export declare enum USER_ROLE {
|
|
21
25
|
SUPER_ADMIN = 1,
|
|
22
26
|
ADMIN = 2,
|
|
@@ -63,6 +67,10 @@ export declare class User {
|
|
|
63
67
|
staffHour: StaffHour;
|
|
64
68
|
userPreferences: UserPreference[];
|
|
65
69
|
partTimeAssignments: PartTimeAssignment[];
|
|
70
|
+
highSchoolRecord: HighSchoolRecord;
|
|
71
|
+
universityPreference: UniversityPreference;
|
|
72
|
+
extracurricularActivities: ExtracurricularActivity[];
|
|
73
|
+
testScores: TestScore[];
|
|
66
74
|
constructor(data?: any);
|
|
67
75
|
getCreatedAtString(): string;
|
|
68
76
|
}
|
package/lib/model/user.js
CHANGED
|
@@ -6,6 +6,7 @@ const moment_1 = tslib_1.__importDefault(require("moment"));
|
|
|
6
6
|
const access_token_1 = require("./access-token");
|
|
7
7
|
const file_access_1 = require("./file-access");
|
|
8
8
|
const guardian_1 = require("./guardian");
|
|
9
|
+
const high_school_record_1 = require("./high-school-record");
|
|
9
10
|
const journey_1 = require("./journey");
|
|
10
11
|
const journey_to_student_1 = require("./journey-to-student");
|
|
11
12
|
const part_time_assignment_1 = require("./part-time-assignment");
|
|
@@ -22,6 +23,9 @@ const test_attempt_1 = require("./test-attempt");
|
|
|
22
23
|
const user_preference_1 = require("./user-preference");
|
|
23
24
|
const user_to_guardian_1 = require("./user-to-guardian");
|
|
24
25
|
const event_to_user_1 = require("./event-to-user");
|
|
26
|
+
const university_preference_1 = require("./university-preference");
|
|
27
|
+
const extracurricular_activity_1 = require("./extracurricular-activity");
|
|
28
|
+
const test_score_1 = require("./test-score");
|
|
25
29
|
var USER_ROLE;
|
|
26
30
|
(function (USER_ROLE) {
|
|
27
31
|
USER_ROLE[USER_ROLE["SUPER_ADMIN"] = 1] = "SUPER_ADMIN";
|
|
@@ -183,6 +187,22 @@ tslib_1.__decorate([
|
|
|
183
187
|
typeorm_1.OneToMany(type => part_time_assignment_1.PartTimeAssignment, pta => pta.trainer),
|
|
184
188
|
tslib_1.__metadata("design:type", Array)
|
|
185
189
|
], User.prototype, "partTimeAssignments", void 0);
|
|
190
|
+
tslib_1.__decorate([
|
|
191
|
+
typeorm_1.OneToOne(type => high_school_record_1.HighSchoolRecord, h => h.user),
|
|
192
|
+
tslib_1.__metadata("design:type", high_school_record_1.HighSchoolRecord)
|
|
193
|
+
], User.prototype, "highSchoolRecord", void 0);
|
|
194
|
+
tslib_1.__decorate([
|
|
195
|
+
typeorm_1.OneToOne(type => university_preference_1.UniversityPreference, u => u.user),
|
|
196
|
+
tslib_1.__metadata("design:type", university_preference_1.UniversityPreference)
|
|
197
|
+
], User.prototype, "universityPreference", void 0);
|
|
198
|
+
tslib_1.__decorate([
|
|
199
|
+
typeorm_1.OneToMany(type => extracurricular_activity_1.ExtracurricularActivity, u => u.user),
|
|
200
|
+
tslib_1.__metadata("design:type", Array)
|
|
201
|
+
], User.prototype, "extracurricularActivities", void 0);
|
|
202
|
+
tslib_1.__decorate([
|
|
203
|
+
typeorm_1.OneToMany(type => test_score_1.TestScore, u => u.user),
|
|
204
|
+
tslib_1.__metadata("design:type", Array)
|
|
205
|
+
], User.prototype, "testScores", void 0);
|
|
186
206
|
User = tslib_1.__decorate([
|
|
187
207
|
typeorm_1.Entity({ name: 'users' }),
|
|
188
208
|
tslib_1.__metadata("design:paramtypes", [Object])
|