@taiger-common/core 1.0.3 → 1.0.5

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 ADDED
@@ -0,0 +1,18 @@
1
+ npm publish package commands:
2
+
3
+ # Cleanup
4
+ npm run clean
5
+
6
+ # Stage, commit, and push changes
7
+ git add .
8
+ git commit -m "fix: your_commit"
9
+ git push origin main
10
+
11
+ # Bump version
12
+ npm version patch # or minor/major
13
+
14
+ # Push tags
15
+ git push origin main --tags
16
+
17
+ # Publish to npm
18
+ npm publish
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PROFILE_NAME = exports.ProfileNameType = void 0;
5
+ var ProfileNameType;
6
+ (function (ProfileNameType) {
7
+ ProfileNameType["High_School_Diploma"] = "High_School_Diploma";
8
+ ProfileNameType["High_School_Transcript"] = "High_School_Transcript";
9
+ ProfileNameType["University_Entrance_Examination_GSAT"] = "University_Entrance_Examination_GSAT";
10
+ ProfileNameType["Bachelor_Certificate"] = "Bachelor_Certificate";
11
+ ProfileNameType["Bachelor_Transcript"] = "Bachelor_Transcript";
12
+ ProfileNameType["Second_Degree_Certificate"] = "Second_Degree_Certificate";
13
+ ProfileNameType["Second_Degree_Transcript"] = "Second_Degree_Transcript";
14
+ ProfileNameType["Englisch_Certificate"] = "Englisch_Certificate";
15
+ ProfileNameType["German_Certificate"] = "German_Certificate";
16
+ ProfileNameType["GRE"] = "GRE";
17
+ ProfileNameType["GMAT"] = "GMAT";
18
+ ProfileNameType["ECTS_Conversion"] = "ECTS_Conversion";
19
+ ProfileNameType["Course_Description"] = "Course_Description";
20
+ ProfileNameType["Internship"] = "Internship";
21
+ ProfileNameType["Exchange_Student_Certificate"] = "Exchange_Student_Certificate";
22
+ ProfileNameType["Employment_Certificate"] = "Employment_Certificate";
23
+ ProfileNameType["Passport_Photo"] = "Passport_Photo";
24
+ ProfileNameType["Passport"] = "Passport";
25
+ ProfileNameType["Others"] = "Others";
26
+ })(ProfileNameType = exports.ProfileNameType || (exports.ProfileNameType = {}));
27
+ exports.PROFILE_NAME = (_a = {},
28
+ _a[ProfileNameType.High_School_Diploma] = 'High School Diploma',
29
+ _a[ProfileNameType.High_School_Transcript] = 'High School Transcript',
30
+ _a[ProfileNameType.University_Entrance_Examination_GSAT] = 'GSAT/SAT/TVE/IB Test',
31
+ _a[ProfileNameType.Bachelor_Certificate] = 'Bachelor Certificate/Enrolment',
32
+ _a[ProfileNameType.Bachelor_Transcript] = 'Bachelor Transcript',
33
+ _a[ProfileNameType.Second_Degree_Certificate] = 'Second Degree Certificate/Enrolment',
34
+ _a[ProfileNameType.Second_Degree_Transcript] = 'Second Degree Transcript',
35
+ _a[ProfileNameType.Englisch_Certificate] = 'TOEFL or IELTS',
36
+ _a[ProfileNameType.German_Certificate] = 'TestDaF or Goethe B2/C1',
37
+ _a[ProfileNameType.GRE] = 'GRE',
38
+ _a[ProfileNameType.GMAT] = 'GMAT',
39
+ _a[ProfileNameType.ECTS_Conversion] = 'ECTS Conversion',
40
+ _a[ProfileNameType.Course_Description] = 'Course Description',
41
+ _a[ProfileNameType.Internship] = 'Internship Certificate',
42
+ _a[ProfileNameType.Exchange_Student_Certificate] = 'Exchange Student Certificate',
43
+ _a[ProfileNameType.Employment_Certificate] = 'Employment Certificate',
44
+ _a[ProfileNameType.Passport_Photo] = 'Formal Profile Photo',
45
+ _a[ProfileNameType.Passport] = 'Passport Copy',
46
+ _a[ProfileNameType.Others] = 'Others',
47
+ _a);
@@ -14,4 +14,5 @@ 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);
@@ -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,44 @@
1
+ var _a;
2
+ export var ProfileNameType;
3
+ (function (ProfileNameType) {
4
+ ProfileNameType["High_School_Diploma"] = "High_School_Diploma";
5
+ ProfileNameType["High_School_Transcript"] = "High_School_Transcript";
6
+ ProfileNameType["University_Entrance_Examination_GSAT"] = "University_Entrance_Examination_GSAT";
7
+ ProfileNameType["Bachelor_Certificate"] = "Bachelor_Certificate";
8
+ ProfileNameType["Bachelor_Transcript"] = "Bachelor_Transcript";
9
+ ProfileNameType["Second_Degree_Certificate"] = "Second_Degree_Certificate";
10
+ ProfileNameType["Second_Degree_Transcript"] = "Second_Degree_Transcript";
11
+ ProfileNameType["Englisch_Certificate"] = "Englisch_Certificate";
12
+ ProfileNameType["German_Certificate"] = "German_Certificate";
13
+ ProfileNameType["GRE"] = "GRE";
14
+ ProfileNameType["GMAT"] = "GMAT";
15
+ ProfileNameType["ECTS_Conversion"] = "ECTS_Conversion";
16
+ ProfileNameType["Course_Description"] = "Course_Description";
17
+ ProfileNameType["Internship"] = "Internship";
18
+ ProfileNameType["Exchange_Student_Certificate"] = "Exchange_Student_Certificate";
19
+ ProfileNameType["Employment_Certificate"] = "Employment_Certificate";
20
+ ProfileNameType["Passport_Photo"] = "Passport_Photo";
21
+ ProfileNameType["Passport"] = "Passport";
22
+ ProfileNameType["Others"] = "Others";
23
+ })(ProfileNameType || (ProfileNameType = {}));
24
+ export var PROFILE_NAME = (_a = {},
25
+ _a[ProfileNameType.High_School_Diploma] = 'High School Diploma',
26
+ _a[ProfileNameType.High_School_Transcript] = 'High School Transcript',
27
+ _a[ProfileNameType.University_Entrance_Examination_GSAT] = 'GSAT/SAT/TVE/IB Test',
28
+ _a[ProfileNameType.Bachelor_Certificate] = 'Bachelor Certificate/Enrolment',
29
+ _a[ProfileNameType.Bachelor_Transcript] = 'Bachelor Transcript',
30
+ _a[ProfileNameType.Second_Degree_Certificate] = 'Second Degree Certificate/Enrolment',
31
+ _a[ProfileNameType.Second_Degree_Transcript] = 'Second Degree Transcript',
32
+ _a[ProfileNameType.Englisch_Certificate] = 'TOEFL or IELTS',
33
+ _a[ProfileNameType.German_Certificate] = 'TestDaF or Goethe B2/C1',
34
+ _a[ProfileNameType.GRE] = 'GRE',
35
+ _a[ProfileNameType.GMAT] = 'GMAT',
36
+ _a[ProfileNameType.ECTS_Conversion] = 'ECTS Conversion',
37
+ _a[ProfileNameType.Course_Description] = 'Course Description',
38
+ _a[ProfileNameType.Internship] = 'Internship Certificate',
39
+ _a[ProfileNameType.Exchange_Student_Certificate] = 'Exchange Student Certificate',
40
+ _a[ProfileNameType.Employment_Certificate] = 'Employment Certificate',
41
+ _a[ProfileNameType.Passport_Photo] = 'Formal Profile Photo',
42
+ _a[ProfileNameType.Passport] = 'Passport Copy',
43
+ _a[ProfileNameType.Others] = 'Others',
44
+ _a);
@@ -1 +1,2 @@
1
+ export * from './documents';
1
2
  export * from './programs';
