@taiger-common/core 1.0.4 → 1.0.6
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 +6 -0
- package/dist/cjs/constants/documents.js +55 -0
- package/dist/cjs/constants/index.js +2 -0
- package/dist/cjs/constants/programs.js +66 -1
- package/dist/cjs/constants/users.js +12 -0
- package/dist/cjs/utils/checking-functions.js +13 -12
- package/dist/esm/constants/documents.js +52 -0
- package/dist/esm/constants/index.js +2 -0
- package/dist/esm/constants/programs.js +65 -0
- package/dist/esm/constants/users.js +9 -0
- package/dist/esm/utils/checking-functions.js +13 -12
- package/dist/types/constants/documents.d.ts +49 -0
- package/dist/types/constants/index.d.ts +2 -0
- package/dist/types/constants/programs.d.ts +48 -0
- package/dist/types/constants/users.d.ts +9 -0
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
npm publish package commands:
|
|
2
2
|
|
|
3
|
+
# Cleanup
|
|
4
|
+
npm run clean
|
|
5
|
+
|
|
3
6
|
# Stage, commit, and push changes
|
|
4
7
|
git add .
|
|
5
8
|
git commit -m "fix: your_commit"
|
|
6
9
|
git push origin main
|
|
7
10
|
|
|
11
|
+
# Run build
|
|
12
|
+
npm run build
|
|
13
|
+
|
|
8
14
|
# Bump version
|
|
9
15
|
npm version patch # or minor/major
|
|
10
16
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PROFILE_NAME = exports.ProfileNameType = exports.DocumentStatusType = void 0;
|
|
5
|
+
var DocumentStatusType;
|
|
6
|
+
(function (DocumentStatusType) {
|
|
7
|
+
DocumentStatusType["Uploaded"] = "uploaded";
|
|
8
|
+
DocumentStatusType["Missing"] = "missing";
|
|
9
|
+
DocumentStatusType["Accepted"] = "accepted";
|
|
10
|
+
DocumentStatusType["Rejected"] = "rejected";
|
|
11
|
+
DocumentStatusType["NotNeeded"] = "notneeded";
|
|
12
|
+
})(DocumentStatusType = exports.DocumentStatusType || (exports.DocumentStatusType = {}));
|
|
13
|
+
var ProfileNameType;
|
|
14
|
+
(function (ProfileNameType) {
|
|
15
|
+
ProfileNameType["High_School_Diploma"] = "High_School_Diploma";
|
|
16
|
+
ProfileNameType["High_School_Transcript"] = "High_School_Transcript";
|
|
17
|
+
ProfileNameType["University_Entrance_Examination_GSAT"] = "University_Entrance_Examination_GSAT";
|
|
18
|
+
ProfileNameType["Bachelor_Certificate"] = "Bachelor_Certificate";
|
|
19
|
+
ProfileNameType["Bachelor_Transcript"] = "Bachelor_Transcript";
|
|
20
|
+
ProfileNameType["Second_Degree_Certificate"] = "Second_Degree_Certificate";
|
|
21
|
+
ProfileNameType["Second_Degree_Transcript"] = "Second_Degree_Transcript";
|
|
22
|
+
ProfileNameType["Englisch_Certificate"] = "Englisch_Certificate";
|
|
23
|
+
ProfileNameType["German_Certificate"] = "German_Certificate";
|
|
24
|
+
ProfileNameType["GRE"] = "GRE";
|
|
25
|
+
ProfileNameType["GMAT"] = "GMAT";
|
|
26
|
+
ProfileNameType["ECTS_Conversion"] = "ECTS_Conversion";
|
|
27
|
+
ProfileNameType["Course_Description"] = "Course_Description";
|
|
28
|
+
ProfileNameType["Internship"] = "Internship";
|
|
29
|
+
ProfileNameType["Exchange_Student_Certificate"] = "Exchange_Student_Certificate";
|
|
30
|
+
ProfileNameType["Employment_Certificate"] = "Employment_Certificate";
|
|
31
|
+
ProfileNameType["Passport_Photo"] = "Passport_Photo";
|
|
32
|
+
ProfileNameType["Passport"] = "Passport";
|
|
33
|
+
ProfileNameType["Others"] = "Others";
|
|
34
|
+
})(ProfileNameType = exports.ProfileNameType || (exports.ProfileNameType = {}));
|
|
35
|
+
exports.PROFILE_NAME = (_a = {},
|
|
36
|
+
_a[ProfileNameType.High_School_Diploma] = 'High School Diploma',
|
|
37
|
+
_a[ProfileNameType.High_School_Transcript] = 'High School Transcript',
|
|
38
|
+
_a[ProfileNameType.University_Entrance_Examination_GSAT] = 'GSAT/SAT/TVE/IB Test',
|
|
39
|
+
_a[ProfileNameType.Bachelor_Certificate] = 'Bachelor Certificate/Enrolment',
|
|
40
|
+
_a[ProfileNameType.Bachelor_Transcript] = 'Bachelor Transcript',
|
|
41
|
+
_a[ProfileNameType.Second_Degree_Certificate] = 'Second Degree Certificate/Enrolment',
|
|
42
|
+
_a[ProfileNameType.Second_Degree_Transcript] = 'Second Degree Transcript',
|
|
43
|
+
_a[ProfileNameType.Englisch_Certificate] = 'TOEFL or IELTS',
|
|
44
|
+
_a[ProfileNameType.German_Certificate] = 'TestDaF or Goethe B2/C1',
|
|
45
|
+
_a[ProfileNameType.GRE] = 'GRE',
|
|
46
|
+
_a[ProfileNameType.GMAT] = 'GMAT',
|
|
47
|
+
_a[ProfileNameType.ECTS_Conversion] = 'ECTS Conversion',
|
|
48
|
+
_a[ProfileNameType.Course_Description] = 'Course Description',
|
|
49
|
+
_a[ProfileNameType.Internship] = 'Internship Certificate',
|
|
50
|
+
_a[ProfileNameType.Exchange_Student_Certificate] = 'Exchange Student Certificate',
|
|
51
|
+
_a[ProfileNameType.Employment_Certificate] = 'Employment Certificate',
|
|
52
|
+
_a[ProfileNameType.Passport_Photo] = 'Formal Profile Photo',
|
|
53
|
+
_a[ProfileNameType.Passport] = 'Passport Copy',
|
|
54
|
+
_a[ProfileNameType.Others] = 'Others',
|
|
55
|
+
_a);
|
|
@@ -14,4 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./documents"), exports);
|
|
17
18
|
__exportStar(require("./programs"), exports);
|
|
19
|
+
__exportStar(require("./users"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var _a;
|
|
2
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PROGRAM_SUBJECTS = void 0;
|
|
4
|
+
exports.SCHOOL_TAGS = exports.SCHOOL_TYPES = exports.PROGRAM_SUBJECTS = void 0;
|
|
4
5
|
exports.PROGRAM_SUBJECTS = {
|
|
5
6
|
LING: {
|
|
6
7
|
label: 'Linguistics',
|
|
@@ -223,3 +224,67 @@ exports.PROGRAM_SUBJECTS = {
|
|
|
223
224
|
category: 'SSM'
|
|
224
225
|
}
|
|
225
226
|
};
|
|
227
|
+
var SchoolType;
|
|
228
|
+
(function (SchoolType) {
|
|
229
|
+
SchoolType["University"] = "University";
|
|
230
|
+
SchoolType["University_of_Applied_Sciences"] = "University_of_Applied_Sciences";
|
|
231
|
+
})(SchoolType || (SchoolType = {}));
|
|
232
|
+
exports.SCHOOL_TYPES = [
|
|
233
|
+
SchoolType.University,
|
|
234
|
+
SchoolType.University_of_Applied_Sciences
|
|
235
|
+
];
|
|
236
|
+
var Category;
|
|
237
|
+
(function (Category) {
|
|
238
|
+
Category["TU9"] = "TU9";
|
|
239
|
+
Category["U15"] = "U15";
|
|
240
|
+
Category["EUROTECH"] = "EUROTECH";
|
|
241
|
+
Category["GERMAN_ELITE"] = "GERMAN_ELITE";
|
|
242
|
+
Category["TOP50"] = "TOP50";
|
|
243
|
+
Category["TIME"] = "TIME";
|
|
244
|
+
Category["TOP100"] = "TOP100";
|
|
245
|
+
Category["TOP150"] = "TOP150";
|
|
246
|
+
Category["TOP250"] = "TOP250";
|
|
247
|
+
Category["TOP500"] = "TOP500";
|
|
248
|
+
})(Category || (Category = {}));
|
|
249
|
+
exports.SCHOOL_TAGS = (_a = {},
|
|
250
|
+
_a[Category.U15] = {
|
|
251
|
+
label: 'U15',
|
|
252
|
+
category: 'U15'
|
|
253
|
+
},
|
|
254
|
+
_a[Category.TU9] = {
|
|
255
|
+
label: 'TU9 German Universities of Technology',
|
|
256
|
+
category: 'TU9'
|
|
257
|
+
},
|
|
258
|
+
_a[Category.EUROTECH] = {
|
|
259
|
+
label: 'EuroTech Universities Alliance',
|
|
260
|
+
category: 'EUROTECH'
|
|
261
|
+
},
|
|
262
|
+
_a[Category.GERMAN_ELITE] = {
|
|
263
|
+
label: 'German Excellence Initiative',
|
|
264
|
+
category: 'GERMAN_ELITE'
|
|
265
|
+
},
|
|
266
|
+
_a[Category.TIME] = {
|
|
267
|
+
label: 'Top International Managers in Engineering',
|
|
268
|
+
category: 'TIME'
|
|
269
|
+
},
|
|
270
|
+
_a[Category.TOP50] = {
|
|
271
|
+
label: 'QS Top 50 Universities',
|
|
272
|
+
category: 'TOP50'
|
|
273
|
+
},
|
|
274
|
+
_a[Category.TOP100] = {
|
|
275
|
+
label: 'QS Top 100 Universities',
|
|
276
|
+
category: 'TOP100'
|
|
277
|
+
},
|
|
278
|
+
_a[Category.TOP150] = {
|
|
279
|
+
label: 'QS Top 150 Universities',
|
|
280
|
+
category: 'TOP150'
|
|
281
|
+
},
|
|
282
|
+
_a[Category.TOP250] = {
|
|
283
|
+
label: 'QS Top 250 Universities',
|
|
284
|
+
category: 'TOP150'
|
|
285
|
+
},
|
|
286
|
+
_a[Category.TOP500] = {
|
|
287
|
+
label: 'QS Top 500 Universities',
|
|
288
|
+
category: 'TOP500'
|
|
289
|
+
},
|
|
290
|
+
_a);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Role = void 0;
|
|
4
|
+
exports.Role = {
|
|
5
|
+
Admin: 'Admin',
|
|
6
|
+
Manager: 'Manager',
|
|
7
|
+
External: 'External',
|
|
8
|
+
Guest: 'Guest',
|
|
9
|
+
Agent: 'Agent',
|
|
10
|
+
Editor: 'Editor',
|
|
11
|
+
Student: 'Student'
|
|
12
|
+
};
|
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.is_TaiGer_Guest = exports.is_TaiGer_Student = exports.is_TaiGer_Manager = exports.is_TaiGer_Agent = exports.is_TaiGer_External = exports.is_TaiGer_Editor = exports.is_TaiGer_Admin = exports.is_TaiGer_AdminAgent = exports.is_TaiGer_role = void 0;
|
|
4
|
+
var constants_1 = require("../constants");
|
|
4
5
|
// Tested
|
|
5
6
|
var is_TaiGer_role = function (user) {
|
|
6
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
7
|
-
(user === null || user === void 0 ? void 0 : user.role) ===
|
|
8
|
-
(user === null || user === void 0 ? void 0 : user.role) ===
|
|
9
|
-
(user === null || user === void 0 ? void 0 : user.role) ===
|
|
7
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Admin ||
|
|
8
|
+
(user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Agent ||
|
|
9
|
+
(user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Editor ||
|
|
10
|
+
(user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.External;
|
|
10
11
|
};
|
|
11
12
|
exports.is_TaiGer_role = is_TaiGer_role;
|
|
12
13
|
// Tested
|
|
13
14
|
var is_TaiGer_AdminAgent = function (user) {
|
|
14
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
15
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Admin || (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Agent;
|
|
15
16
|
};
|
|
16
17
|
exports.is_TaiGer_AdminAgent = is_TaiGer_AdminAgent;
|
|
17
18
|
// Tested
|
|
18
19
|
var is_TaiGer_Admin = function (user) {
|
|
19
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
20
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Admin;
|
|
20
21
|
};
|
|
21
22
|
exports.is_TaiGer_Admin = is_TaiGer_Admin;
|
|
22
23
|
// Tested
|
|
23
24
|
var is_TaiGer_Editor = function (user) {
|
|
24
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
25
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Editor;
|
|
25
26
|
};
|
|
26
27
|
exports.is_TaiGer_Editor = is_TaiGer_Editor;
|
|
27
28
|
var is_TaiGer_External = function (user) {
|
|
28
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
29
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.External;
|
|
29
30
|
};
|
|
30
31
|
exports.is_TaiGer_External = is_TaiGer_External;
|
|
31
32
|
// Tested
|
|
32
33
|
var is_TaiGer_Agent = function (user) {
|
|
33
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
34
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Agent;
|
|
34
35
|
};
|
|
35
36
|
exports.is_TaiGer_Agent = is_TaiGer_Agent;
|
|
36
37
|
var is_TaiGer_Manager = function (user) {
|
|
37
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
38
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Manager;
|
|
38
39
|
};
|
|
39
40
|
exports.is_TaiGer_Manager = is_TaiGer_Manager;
|
|
40
41
|
// Tested
|
|
41
42
|
var is_TaiGer_Student = function (user) {
|
|
42
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
43
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Student;
|
|
43
44
|
};
|
|
44
45
|
exports.is_TaiGer_Student = is_TaiGer_Student;
|
|
45
46
|
var is_TaiGer_Guest = function (user) {
|
|
46
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
47
|
+
return (user === null || user === void 0 ? void 0 : user.role) === constants_1.Role.Guest;
|
|
47
48
|
};
|
|
48
49
|
exports.is_TaiGer_Guest = is_TaiGer_Guest;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
export var DocumentStatusType;
|
|
3
|
+
(function (DocumentStatusType) {
|
|
4
|
+
DocumentStatusType["Uploaded"] = "uploaded";
|
|
5
|
+
DocumentStatusType["Missing"] = "missing";
|
|
6
|
+
DocumentStatusType["Accepted"] = "accepted";
|
|
7
|
+
DocumentStatusType["Rejected"] = "rejected";
|
|
8
|
+
DocumentStatusType["NotNeeded"] = "notneeded";
|
|
9
|
+
})(DocumentStatusType || (DocumentStatusType = {}));
|
|
10
|
+
export var ProfileNameType;
|
|
11
|
+
(function (ProfileNameType) {
|
|
12
|
+
ProfileNameType["High_School_Diploma"] = "High_School_Diploma";
|
|
13
|
+
ProfileNameType["High_School_Transcript"] = "High_School_Transcript";
|
|
14
|
+
ProfileNameType["University_Entrance_Examination_GSAT"] = "University_Entrance_Examination_GSAT";
|
|
15
|
+
ProfileNameType["Bachelor_Certificate"] = "Bachelor_Certificate";
|
|
16
|
+
ProfileNameType["Bachelor_Transcript"] = "Bachelor_Transcript";
|
|
17
|
+
ProfileNameType["Second_Degree_Certificate"] = "Second_Degree_Certificate";
|
|
18
|
+
ProfileNameType["Second_Degree_Transcript"] = "Second_Degree_Transcript";
|
|
19
|
+
ProfileNameType["Englisch_Certificate"] = "Englisch_Certificate";
|
|
20
|
+
ProfileNameType["German_Certificate"] = "German_Certificate";
|
|
21
|
+
ProfileNameType["GRE"] = "GRE";
|
|
22
|
+
ProfileNameType["GMAT"] = "GMAT";
|
|
23
|
+
ProfileNameType["ECTS_Conversion"] = "ECTS_Conversion";
|
|
24
|
+
ProfileNameType["Course_Description"] = "Course_Description";
|
|
25
|
+
ProfileNameType["Internship"] = "Internship";
|
|
26
|
+
ProfileNameType["Exchange_Student_Certificate"] = "Exchange_Student_Certificate";
|
|
27
|
+
ProfileNameType["Employment_Certificate"] = "Employment_Certificate";
|
|
28
|
+
ProfileNameType["Passport_Photo"] = "Passport_Photo";
|
|
29
|
+
ProfileNameType["Passport"] = "Passport";
|
|
30
|
+
ProfileNameType["Others"] = "Others";
|
|
31
|
+
})(ProfileNameType || (ProfileNameType = {}));
|
|
32
|
+
export var PROFILE_NAME = (_a = {},
|
|
33
|
+
_a[ProfileNameType.High_School_Diploma] = 'High School Diploma',
|
|
34
|
+
_a[ProfileNameType.High_School_Transcript] = 'High School Transcript',
|
|
35
|
+
_a[ProfileNameType.University_Entrance_Examination_GSAT] = 'GSAT/SAT/TVE/IB Test',
|
|
36
|
+
_a[ProfileNameType.Bachelor_Certificate] = 'Bachelor Certificate/Enrolment',
|
|
37
|
+
_a[ProfileNameType.Bachelor_Transcript] = 'Bachelor Transcript',
|
|
38
|
+
_a[ProfileNameType.Second_Degree_Certificate] = 'Second Degree Certificate/Enrolment',
|
|
39
|
+
_a[ProfileNameType.Second_Degree_Transcript] = 'Second Degree Transcript',
|
|
40
|
+
_a[ProfileNameType.Englisch_Certificate] = 'TOEFL or IELTS',
|
|
41
|
+
_a[ProfileNameType.German_Certificate] = 'TestDaF or Goethe B2/C1',
|
|
42
|
+
_a[ProfileNameType.GRE] = 'GRE',
|
|
43
|
+
_a[ProfileNameType.GMAT] = 'GMAT',
|
|
44
|
+
_a[ProfileNameType.ECTS_Conversion] = 'ECTS Conversion',
|
|
45
|
+
_a[ProfileNameType.Course_Description] = 'Course Description',
|
|
46
|
+
_a[ProfileNameType.Internship] = 'Internship Certificate',
|
|
47
|
+
_a[ProfileNameType.Exchange_Student_Certificate] = 'Exchange Student Certificate',
|
|
48
|
+
_a[ProfileNameType.Employment_Certificate] = 'Employment Certificate',
|
|
49
|
+
_a[ProfileNameType.Passport_Photo] = 'Formal Profile Photo',
|
|
50
|
+
_a[ProfileNameType.Passport] = 'Passport Copy',
|
|
51
|
+
_a[ProfileNameType.Others] = 'Others',
|
|
52
|
+
_a);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
var _a;
|
|
1
2
|
export var PROGRAM_SUBJECTS = {
|
|
2
3
|
LING: {
|
|
3
4
|
label: 'Linguistics',
|
|
@@ -220,3 +221,67 @@ export var PROGRAM_SUBJECTS = {
|
|
|
220
221
|
category: 'SSM'
|
|
221
222
|
}
|
|
222
223
|
};
|
|
224
|
+
var SchoolType;
|
|
225
|
+
(function (SchoolType) {
|
|
226
|
+
SchoolType["University"] = "University";
|
|
227
|
+
SchoolType["University_of_Applied_Sciences"] = "University_of_Applied_Sciences";
|
|
228
|
+
})(SchoolType || (SchoolType = {}));
|
|
229
|
+
export var SCHOOL_TYPES = [
|
|
230
|
+
SchoolType.University,
|
|
231
|
+
SchoolType.University_of_Applied_Sciences
|
|
232
|
+
];
|
|
233
|
+
var Category;
|
|
234
|
+
(function (Category) {
|
|
235
|
+
Category["TU9"] = "TU9";
|
|
236
|
+
Category["U15"] = "U15";
|
|
237
|
+
Category["EUROTECH"] = "EUROTECH";
|
|
238
|
+
Category["GERMAN_ELITE"] = "GERMAN_ELITE";
|
|
239
|
+
Category["TOP50"] = "TOP50";
|
|
240
|
+
Category["TIME"] = "TIME";
|
|
241
|
+
Category["TOP100"] = "TOP100";
|
|
242
|
+
Category["TOP150"] = "TOP150";
|
|
243
|
+
Category["TOP250"] = "TOP250";
|
|
244
|
+
Category["TOP500"] = "TOP500";
|
|
245
|
+
})(Category || (Category = {}));
|
|
246
|
+
export var SCHOOL_TAGS = (_a = {},
|
|
247
|
+
_a[Category.U15] = {
|
|
248
|
+
label: 'U15',
|
|
249
|
+
category: 'U15'
|
|
250
|
+
},
|
|
251
|
+
_a[Category.TU9] = {
|
|
252
|
+
label: 'TU9 German Universities of Technology',
|
|
253
|
+
category: 'TU9'
|
|
254
|
+
},
|
|
255
|
+
_a[Category.EUROTECH] = {
|
|
256
|
+
label: 'EuroTech Universities Alliance',
|
|
257
|
+
category: 'EUROTECH'
|
|
258
|
+
},
|
|
259
|
+
_a[Category.GERMAN_ELITE] = {
|
|
260
|
+
label: 'German Excellence Initiative',
|
|
261
|
+
category: 'GERMAN_ELITE'
|
|
262
|
+
},
|
|
263
|
+
_a[Category.TIME] = {
|
|
264
|
+
label: 'Top International Managers in Engineering',
|
|
265
|
+
category: 'TIME'
|
|
266
|
+
},
|
|
267
|
+
_a[Category.TOP50] = {
|
|
268
|
+
label: 'QS Top 50 Universities',
|
|
269
|
+
category: 'TOP50'
|
|
270
|
+
},
|
|
271
|
+
_a[Category.TOP100] = {
|
|
272
|
+
label: 'QS Top 100 Universities',
|
|
273
|
+
category: 'TOP100'
|
|
274
|
+
},
|
|
275
|
+
_a[Category.TOP150] = {
|
|
276
|
+
label: 'QS Top 150 Universities',
|
|
277
|
+
category: 'TOP150'
|
|
278
|
+
},
|
|
279
|
+
_a[Category.TOP250] = {
|
|
280
|
+
label: 'QS Top 250 Universities',
|
|
281
|
+
category: 'TOP150'
|
|
282
|
+
},
|
|
283
|
+
_a[Category.TOP500] = {
|
|
284
|
+
label: 'QS Top 500 Universities',
|
|
285
|
+
category: 'TOP500'
|
|
286
|
+
},
|
|
287
|
+
_a);
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
+
import { Role } from '../constants';
|
|
1
2
|
// Tested
|
|
2
3
|
export var is_TaiGer_role = function (user) {
|
|
3
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
4
|
-
(user === null || user === void 0 ? void 0 : user.role) ===
|
|
5
|
-
(user === null || user === void 0 ? void 0 : user.role) ===
|
|
6
|
-
(user === null || user === void 0 ? void 0 : user.role) ===
|
|
4
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Admin ||
|
|
5
|
+
(user === null || user === void 0 ? void 0 : user.role) === Role.Agent ||
|
|
6
|
+
(user === null || user === void 0 ? void 0 : user.role) === Role.Editor ||
|
|
7
|
+
(user === null || user === void 0 ? void 0 : user.role) === Role.External;
|
|
7
8
|
};
|
|
8
9
|
// Tested
|
|
9
10
|
export var is_TaiGer_AdminAgent = function (user) {
|
|
10
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
11
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Admin || (user === null || user === void 0 ? void 0 : user.role) === Role.Agent;
|
|
11
12
|
};
|
|
12
13
|
// Tested
|
|
13
14
|
export var is_TaiGer_Admin = function (user) {
|
|
14
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
15
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Admin;
|
|
15
16
|
};
|
|
16
17
|
// Tested
|
|
17
18
|
export var is_TaiGer_Editor = function (user) {
|
|
18
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
19
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Editor;
|
|
19
20
|
};
|
|
20
21
|
export var is_TaiGer_External = function (user) {
|
|
21
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
22
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.External;
|
|
22
23
|
};
|
|
23
24
|
// Tested
|
|
24
25
|
export var is_TaiGer_Agent = function (user) {
|
|
25
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
26
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Agent;
|
|
26
27
|
};
|
|
27
28
|
export var is_TaiGer_Manager = function (user) {
|
|
28
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
29
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Manager;
|
|
29
30
|
};
|
|
30
31
|
// Tested
|
|
31
32
|
export var is_TaiGer_Student = function (user) {
|
|
32
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
33
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Student;
|
|
33
34
|
};
|
|
34
35
|
export var is_TaiGer_Guest = function (user) {
|
|
35
|
-
return (user === null || user === void 0 ? void 0 : user.role) ===
|
|
36
|
+
return (user === null || user === void 0 ? void 0 : user.role) === Role.Guest;
|
|
36
37
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare enum DocumentStatusType {
|
|
2
|
+
Uploaded = "uploaded",
|
|
3
|
+
Missing = "missing",
|
|
4
|
+
Accepted = "accepted",
|
|
5
|
+
Rejected = "rejected",
|
|
6
|
+
NotNeeded = "notneeded"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ProfileNameType {
|
|
9
|
+
High_School_Diploma = "High_School_Diploma",
|
|
10
|
+
High_School_Transcript = "High_School_Transcript",
|
|
11
|
+
University_Entrance_Examination_GSAT = "University_Entrance_Examination_GSAT",
|
|
12
|
+
Bachelor_Certificate = "Bachelor_Certificate",
|
|
13
|
+
Bachelor_Transcript = "Bachelor_Transcript",
|
|
14
|
+
Second_Degree_Certificate = "Second_Degree_Certificate",
|
|
15
|
+
Second_Degree_Transcript = "Second_Degree_Transcript",
|
|
16
|
+
Englisch_Certificate = "Englisch_Certificate",
|
|
17
|
+
German_Certificate = "German_Certificate",
|
|
18
|
+
GRE = "GRE",
|
|
19
|
+
GMAT = "GMAT",
|
|
20
|
+
ECTS_Conversion = "ECTS_Conversion",
|
|
21
|
+
Course_Description = "Course_Description",
|
|
22
|
+
Internship = "Internship",
|
|
23
|
+
Exchange_Student_Certificate = "Exchange_Student_Certificate",
|
|
24
|
+
Employment_Certificate = "Employment_Certificate",
|
|
25
|
+
Passport_Photo = "Passport_Photo",
|
|
26
|
+
Passport = "Passport",
|
|
27
|
+
Others = "Others"
|
|
28
|
+
}
|
|
29
|
+
export declare const PROFILE_NAME: {
|
|
30
|
+
High_School_Diploma: string;
|
|
31
|
+
High_School_Transcript: string;
|
|
32
|
+
University_Entrance_Examination_GSAT: string;
|
|
33
|
+
Bachelor_Certificate: string;
|
|
34
|
+
Bachelor_Transcript: string;
|
|
35
|
+
Second_Degree_Certificate: string;
|
|
36
|
+
Second_Degree_Transcript: string;
|
|
37
|
+
Englisch_Certificate: string;
|
|
38
|
+
German_Certificate: string;
|
|
39
|
+
GRE: string;
|
|
40
|
+
GMAT: string;
|
|
41
|
+
ECTS_Conversion: string;
|
|
42
|
+
Course_Description: string;
|
|
43
|
+
Internship: string;
|
|
44
|
+
Exchange_Student_Certificate: string;
|
|
45
|
+
Employment_Certificate: string;
|
|
46
|
+
Passport_Photo: string;
|
|
47
|
+
Passport: string;
|
|
48
|
+
Others: string;
|
|
49
|
+
};
|
|
@@ -220,3 +220,51 @@ export declare const PROGRAM_SUBJECTS: {
|
|
|
220
220
|
category: string;
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
+
declare enum SchoolType {
|
|
224
|
+
University = "University",
|
|
225
|
+
University_of_Applied_Sciences = "University_of_Applied_Sciences"
|
|
226
|
+
}
|
|
227
|
+
export declare const SCHOOL_TYPES: SchoolType[];
|
|
228
|
+
export declare const SCHOOL_TAGS: {
|
|
229
|
+
U15: {
|
|
230
|
+
label: string;
|
|
231
|
+
category: string;
|
|
232
|
+
};
|
|
233
|
+
TU9: {
|
|
234
|
+
label: string;
|
|
235
|
+
category: string;
|
|
236
|
+
};
|
|
237
|
+
EUROTECH: {
|
|
238
|
+
label: string;
|
|
239
|
+
category: string;
|
|
240
|
+
};
|
|
241
|
+
GERMAN_ELITE: {
|
|
242
|
+
label: string;
|
|
243
|
+
category: string;
|
|
244
|
+
};
|
|
245
|
+
TIME: {
|
|
246
|
+
label: string;
|
|
247
|
+
category: string;
|
|
248
|
+
};
|
|
249
|
+
TOP50: {
|
|
250
|
+
label: string;
|
|
251
|
+
category: string;
|
|
252
|
+
};
|
|
253
|
+
TOP100: {
|
|
254
|
+
label: string;
|
|
255
|
+
category: string;
|
|
256
|
+
};
|
|
257
|
+
TOP150: {
|
|
258
|
+
label: string;
|
|
259
|
+
category: string;
|
|
260
|
+
};
|
|
261
|
+
TOP250: {
|
|
262
|
+
label: string;
|
|
263
|
+
category: string;
|
|
264
|
+
};
|
|
265
|
+
TOP500: {
|
|
266
|
+
label: string;
|
|
267
|
+
category: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
export {};
|
package/dist/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.exampleTypescriptPackage=t():e.exampleTypescriptPackage=t()}(this,(()=>(()=>{"use strict";var e={875:function(e,t,r){var a=this&&this.__createBinding||(Object.create?function(e,t,r,a){void 0===a&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}:function(e,t,r,a){void 0===a&&(a=r),e[a]=t[r]}),n=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),n(r(430),t)},430:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PROGRAM_SUBJECTS=void 0,t.PROGRAM_SUBJECTS={LING:{label:"Linguistics",category:"AH"},MUS:{label:"Music",category:"AH"},THEO:{label:"Theology, Divinity and Religious Studies",category:"AH"},ARCH:{label:"Archaeology",category:"AH"},"ARCH-BE":{label:"Architecture and Built Environment",category:"AH"},"ART-DES":{label:"Art and Design",category:"AH"},CLAH:{label:"Classics and Ancient History",category:"AH"},ELL:{label:"English Language and Literature",category:"AH"},HIST:{label:"History",category:"AH"},ARTH:{label:"Art History",category:"AH"},"MOD-LANG":{label:"Modern Languages",category:"AH"},"PERF-ART":{label:"Performing Arts",category:"AH"},PHIL:{label:"Philosophy",category:"AH"},"CHEM-ENG":{label:"Engineering - Chemical",category:"ET"},"CIV-STR-ENG":{label:"Engineering - Civil and Structural",category:"ET"},CSIS:{label:"Computer Science and Information Systems",category:"ET"},"DS-AI":{label:"Data Science and Artificial Intelligence",category:"ET"},"ELEC-ENG":{label:"Engineering - Electrical and Electronic",category:"ET"},"PETRO-ENG":{label:"Engineering - Petroleum",category:"ET"},"MECH-ENG":{label:"Engineering - Mechanical",category:"ET"},"MIN-MIN-ENG":{label:"Engineering - Mineral and Mining",category:"ET"},"AG-FOR":{label:"Agriculture and Forestry",category:"LSM"},"ANA-PHYS":{label:"Anatomy and Physiology",category:"LSM"},"BIO-SCI":{label:"Biological Sciences",category:"LSM"},DENT:{label:"Dentistry",category:"LSM"},MED:{label:"Medicine",category:"LSM"},NURS:{label:"Nursing",category:"LSM"},PHARM:{label:"Pharmacy and Pharmacology",category:"LSM"},PSYCH:{label:"Psychology",category:"LSM"},"VET-SCI":{label:"Veterinary Science",category:"LSM"},CHEM:{label:"Chemistry",category:"NS"},"EAR-MAR-SCI":{label:"Earth and Marine Sciences",category:"NS"},"ENV-SCI":{label:"Environmental Sciences",category:"NS"},GEO:{label:"Geography",category:"NS"},GEOL:{label:"Geology",category:"NS"},GEOPH:{label:"Geophysics",category:"NS"},"MAT-SCI":{label:"Materials Sciences",category:"NS"},MATH:{label:"Mathematics",category:"NS"},"PHYS-ASTRO":{label:"Physics and Astronomy",category:"NS"},"ACC-FIN":{label:"Accounting and Finance",category:"SSM"},ANTH:{label:"Anthropology",category:"SSM"},"BUS-MGMT":{label:"Business and Management Studies",category:"SSM"},"COMM-MEDIA":{label:"Communication and Media Studies",category:"SSM"},"DEV-STUD":{label:"Development Studies",category:"SSM"},ECON:{label:"Economics and Econometrics",category:"SSM"},"EDU-TRAIN":{label:"Education and Training",category:"SSM"},"HOSP-MGMT":{label:"Hospitality and Leisure Management",category:"SSM"},LAW:{label:"Law and Legal Studies",category:"SSM"},"LIB-INFO":{label:"Library and Information Management",category:"SSM"},MKT:{label:"Marketing",category:"SSM"},POL:{label:"Politics",category:"SSM"},"SOC-POL":{label:"Social Policy and Administration",category:"SSM"},SOC:{label:"Sociology",category:"SSM"},SPORT:{label:"Sports-Related Subjects",category:"SSM"},"STAT-OR":{label:"Statistics and Operational Research",category:"SSM"}}},229:function(e,t,r){var a=this&&this.__createBinding||(Object.create?function(e,t,r,a){void 0===a&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}:function(e,t,r,a){void 0===a&&(a=r),e[a]=t[r]}),n=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),n(r(875),t),n(r(799),t),n(r(731),t)},799:function(e,t,r){var a=this&&this.__createBinding||(Object.create?function(e,t,r,a){void 0===a&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}:function(e,t,r,a){void 0===a&&(a=r),e[a]=t[r]}),n=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),n(r(979),t)},979:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},599:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.is_TaiGer_Guest=t.is_TaiGer_Student=t.is_TaiGer_Manager=t.is_TaiGer_Agent=t.is_TaiGer_External=t.is_TaiGer_Editor=t.is_TaiGer_Admin=t.is_TaiGer_AdminAgent=t.is_TaiGer_role=void 0,t.is_TaiGer_role=function(e){return"Admin"===(null==e?void 0:e.role)||"Agent"===(null==e?void 0:e.role)||"Editor"===(null==e?void 0:e.role)||"External"===(null==e?void 0:e.role)},t.is_TaiGer_AdminAgent=function(e){return"Admin"===(null==e?void 0:e.role)||"Agent"===(null==e?void 0:e.role)},t.is_TaiGer_Admin=function(e){return"Admin"===(null==e?void 0:e.role)},t.is_TaiGer_Editor=function(e){return"Editor"===(null==e?void 0:e.role)},t.is_TaiGer_External=function(e){return"External"===(null==e?void 0:e.role)},t.is_TaiGer_Agent=function(e){return"Agent"===(null==e?void 0:e.role)},t.is_TaiGer_Manager=function(e){return"Manager"===(null==e?void 0:e.role)},t.is_TaiGer_Student=function(e){return"Student"===(null==e?void 0:e.role)},t.is_TaiGer_Guest=function(e){return"Guest"===(null==e?void 0:e.role)}},731:function(e,t,r){var a=this&&this.__createBinding||(Object.create?function(e,t,r,a){void 0===a&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}:function(e,t,r,a){void 0===a&&(a=r),e[a]=t[r]}),n=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),n(r(599),t)}},t={};return function r(a){var n=t[a];if(void 0!==n)return n.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,r),i.exports}(229)})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.exampleTypescriptPackage=t():e.exampleTypescriptPackage=t()}(this,(()=>(()=>{"use strict";var e={329:(e,t)=>{var r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.PROFILE_NAME=t.ProfileNameType=t.DocumentStatusType=void 0,(a=t.DocumentStatusType||(t.DocumentStatusType={})).Uploaded="uploaded",a.Missing="missing",a.Accepted="accepted",a.Rejected="rejected",a.NotNeeded="notneeded",function(e){e.High_School_Diploma="High_School_Diploma",e.High_School_Transcript="High_School_Transcript",e.University_Entrance_Examination_GSAT="University_Entrance_Examination_GSAT",e.Bachelor_Certificate="Bachelor_Certificate",e.Bachelor_Transcript="Bachelor_Transcript",e.Second_Degree_Certificate="Second_Degree_Certificate",e.Second_Degree_Transcript="Second_Degree_Transcript",e.Englisch_Certificate="Englisch_Certificate",e.German_Certificate="German_Certificate",e.GRE="GRE",e.GMAT="GMAT",e.ECTS_Conversion="ECTS_Conversion",e.Course_Description="Course_Description",e.Internship="Internship",e.Exchange_Student_Certificate="Exchange_Student_Certificate",e.Employment_Certificate="Employment_Certificate",e.Passport_Photo="Passport_Photo",e.Passport="Passport",e.Others="Others"}(i=t.ProfileNameType||(t.ProfileNameType={})),t.PROFILE_NAME=((r={})[i.High_School_Diploma]="High School Diploma",r[i.High_School_Transcript]="High School Transcript",r[i.University_Entrance_Examination_GSAT]="GSAT/SAT/TVE/IB Test",r[i.Bachelor_Certificate]="Bachelor Certificate/Enrolment",r[i.Bachelor_Transcript]="Bachelor Transcript",r[i.Second_Degree_Certificate]="Second Degree Certificate/Enrolment",r[i.Second_Degree_Transcript]="Second Degree Transcript",r[i.Englisch_Certificate]="TOEFL or IELTS",r[i.German_Certificate]="TestDaF or Goethe B2/C1",r[i.GRE]="GRE",r[i.GMAT]="GMAT",r[i.ECTS_Conversion]="ECTS Conversion",r[i.Course_Description]="Course Description",r[i.Internship]="Internship Certificate",r[i.Exchange_Student_Certificate]="Exchange Student Certificate",r[i.Employment_Certificate]="Employment Certificate",r[i.Passport_Photo]="Formal Profile Photo",r[i.Passport]="Passport Copy",r[i.Others]="Others",r)},875:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,a)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(329),t),a(r(430),t),a(r(727),t)},430:(e,t)=>{var r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.SCHOOL_TAGS=t.SCHOOL_TYPES=t.PROGRAM_SUBJECTS=void 0,t.PROGRAM_SUBJECTS={LING:{label:"Linguistics",category:"AH"},MUS:{label:"Music",category:"AH"},THEO:{label:"Theology, Divinity and Religious Studies",category:"AH"},ARCH:{label:"Archaeology",category:"AH"},"ARCH-BE":{label:"Architecture and Built Environment",category:"AH"},"ART-DES":{label:"Art and Design",category:"AH"},CLAH:{label:"Classics and Ancient History",category:"AH"},ELL:{label:"English Language and Literature",category:"AH"},HIST:{label:"History",category:"AH"},ARTH:{label:"Art History",category:"AH"},"MOD-LANG":{label:"Modern Languages",category:"AH"},"PERF-ART":{label:"Performing Arts",category:"AH"},PHIL:{label:"Philosophy",category:"AH"},"CHEM-ENG":{label:"Engineering - Chemical",category:"ET"},"CIV-STR-ENG":{label:"Engineering - Civil and Structural",category:"ET"},CSIS:{label:"Computer Science and Information Systems",category:"ET"},"DS-AI":{label:"Data Science and Artificial Intelligence",category:"ET"},"ELEC-ENG":{label:"Engineering - Electrical and Electronic",category:"ET"},"PETRO-ENG":{label:"Engineering - Petroleum",category:"ET"},"MECH-ENG":{label:"Engineering - Mechanical",category:"ET"},"MIN-MIN-ENG":{label:"Engineering - Mineral and Mining",category:"ET"},"AG-FOR":{label:"Agriculture and Forestry",category:"LSM"},"ANA-PHYS":{label:"Anatomy and Physiology",category:"LSM"},"BIO-SCI":{label:"Biological Sciences",category:"LSM"},DENT:{label:"Dentistry",category:"LSM"},MED:{label:"Medicine",category:"LSM"},NURS:{label:"Nursing",category:"LSM"},PHARM:{label:"Pharmacy and Pharmacology",category:"LSM"},PSYCH:{label:"Psychology",category:"LSM"},"VET-SCI":{label:"Veterinary Science",category:"LSM"},CHEM:{label:"Chemistry",category:"NS"},"EAR-MAR-SCI":{label:"Earth and Marine Sciences",category:"NS"},"ENV-SCI":{label:"Environmental Sciences",category:"NS"},GEO:{label:"Geography",category:"NS"},GEOL:{label:"Geology",category:"NS"},GEOPH:{label:"Geophysics",category:"NS"},"MAT-SCI":{label:"Materials Sciences",category:"NS"},MATH:{label:"Mathematics",category:"NS"},"PHYS-ASTRO":{label:"Physics and Astronomy",category:"NS"},"ACC-FIN":{label:"Accounting and Finance",category:"SSM"},ANTH:{label:"Anthropology",category:"SSM"},"BUS-MGMT":{label:"Business and Management Studies",category:"SSM"},"COMM-MEDIA":{label:"Communication and Media Studies",category:"SSM"},"DEV-STUD":{label:"Development Studies",category:"SSM"},ECON:{label:"Economics and Econometrics",category:"SSM"},"EDU-TRAIN":{label:"Education and Training",category:"SSM"},"HOSP-MGMT":{label:"Hospitality and Leisure Management",category:"SSM"},LAW:{label:"Law and Legal Studies",category:"SSM"},"LIB-INFO":{label:"Library and Information Management",category:"SSM"},MKT:{label:"Marketing",category:"SSM"},POL:{label:"Politics",category:"SSM"},"SOC-POL":{label:"Social Policy and Administration",category:"SSM"},SOC:{label:"Sociology",category:"SSM"},SPORT:{label:"Sports-Related Subjects",category:"SSM"},"STAT-OR":{label:"Statistics and Operational Research",category:"SSM"}},function(e){e.University="University",e.University_of_Applied_Sciences="University_of_Applied_Sciences"}(i||(i={})),t.SCHOOL_TYPES=[i.University,i.University_of_Applied_Sciences],function(e){e.TU9="TU9",e.U15="U15",e.EUROTECH="EUROTECH",e.GERMAN_ELITE="GERMAN_ELITE",e.TOP50="TOP50",e.TIME="TIME",e.TOP100="TOP100",e.TOP150="TOP150",e.TOP250="TOP250",e.TOP500="TOP500"}(a||(a={})),t.SCHOOL_TAGS=((r={})[a.U15]={label:"U15",category:"U15"},r[a.TU9]={label:"TU9 German Universities of Technology",category:"TU9"},r[a.EUROTECH]={label:"EuroTech Universities Alliance",category:"EUROTECH"},r[a.GERMAN_ELITE]={label:"German Excellence Initiative",category:"GERMAN_ELITE"},r[a.TIME]={label:"Top International Managers in Engineering",category:"TIME"},r[a.TOP50]={label:"QS Top 50 Universities",category:"TOP50"},r[a.TOP100]={label:"QS Top 100 Universities",category:"TOP100"},r[a.TOP150]={label:"QS Top 150 Universities",category:"TOP150"},r[a.TOP250]={label:"QS Top 250 Universities",category:"TOP150"},r[a.TOP500]={label:"QS Top 500 Universities",category:"TOP500"},r)},727:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Role=void 0,t.Role={Admin:"Admin",Manager:"Manager",External:"External",Guest:"Guest",Agent:"Agent",Editor:"Editor",Student:"Student"}},229:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,a)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(875),t),a(r(799),t),a(r(731),t)},799:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,a)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(979),t)},979:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},599:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.is_TaiGer_Guest=t.is_TaiGer_Student=t.is_TaiGer_Manager=t.is_TaiGer_Agent=t.is_TaiGer_External=t.is_TaiGer_Editor=t.is_TaiGer_Admin=t.is_TaiGer_AdminAgent=t.is_TaiGer_role=void 0;var i=r(875);t.is_TaiGer_role=function(e){return(null==e?void 0:e.role)===i.Role.Admin||(null==e?void 0:e.role)===i.Role.Agent||(null==e?void 0:e.role)===i.Role.Editor||(null==e?void 0:e.role)===i.Role.External},t.is_TaiGer_AdminAgent=function(e){return(null==e?void 0:e.role)===i.Role.Admin||(null==e?void 0:e.role)===i.Role.Agent},t.is_TaiGer_Admin=function(e){return(null==e?void 0:e.role)===i.Role.Admin},t.is_TaiGer_Editor=function(e){return(null==e?void 0:e.role)===i.Role.Editor},t.is_TaiGer_External=function(e){return(null==e?void 0:e.role)===i.Role.External},t.is_TaiGer_Agent=function(e){return(null==e?void 0:e.role)===i.Role.Agent},t.is_TaiGer_Manager=function(e){return(null==e?void 0:e.role)===i.Role.Manager},t.is_TaiGer_Student=function(e){return(null==e?void 0:e.role)===i.Role.Student},t.is_TaiGer_Guest=function(e){return(null==e?void 0:e.role)===i.Role.Guest}},731:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,a)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(599),t)}},t={};return function r(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i].call(n.exports,n,n.exports,r),n.exports}(229)})()));
|