@@ -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);
@@ -0,0 +1,42 @@
1
+ export declare enum ProfileNameType {
2
+ High_School_Diploma = "High_School_Diploma",
3
+ High_School_Transcript = "High_School_Transcript",
4
+ University_Entrance_Examination_GSAT = "University_Entrance_Examination_GSAT",
5
+ Bachelor_Certificate = "Bachelor_Certificate",
6
+ Bachelor_Transcript = "Bachelor_Transcript",
7
+ Second_Degree_Certificate = "Second_Degree_Certificate",
8
+ Second_Degree_Transcript = "Second_Degree_Transcript",
9
+ Englisch_Certificate = "Englisch_Certificate",
10
+ German_Certificate = "German_Certificate",
11
+ GRE = "GRE",
12
+ GMAT = "GMAT",
13
+ ECTS_Conversion = "ECTS_Conversion",
14
+ Course_Description = "Course_Description",
15
+ Internship = "Internship",
16
+ Exchange_Student_Certificate = "Exchange_Student_Certificate",
17
+ Employment_Certificate = "Employment_Certificate",
18
+ Passport_Photo = "Passport_Photo",
19
+ Passport = "Passport",
20
+ Others = "Others"
21
+ }
22
+ export declare const PROFILE_NAME: {
23
+ High_School_Diploma: string;
24
+ High_School_Transcript: string;
25
+ University_Entrance_Examination_GSAT: string;
26
+ Bachelor_Certificate: string;
27
+ Bachelor_Transcript: string;
28
+ Second_Degree_Certificate: string;
29
+ Second_Degree_Transcript: string;
30
+ Englisch_Certificate: string;
31
+ German_Certificate: string;
32
+ GRE: string;
33
+ GMAT: string;
34
+ ECTS_Conversion: string;
35
+ Course_Description: string;
36
+ Internship: string;
37
+ Exchange_Student_Certificate: string;
38
+ Employment_Certificate: string;
39
+ Passport_Photo: string;
40
+ Passport: string;
41
+ Others: string;
42
+ };
@@ -1 +1,2 @@
1
+ export * from './documents';
1
2
  export * from './programs';
@@ -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;Object.defineProperty(t,"__esModule",{value:!0}),t.PROFILE_NAME=t.ProfileNameType=void 0,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)},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)},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)=>{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 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)})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiger-common/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "TaiGer core package",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",