@taiger-common/core 1.1.5 → 1.1.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/dist/cjs/constants/documents.js +1 -9
- package/dist/cjs/constants/index.js +0 -1
- package/dist/esm/constants/documents.js +0 -8
- package/dist/esm/constants/index.js +0 -1
- package/dist/esm/index.js +0 -1
- package/dist/types/constants/documents.d.ts +0 -7
- package/dist/types/constants/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/utils/checking-functions.d.ts +16 -16
- package/dist/umd/index.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/constants/programs.js +0 -300
- package/dist/esm/constants/programs.js +0 -297
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/types/users.js +0 -1
- package/dist/types/constants/programs.d.ts +0 -278
- package/dist/types/types/index.d.ts +0 -1
- package/dist/types/types/users.d.ts +0 -17
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.PROFILE_NAME = exports.ProfileNameType =
|
|
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 = {}));
|
|
4
|
+
exports.PROFILE_NAME = exports.ProfileNameType = void 0;
|
|
13
5
|
var ProfileNameType;
|
|
14
6
|
(function (ProfileNameType) {
|
|
15
7
|
ProfileNameType["High_School_Diploma"] = "High_School_Diploma";
|
|
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./documents"), exports);
|
|
18
|
-
__exportStar(require("./programs"), exports);
|
|
19
18
|
__exportStar(require("./users"), exports);
|
|
@@ -1,12 +1,4 @@
|
|
|
1
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
2
|
export var ProfileNameType;
|
|
11
3
|
(function (ProfileNameType) {
|
|
12
4
|
ProfileNameType["High_School_Diploma"] = "High_School_Diploma";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export declare enum DocumentStatusType {
|
|
2
|
-
Uploaded = "uploaded",
|
|
3
|
-
Missing = "missing",
|
|
4
|
-
Accepted = "accepted",
|
|
5
|
-
Rejected = "rejected",
|
|
6
|
-
NotNeeded = "notneeded"
|
|
7
|
-
}
|
|
8
1
|
export declare enum ProfileNameType {
|
|
9
2
|
High_School_Diploma = "High_School_Diploma",
|
|
10
3
|
High_School_Transcript = "High_School_Transcript",
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const is_TaiGer_role: (user:
|
|
3
|
-
export declare const is_TaiGer_AdminAgent: (user:
|
|
4
|
-
export declare const is_TaiGer_Admin: (user:
|
|
5
|
-
export declare const is_TaiGer_Editor: (user:
|
|
6
|
-
export declare const is_TaiGer_External: (user:
|
|
7
|
-
export declare const is_TaiGer_Agent: (user:
|
|
8
|
-
export declare const is_TaiGer_Manager: (user:
|
|
9
|
-
export declare const is_TaiGer_Student: (user:
|
|
10
|
-
export declare const is_TaiGer_Guest: (user:
|
|
1
|
+
import { IApplication, IUser } from '@taiger-common/model';
|
|
2
|
+
export declare const is_TaiGer_role: (user: IUser) => boolean;
|
|
3
|
+
export declare const is_TaiGer_AdminAgent: (user: IUser) => boolean;
|
|
4
|
+
export declare const is_TaiGer_Admin: (user: IUser) => boolean;
|
|
5
|
+
export declare const is_TaiGer_Editor: (user: IUser) => boolean;
|
|
6
|
+
export declare const is_TaiGer_External: (user: IUser) => boolean;
|
|
7
|
+
export declare const is_TaiGer_Agent: (user: IUser) => boolean;
|
|
8
|
+
export declare const is_TaiGer_Manager: (user: IUser) => boolean;
|
|
9
|
+
export declare const is_TaiGer_Student: (user: IUser) => boolean;
|
|
10
|
+
export declare const is_TaiGer_Guest: (user: IUser) => boolean;
|
|
11
11
|
export declare const Bayerische_Formel: (high: number, low: number, my: number) => string;
|
|
12
|
-
export declare const isNotArchiv: (user:
|
|
13
|
-
export declare const isProgramDecided: (application:
|
|
14
|
-
export declare const isProgramSubmitted: (application:
|
|
15
|
-
export declare const isProgramAdmitted: (application:
|
|
16
|
-
export declare const isProgramRejected: (application:
|
|
17
|
-
export declare const isProgramWithdraw: (application:
|
|
12
|
+
export declare const isNotArchiv: (user: IUser) => boolean;
|
|
13
|
+
export declare const isProgramDecided: (application: IApplication) => boolean;
|
|
14
|
+
export declare const isProgramSubmitted: (application: IApplication) => boolean;
|
|
15
|
+
export declare const isProgramAdmitted: (application: IApplication) => boolean;
|
|
16
|
+
export declare const isProgramRejected: (application: IApplication) => boolean;
|
|
17
|
+
export declare const isProgramWithdraw: (application: IApplication) => boolean;
|
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={329:(e,t)=>{var r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.PROFILE_NAME=t.ProfileNameType=t.DocumentStatusType=void 0,(o=t.DocumentStatusType||(t.DocumentStatusType={})).Uploaded="uploaded",o.Missing="missing",o.Accepted="accepted",o.Rejected="rejected",o.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 o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,o)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),o=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}),o(r(329),t),o(r(430),t),o(r(727),t)},430:(e,t)=>{var r,i,o,n;Object.defineProperty(t,"__esModule",{value:!0}),t.SCHOOL_TAGS=t.DIFFICULTY=t.SCHOOL_TYPES=t.SchoolType=t.SemesterType=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"}},(n=t.SemesterType||(t.SemesterType={})).SummerSemester="SS",n.WinterSemester="WS",n.Rolling="Rolling",function(e){e.University="University",e.University_of_Applied_Sciences="University_of_Applied_Sciences"}(i=t.SchoolType||(t.SchoolType={})),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"}(o||(o={})),t.DIFFICULTY={EASY:"EASY",HARD:"HARD"},t.SCHOOL_TAGS=((r={})[o.U15]={label:"U15",category:"U15"},r[o.TU9]={label:"TU9 German Universities of Technology",category:"TU9"},r[o.EUROTECH]={label:"EuroTech Universities Alliance",category:"EUROTECH"},r[o.GERMAN_ELITE]={label:"German Excellence Initiative",category:"GERMAN_ELITE"},r[o.TIME]={label:"Top International Managers in Engineering",category:"TIME"},r[o.TOP50]={label:"QS Top 50 Universities",category:"TOP50"},r[o.TOP100]={label:"QS Top 100 Universities",category:"TOP100"},r[o.TOP150]={label:"QS Top 150 Universities",category:"TOP150"},r[o.TOP250]={label:"QS Top 250 Universities",category:"TOP150"},r[o.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 o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,o)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),o=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}),o(r(875),t),o(r(799),t),o(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 o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,o)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),o=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}),o(r(979),t)},979:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},599:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isProgramWithdraw=t.isProgramRejected=t.isProgramAdmitted=t.isProgramSubmitted=t.isProgramDecided=t.isNotArchiv=t.Bayerische_Formel=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},t.Bayerische_Formel=function(e,t,r){return e-t!=0?(1+3*(e-r)/(e-t)).toFixed(2):"0"},t.isNotArchiv=function(e){return void 0===e.archiv||!e.archiv},t.isProgramDecided=function(e){return"O"===e.decided},t.isProgramSubmitted=function(e){return"O"===e.closed},t.isProgramAdmitted=function(e){return"O"===e.admission},t.isProgramRejected=function(e){return"X"===e.admission},t.isProgramWithdraw=function(e){return"X"===e.closed}},731:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,o)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),o=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}),o(r(599),t)}},t={};return function r(i){var o=t[i];if(void 0!==o)return o.exports;var n=t[i]={exports:{}};return e[i].call(n.exports,n,n.exports,r),n.exports}(229)})()));
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.exampleTypescriptPackage=r():e.exampleTypescriptPackage=r()}(this,(()=>(()=>{"use strict";var e={329:(e,r)=>{var t,i;Object.defineProperty(r,"__esModule",{value:!0}),r.PROFILE_NAME=r.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=r.ProfileNameType||(r.ProfileNameType={})),r.PROFILE_NAME=((t={})[i.High_School_Diploma]="High School Diploma",t[i.High_School_Transcript]="High School Transcript",t[i.University_Entrance_Examination_GSAT]="GSAT/SAT/TVE/IB Test",t[i.Bachelor_Certificate]="Bachelor Certificate/Enrolment",t[i.Bachelor_Transcript]="Bachelor Transcript",t[i.Second_Degree_Certificate]="Second Degree Certificate/Enrolment",t[i.Second_Degree_Transcript]="Second Degree Transcript",t[i.Englisch_Certificate]="TOEFL or IELTS",t[i.German_Certificate]="TestDaF or Goethe B2/C1",t[i.GRE]="GRE",t[i.GMAT]="GMAT",t[i.ECTS_Conversion]="ECTS Conversion",t[i.Course_Description]="Course Description",t[i.Internship]="Internship Certificate",t[i.Exchange_Student_Certificate]="Exchange Student Certificate",t[i.Employment_Certificate]="Employment Certificate",t[i.Passport_Photo]="Formal Profile Photo",t[i.Passport]="Passport Copy",t[i.Others]="Others",t)},875:function(e,r,t){var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var o=Object.getOwnPropertyDescriptor(r,t);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,o)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),o=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||i(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),o(t(329),r),o(t(727),r)},727:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.Role=void 0,r.Role={Admin:"Admin",Manager:"Manager",External:"External",Guest:"Guest",Agent:"Agent",Editor:"Editor",Student:"Student"}},229:function(e,r,t){var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var o=Object.getOwnPropertyDescriptor(r,t);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,o)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),o=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||i(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),o(t(875),r),o(t(731),r)},599:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isProgramWithdraw=r.isProgramRejected=r.isProgramAdmitted=r.isProgramSubmitted=r.isProgramDecided=r.isNotArchiv=r.Bayerische_Formel=r.is_TaiGer_Guest=r.is_TaiGer_Student=r.is_TaiGer_Manager=r.is_TaiGer_Agent=r.is_TaiGer_External=r.is_TaiGer_Editor=r.is_TaiGer_Admin=r.is_TaiGer_AdminAgent=r.is_TaiGer_role=void 0;var i=t(875);r.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},r.is_TaiGer_AdminAgent=function(e){return(null==e?void 0:e.role)===i.Role.Admin||(null==e?void 0:e.role)===i.Role.Agent},r.is_TaiGer_Admin=function(e){return(null==e?void 0:e.role)===i.Role.Admin},r.is_TaiGer_Editor=function(e){return(null==e?void 0:e.role)===i.Role.Editor},r.is_TaiGer_External=function(e){return(null==e?void 0:e.role)===i.Role.External},r.is_TaiGer_Agent=function(e){return(null==e?void 0:e.role)===i.Role.Agent},r.is_TaiGer_Manager=function(e){return(null==e?void 0:e.role)===i.Role.Manager},r.is_TaiGer_Student=function(e){return(null==e?void 0:e.role)===i.Role.Student},r.is_TaiGer_Guest=function(e){return(null==e?void 0:e.role)===i.Role.Guest},r.Bayerische_Formel=function(e,r,t){return e-r!=0?(1+3*(e-t)/(e-r)).toFixed(2):"0"},r.isNotArchiv=function(e){return void 0===e.archiv||!e.archiv},r.isProgramDecided=function(e){return"O"===e.decided},r.isProgramSubmitted=function(e){return"O"===e.closed},r.isProgramAdmitted=function(e){return"O"===e.admission},r.isProgramRejected=function(e){return"X"===e.admission},r.isProgramWithdraw=function(e){return"X"===e.closed}},731:function(e,r,t){var i=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var o=Object.getOwnPropertyDescriptor(r,t);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,o)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),o=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||i(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),o(t(599),r)}},r={};return function t(i){var o=r[i];if(void 0!==o)return o.exports;var n=r[i]={exports:{}};return e[i].call(n.exports,n,n.exports,t),n.exports}(229)})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiger-common/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "TaiGer core package",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"url": "https://github.com/LIYUNG/taiger-core/issues"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@taiger-common/model": "^1.0.
|
|
54
|
+
"@taiger-common/model": "^1.0.48"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@commitlint/cli": "^13.1.0",
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.SCHOOL_TAGS = exports.DIFFICULTY = exports.SCHOOL_TYPES = exports.SchoolType = exports.SemesterType = exports.PROGRAM_SUBJECTS = void 0;
|
|
5
|
-
exports.PROGRAM_SUBJECTS = {
|
|
6
|
-
LING: {
|
|
7
|
-
label: 'Linguistics',
|
|
8
|
-
category: 'AH'
|
|
9
|
-
},
|
|
10
|
-
MUS: {
|
|
11
|
-
label: 'Music',
|
|
12
|
-
category: 'AH'
|
|
13
|
-
},
|
|
14
|
-
THEO: {
|
|
15
|
-
label: 'Theology, Divinity and Religious Studies',
|
|
16
|
-
category: 'AH'
|
|
17
|
-
},
|
|
18
|
-
ARCH: {
|
|
19
|
-
label: 'Archaeology',
|
|
20
|
-
category: 'AH'
|
|
21
|
-
},
|
|
22
|
-
'ARCH-BE': {
|
|
23
|
-
label: 'Architecture and Built Environment',
|
|
24
|
-
category: 'AH'
|
|
25
|
-
},
|
|
26
|
-
'ART-DES': {
|
|
27
|
-
label: 'Art and Design',
|
|
28
|
-
category: 'AH'
|
|
29
|
-
},
|
|
30
|
-
CLAH: {
|
|
31
|
-
label: 'Classics and Ancient History',
|
|
32
|
-
category: 'AH'
|
|
33
|
-
},
|
|
34
|
-
ELL: {
|
|
35
|
-
label: 'English Language and Literature',
|
|
36
|
-
category: 'AH'
|
|
37
|
-
},
|
|
38
|
-
HIST: {
|
|
39
|
-
label: 'History',
|
|
40
|
-
category: 'AH'
|
|
41
|
-
},
|
|
42
|
-
ARTH: {
|
|
43
|
-
label: 'Art History',
|
|
44
|
-
category: 'AH'
|
|
45
|
-
},
|
|
46
|
-
'MOD-LANG': {
|
|
47
|
-
label: 'Modern Languages',
|
|
48
|
-
category: 'AH'
|
|
49
|
-
},
|
|
50
|
-
'PERF-ART': {
|
|
51
|
-
label: 'Performing Arts',
|
|
52
|
-
category: 'AH'
|
|
53
|
-
},
|
|
54
|
-
PHIL: {
|
|
55
|
-
label: 'Philosophy',
|
|
56
|
-
category: 'AH'
|
|
57
|
-
},
|
|
58
|
-
'CHEM-ENG': {
|
|
59
|
-
label: 'Engineering - Chemical',
|
|
60
|
-
category: 'ET'
|
|
61
|
-
},
|
|
62
|
-
'CIV-STR-ENG': {
|
|
63
|
-
label: 'Engineering - Civil and Structural',
|
|
64
|
-
category: 'ET'
|
|
65
|
-
},
|
|
66
|
-
CSIS: {
|
|
67
|
-
label: 'Computer Science and Information Systems',
|
|
68
|
-
category: 'ET'
|
|
69
|
-
},
|
|
70
|
-
'DS-AI': {
|
|
71
|
-
label: 'Data Science and Artificial Intelligence',
|
|
72
|
-
category: 'ET'
|
|
73
|
-
},
|
|
74
|
-
'ELEC-ENG': {
|
|
75
|
-
label: 'Engineering - Electrical and Electronic',
|
|
76
|
-
category: 'ET'
|
|
77
|
-
},
|
|
78
|
-
'PETRO-ENG': {
|
|
79
|
-
label: 'Engineering - Petroleum',
|
|
80
|
-
category: 'ET'
|
|
81
|
-
},
|
|
82
|
-
'MECH-ENG': {
|
|
83
|
-
label: 'Engineering - Mechanical',
|
|
84
|
-
category: 'ET'
|
|
85
|
-
},
|
|
86
|
-
'MIN-MIN-ENG': {
|
|
87
|
-
label: 'Engineering - Mineral and Mining',
|
|
88
|
-
category: 'ET'
|
|
89
|
-
},
|
|
90
|
-
'AG-FOR': {
|
|
91
|
-
label: 'Agriculture and Forestry',
|
|
92
|
-
category: 'LSM'
|
|
93
|
-
},
|
|
94
|
-
'ANA-PHYS': {
|
|
95
|
-
label: 'Anatomy and Physiology',
|
|
96
|
-
category: 'LSM'
|
|
97
|
-
},
|
|
98
|
-
'BIO-SCI': {
|
|
99
|
-
label: 'Biological Sciences',
|
|
100
|
-
category: 'LSM'
|
|
101
|
-
},
|
|
102
|
-
DENT: {
|
|
103
|
-
label: 'Dentistry',
|
|
104
|
-
category: 'LSM'
|
|
105
|
-
},
|
|
106
|
-
MED: {
|
|
107
|
-
label: 'Medicine',
|
|
108
|
-
category: 'LSM'
|
|
109
|
-
},
|
|
110
|
-
NURS: {
|
|
111
|
-
label: 'Nursing',
|
|
112
|
-
category: 'LSM'
|
|
113
|
-
},
|
|
114
|
-
PHARM: {
|
|
115
|
-
label: 'Pharmacy and Pharmacology',
|
|
116
|
-
category: 'LSM'
|
|
117
|
-
},
|
|
118
|
-
PSYCH: {
|
|
119
|
-
label: 'Psychology',
|
|
120
|
-
category: 'LSM'
|
|
121
|
-
},
|
|
122
|
-
'VET-SCI': {
|
|
123
|
-
label: 'Veterinary Science',
|
|
124
|
-
category: 'LSM'
|
|
125
|
-
},
|
|
126
|
-
CHEM: {
|
|
127
|
-
label: 'Chemistry',
|
|
128
|
-
category: 'NS'
|
|
129
|
-
},
|
|
130
|
-
'EAR-MAR-SCI': {
|
|
131
|
-
label: 'Earth and Marine Sciences',
|
|
132
|
-
category: 'NS'
|
|
133
|
-
},
|
|
134
|
-
'ENV-SCI': {
|
|
135
|
-
label: 'Environmental Sciences',
|
|
136
|
-
category: 'NS'
|
|
137
|
-
},
|
|
138
|
-
GEO: {
|
|
139
|
-
label: 'Geography',
|
|
140
|
-
category: 'NS'
|
|
141
|
-
},
|
|
142
|
-
GEOL: {
|
|
143
|
-
label: 'Geology',
|
|
144
|
-
category: 'NS'
|
|
145
|
-
},
|
|
146
|
-
GEOPH: {
|
|
147
|
-
label: 'Geophysics',
|
|
148
|
-
category: 'NS'
|
|
149
|
-
},
|
|
150
|
-
'MAT-SCI': {
|
|
151
|
-
label: 'Materials Sciences',
|
|
152
|
-
category: 'NS'
|
|
153
|
-
},
|
|
154
|
-
MATH: {
|
|
155
|
-
label: 'Mathematics',
|
|
156
|
-
category: 'NS'
|
|
157
|
-
},
|
|
158
|
-
'PHYS-ASTRO': {
|
|
159
|
-
label: 'Physics and Astronomy',
|
|
160
|
-
category: 'NS'
|
|
161
|
-
},
|
|
162
|
-
'ACC-FIN': {
|
|
163
|
-
label: 'Accounting and Finance',
|
|
164
|
-
category: 'SSM'
|
|
165
|
-
},
|
|
166
|
-
ANTH: {
|
|
167
|
-
label: 'Anthropology',
|
|
168
|
-
category: 'SSM'
|
|
169
|
-
},
|
|
170
|
-
'BUS-MGMT': {
|
|
171
|
-
label: 'Business and Management Studies',
|
|
172
|
-
category: 'SSM'
|
|
173
|
-
},
|
|
174
|
-
'COMM-MEDIA': {
|
|
175
|
-
label: 'Communication and Media Studies',
|
|
176
|
-
category: 'SSM'
|
|
177
|
-
},
|
|
178
|
-
'DEV-STUD': {
|
|
179
|
-
label: 'Development Studies',
|
|
180
|
-
category: 'SSM'
|
|
181
|
-
},
|
|
182
|
-
ECON: {
|
|
183
|
-
label: 'Economics and Econometrics',
|
|
184
|
-
category: 'SSM'
|
|
185
|
-
},
|
|
186
|
-
'EDU-TRAIN': {
|
|
187
|
-
label: 'Education and Training',
|
|
188
|
-
category: 'SSM'
|
|
189
|
-
},
|
|
190
|
-
'HOSP-MGMT': {
|
|
191
|
-
label: 'Hospitality and Leisure Management',
|
|
192
|
-
category: 'SSM'
|
|
193
|
-
},
|
|
194
|
-
LAW: {
|
|
195
|
-
label: 'Law and Legal Studies',
|
|
196
|
-
category: 'SSM'
|
|
197
|
-
},
|
|
198
|
-
'LIB-INFO': {
|
|
199
|
-
label: 'Library and Information Management',
|
|
200
|
-
category: 'SSM'
|
|
201
|
-
},
|
|
202
|
-
MKT: {
|
|
203
|
-
label: 'Marketing',
|
|
204
|
-
category: 'SSM'
|
|
205
|
-
},
|
|
206
|
-
POL: {
|
|
207
|
-
label: 'Politics',
|
|
208
|
-
category: 'SSM'
|
|
209
|
-
},
|
|
210
|
-
'SOC-POL': {
|
|
211
|
-
label: 'Social Policy and Administration',
|
|
212
|
-
category: 'SSM'
|
|
213
|
-
},
|
|
214
|
-
SOC: {
|
|
215
|
-
label: 'Sociology',
|
|
216
|
-
category: 'SSM'
|
|
217
|
-
},
|
|
218
|
-
SPORT: {
|
|
219
|
-
label: 'Sports-Related Subjects',
|
|
220
|
-
category: 'SSM'
|
|
221
|
-
},
|
|
222
|
-
'STAT-OR': {
|
|
223
|
-
label: 'Statistics and Operational Research',
|
|
224
|
-
category: 'SSM'
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
var SemesterType;
|
|
228
|
-
(function (SemesterType) {
|
|
229
|
-
SemesterType["SummerSemester"] = "SS";
|
|
230
|
-
SemesterType["WinterSemester"] = "WS";
|
|
231
|
-
SemesterType["Rolling"] = "Rolling";
|
|
232
|
-
})(SemesterType = exports.SemesterType || (exports.SemesterType = {}));
|
|
233
|
-
var SchoolType;
|
|
234
|
-
(function (SchoolType) {
|
|
235
|
-
SchoolType["University"] = "University";
|
|
236
|
-
SchoolType["University_of_Applied_Sciences"] = "University_of_Applied_Sciences";
|
|
237
|
-
})(SchoolType = exports.SchoolType || (exports.SchoolType = {}));
|
|
238
|
-
exports.SCHOOL_TYPES = [
|
|
239
|
-
SchoolType.University,
|
|
240
|
-
SchoolType.University_of_Applied_Sciences
|
|
241
|
-
];
|
|
242
|
-
var Category;
|
|
243
|
-
(function (Category) {
|
|
244
|
-
Category["TU9"] = "TU9";
|
|
245
|
-
Category["U15"] = "U15";
|
|
246
|
-
Category["EUROTECH"] = "EUROTECH";
|
|
247
|
-
Category["GERMAN_ELITE"] = "GERMAN_ELITE";
|
|
248
|
-
Category["TOP50"] = "TOP50";
|
|
249
|
-
Category["TIME"] = "TIME";
|
|
250
|
-
Category["TOP100"] = "TOP100";
|
|
251
|
-
Category["TOP150"] = "TOP150";
|
|
252
|
-
Category["TOP250"] = "TOP250";
|
|
253
|
-
Category["TOP500"] = "TOP500";
|
|
254
|
-
})(Category || (Category = {}));
|
|
255
|
-
exports.DIFFICULTY = {
|
|
256
|
-
EASY: 'EASY',
|
|
257
|
-
HARD: 'HARD'
|
|
258
|
-
};
|
|
259
|
-
exports.SCHOOL_TAGS = (_a = {},
|
|
260
|
-
_a[Category.U15] = {
|
|
261
|
-
label: 'U15',
|
|
262
|
-
category: 'U15'
|
|
263
|
-
},
|
|
264
|
-
_a[Category.TU9] = {
|
|
265
|
-
label: 'TU9 German Universities of Technology',
|
|
266
|
-
category: 'TU9'
|
|
267
|
-
},
|
|
268
|
-
_a[Category.EUROTECH] = {
|
|
269
|
-
label: 'EuroTech Universities Alliance',
|
|
270
|
-
category: 'EUROTECH'
|
|
271
|
-
},
|
|
272
|
-
_a[Category.GERMAN_ELITE] = {
|
|
273
|
-
label: 'German Excellence Initiative',
|
|
274
|
-
category: 'GERMAN_ELITE'
|
|
275
|
-
},
|
|
276
|
-
_a[Category.TIME] = {
|
|
277
|
-
label: 'Top International Managers in Engineering',
|
|
278
|
-
category: 'TIME'
|
|
279
|
-
},
|
|
280
|
-
_a[Category.TOP50] = {
|
|
281
|
-
label: 'QS Top 50 Universities',
|
|
282
|
-
category: 'TOP50'
|
|
283
|
-
},
|
|
284
|
-
_a[Category.TOP100] = {
|
|
285
|
-
label: 'QS Top 100 Universities',
|
|
286
|
-
category: 'TOP100'
|
|
287
|
-
},
|
|
288
|
-
_a[Category.TOP150] = {
|
|
289
|
-
label: 'QS Top 150 Universities',
|
|
290
|
-
category: 'TOP150'
|
|
291
|
-
},
|
|
292
|
-
_a[Category.TOP250] = {
|
|
293
|
-
label: 'QS Top 250 Universities',
|
|
294
|
-
category: 'TOP150'
|
|
295
|
-
},
|
|
296
|
-
_a[Category.TOP500] = {
|
|
297
|
-
label: 'QS Top 500 Universities',
|
|
298
|
-
category: 'TOP500'
|
|
299
|
-
},
|
|
300
|
-
_a);
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
export var PROGRAM_SUBJECTS = {
|
|
3
|
-
LING: {
|
|
4
|
-
label: 'Linguistics',
|
|
5
|
-
category: 'AH'
|
|
6
|
-
},
|
|
7
|
-
MUS: {
|
|
8
|
-
label: 'Music',
|
|
9
|
-
category: 'AH'
|
|
10
|
-
},
|
|
11
|
-
THEO: {
|
|
12
|
-
label: 'Theology, Divinity and Religious Studies',
|
|
13
|
-
category: 'AH'
|
|
14
|
-
},
|
|
15
|
-
ARCH: {
|
|
16
|
-
label: 'Archaeology',
|
|
17
|
-
category: 'AH'
|
|
18
|
-
},
|
|
19
|
-
'ARCH-BE': {
|
|
20
|
-
label: 'Architecture and Built Environment',
|
|
21
|
-
category: 'AH'
|
|
22
|
-
},
|
|
23
|
-
'ART-DES': {
|
|
24
|
-
label: 'Art and Design',
|
|
25
|
-
category: 'AH'
|
|
26
|
-
},
|
|
27
|
-
CLAH: {
|
|
28
|
-
label: 'Classics and Ancient History',
|
|
29
|
-
category: 'AH'
|
|
30
|
-
},
|
|
31
|
-
ELL: {
|
|
32
|
-
label: 'English Language and Literature',
|
|
33
|
-
category: 'AH'
|
|
34
|
-
},
|
|
35
|
-
HIST: {
|
|
36
|
-
label: 'History',
|
|
37
|
-
category: 'AH'
|
|
38
|
-
},
|
|
39
|
-
ARTH: {
|
|
40
|
-
label: 'Art History',
|
|
41
|
-
category: 'AH'
|
|
42
|
-
},
|
|
43
|
-
'MOD-LANG': {
|
|
44
|
-
label: 'Modern Languages',
|
|
45
|
-
category: 'AH'
|
|
46
|
-
},
|
|
47
|
-
'PERF-ART': {
|
|
48
|
-
label: 'Performing Arts',
|
|
49
|
-
category: 'AH'
|
|
50
|
-
},
|
|
51
|
-
PHIL: {
|
|
52
|
-
label: 'Philosophy',
|
|
53
|
-
category: 'AH'
|
|
54
|
-
},
|
|
55
|
-
'CHEM-ENG': {
|
|
56
|
-
label: 'Engineering - Chemical',
|
|
57
|
-
category: 'ET'
|
|
58
|
-
},
|
|
59
|
-
'CIV-STR-ENG': {
|
|
60
|
-
label: 'Engineering - Civil and Structural',
|
|
61
|
-
category: 'ET'
|
|
62
|
-
},
|
|
63
|
-
CSIS: {
|
|
64
|
-
label: 'Computer Science and Information Systems',
|
|
65
|
-
category: 'ET'
|
|
66
|
-
},
|
|
67
|
-
'DS-AI': {
|
|
68
|
-
label: 'Data Science and Artificial Intelligence',
|
|
69
|
-
category: 'ET'
|
|
70
|
-
},
|
|
71
|
-
'ELEC-ENG': {
|
|
72
|
-
label: 'Engineering - Electrical and Electronic',
|
|
73
|
-
category: 'ET'
|
|
74
|
-
},
|
|
75
|
-
'PETRO-ENG': {
|
|
76
|
-
label: 'Engineering - Petroleum',
|
|
77
|
-
category: 'ET'
|
|
78
|
-
},
|
|
79
|
-
'MECH-ENG': {
|
|
80
|
-
label: 'Engineering - Mechanical',
|
|
81
|
-
category: 'ET'
|
|
82
|
-
},
|
|
83
|
-
'MIN-MIN-ENG': {
|
|
84
|
-
label: 'Engineering - Mineral and Mining',
|
|
85
|
-
category: 'ET'
|
|
86
|
-
},
|
|
87
|
-
'AG-FOR': {
|
|
88
|
-
label: 'Agriculture and Forestry',
|
|
89
|
-
category: 'LSM'
|
|
90
|
-
},
|
|
91
|
-
'ANA-PHYS': {
|
|
92
|
-
label: 'Anatomy and Physiology',
|
|
93
|
-
category: 'LSM'
|
|
94
|
-
},
|
|
95
|
-
'BIO-SCI': {
|
|
96
|
-
label: 'Biological Sciences',
|
|
97
|
-
category: 'LSM'
|
|
98
|
-
},
|
|
99
|
-
DENT: {
|
|
100
|
-
label: 'Dentistry',
|
|
101
|
-
category: 'LSM'
|
|
102
|
-
},
|
|
103
|
-
MED: {
|
|
104
|
-
label: 'Medicine',
|
|
105
|
-
category: 'LSM'
|
|
106
|
-
},
|
|
107
|
-
NURS: {
|
|
108
|
-
label: 'Nursing',
|
|
109
|
-
category: 'LSM'
|
|
110
|
-
},
|
|
111
|
-
PHARM: {
|
|
112
|
-
label: 'Pharmacy and Pharmacology',
|
|
113
|
-
category: 'LSM'
|
|
114
|
-
},
|
|
115
|
-
PSYCH: {
|
|
116
|
-
label: 'Psychology',
|
|
117
|
-
category: 'LSM'
|
|
118
|
-
},
|
|
119
|
-
'VET-SCI': {
|
|
120
|
-
label: 'Veterinary Science',
|
|
121
|
-
category: 'LSM'
|
|
122
|
-
},
|
|
123
|
-
CHEM: {
|
|
124
|
-
label: 'Chemistry',
|
|
125
|
-
category: 'NS'
|
|
126
|
-
},
|
|
127
|
-
'EAR-MAR-SCI': {
|
|
128
|
-
label: 'Earth and Marine Sciences',
|
|
129
|
-
category: 'NS'
|
|
130
|
-
},
|
|
131
|
-
'ENV-SCI': {
|
|
132
|
-
label: 'Environmental Sciences',
|
|
133
|
-
category: 'NS'
|
|
134
|
-
},
|
|
135
|
-
GEO: {
|
|
136
|
-
label: 'Geography',
|
|
137
|
-
category: 'NS'
|
|
138
|
-
},
|
|
139
|
-
GEOL: {
|
|
140
|
-
label: 'Geology',
|
|
141
|
-
category: 'NS'
|
|
142
|
-
},
|
|
143
|
-
GEOPH: {
|
|
144
|
-
label: 'Geophysics',
|
|
145
|
-
category: 'NS'
|
|
146
|
-
},
|
|
147
|
-
'MAT-SCI': {
|
|
148
|
-
label: 'Materials Sciences',
|
|
149
|
-
category: 'NS'
|
|
150
|
-
},
|
|
151
|
-
MATH: {
|
|
152
|
-
label: 'Mathematics',
|
|
153
|
-
category: 'NS'
|
|
154
|
-
},
|
|
155
|
-
'PHYS-ASTRO': {
|
|
156
|
-
label: 'Physics and Astronomy',
|
|
157
|
-
category: 'NS'
|
|
158
|
-
},
|
|
159
|
-
'ACC-FIN': {
|
|
160
|
-
label: 'Accounting and Finance',
|
|
161
|
-
category: 'SSM'
|
|
162
|
-
},
|
|
163
|
-
ANTH: {
|
|
164
|
-
label: 'Anthropology',
|
|
165
|
-
category: 'SSM'
|
|
166
|
-
},
|
|
167
|
-
'BUS-MGMT': {
|
|
168
|
-
label: 'Business and Management Studies',
|
|
169
|
-
category: 'SSM'
|
|
170
|
-
},
|
|
171
|
-
'COMM-MEDIA': {
|
|
172
|
-
label: 'Communication and Media Studies',
|
|
173
|
-
category: 'SSM'
|
|
174
|
-
},
|
|
175
|
-
'DEV-STUD': {
|
|
176
|
-
label: 'Development Studies',
|
|
177
|
-
category: 'SSM'
|
|
178
|
-
},
|
|
179
|
-
ECON: {
|
|
180
|
-
label: 'Economics and Econometrics',
|
|
181
|
-
category: 'SSM'
|
|
182
|
-
},
|
|
183
|
-
'EDU-TRAIN': {
|
|
184
|
-
label: 'Education and Training',
|
|
185
|
-
category: 'SSM'
|
|
186
|
-
},
|
|
187
|
-
'HOSP-MGMT': {
|
|
188
|
-
label: 'Hospitality and Leisure Management',
|
|
189
|
-
category: 'SSM'
|
|
190
|
-
},
|
|
191
|
-
LAW: {
|
|
192
|
-
label: 'Law and Legal Studies',
|
|
193
|
-
category: 'SSM'
|
|
194
|
-
},
|
|
195
|
-
'LIB-INFO': {
|
|
196
|
-
label: 'Library and Information Management',
|
|
197
|
-
category: 'SSM'
|
|
198
|
-
},
|
|
199
|
-
MKT: {
|
|
200
|
-
label: 'Marketing',
|
|
201
|
-
category: 'SSM'
|
|
202
|
-
},
|
|
203
|
-
POL: {
|
|
204
|
-
label: 'Politics',
|
|
205
|
-
category: 'SSM'
|
|
206
|
-
},
|
|
207
|
-
'SOC-POL': {
|
|
208
|
-
label: 'Social Policy and Administration',
|
|
209
|
-
category: 'SSM'
|
|
210
|
-
},
|
|
211
|
-
SOC: {
|
|
212
|
-
label: 'Sociology',
|
|
213
|
-
category: 'SSM'
|
|
214
|
-
},
|
|
215
|
-
SPORT: {
|
|
216
|
-
label: 'Sports-Related Subjects',
|
|
217
|
-
category: 'SSM'
|
|
218
|
-
},
|
|
219
|
-
'STAT-OR': {
|
|
220
|
-
label: 'Statistics and Operational Research',
|
|
221
|
-
category: 'SSM'
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
export var SemesterType;
|
|
225
|
-
(function (SemesterType) {
|
|
226
|
-
SemesterType["SummerSemester"] = "SS";
|
|
227
|
-
SemesterType["WinterSemester"] = "WS";
|
|
228
|
-
SemesterType["Rolling"] = "Rolling";
|
|
229
|
-
})(SemesterType || (SemesterType = {}));
|
|
230
|
-
export var SchoolType;
|
|
231
|
-
(function (SchoolType) {
|
|
232
|
-
SchoolType["University"] = "University";
|
|
233
|
-
SchoolType["University_of_Applied_Sciences"] = "University_of_Applied_Sciences";
|
|
234
|
-
})(SchoolType || (SchoolType = {}));
|
|
235
|
-
export var SCHOOL_TYPES = [
|
|
236
|
-
SchoolType.University,
|
|
237
|
-
SchoolType.University_of_Applied_Sciences
|
|
238
|
-
];
|
|
239
|
-
var Category;
|
|
240
|
-
(function (Category) {
|
|
241
|
-
Category["TU9"] = "TU9";
|
|
242
|
-
Category["U15"] = "U15";
|
|
243
|
-
Category["EUROTECH"] = "EUROTECH";
|
|
244
|
-
Category["GERMAN_ELITE"] = "GERMAN_ELITE";
|
|
245
|
-
Category["TOP50"] = "TOP50";
|
|
246
|
-
Category["TIME"] = "TIME";
|
|
247
|
-
Category["TOP100"] = "TOP100";
|
|
248
|
-
Category["TOP150"] = "TOP150";
|
|
249
|
-
Category["TOP250"] = "TOP250";
|
|
250
|
-
Category["TOP500"] = "TOP500";
|
|
251
|
-
})(Category || (Category = {}));
|
|
252
|
-
export var DIFFICULTY = {
|
|
253
|
-
EASY: 'EASY',
|
|
254
|
-
HARD: 'HARD'
|
|
255
|
-
};
|
|
256
|
-
export var SCHOOL_TAGS = (_a = {},
|
|
257
|
-
_a[Category.U15] = {
|
|
258
|
-
label: 'U15',
|
|
259
|
-
category: 'U15'
|
|
260
|
-
},
|
|
261
|
-
_a[Category.TU9] = {
|
|
262
|
-
label: 'TU9 German Universities of Technology',
|
|
263
|
-
category: 'TU9'
|
|
264
|
-
},
|
|
265
|
-
_a[Category.EUROTECH] = {
|
|
266
|
-
label: 'EuroTech Universities Alliance',
|
|
267
|
-
category: 'EUROTECH'
|
|
268
|
-
},
|
|
269
|
-
_a[Category.GERMAN_ELITE] = {
|
|
270
|
-
label: 'German Excellence Initiative',
|
|
271
|
-
category: 'GERMAN_ELITE'
|
|
272
|
-
},
|
|
273
|
-
_a[Category.TIME] = {
|
|
274
|
-
label: 'Top International Managers in Engineering',
|
|
275
|
-
category: 'TIME'
|
|
276
|
-
},
|
|
277
|
-
_a[Category.TOP50] = {
|
|
278
|
-
label: 'QS Top 50 Universities',
|
|
279
|
-
category: 'TOP50'
|
|
280
|
-
},
|
|
281
|
-
_a[Category.TOP100] = {
|
|
282
|
-
label: 'QS Top 100 Universities',
|
|
283
|
-
category: 'TOP100'
|
|
284
|
-
},
|
|
285
|
-
_a[Category.TOP150] = {
|
|
286
|
-
label: 'QS Top 150 Universities',
|
|
287
|
-
category: 'TOP150'
|
|
288
|
-
},
|
|
289
|
-
_a[Category.TOP250] = {
|
|
290
|
-
label: 'QS Top 250 Universities',
|
|
291
|
-
category: 'TOP150'
|
|
292
|
-
},
|
|
293
|
-
_a[Category.TOP500] = {
|
|
294
|
-
label: 'QS Top 500 Universities',
|
|
295
|
-
category: 'TOP500'
|
|
296
|
-
},
|
|
297
|
-
_a);
|
package/dist/esm/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './users';
|
package/dist/esm/types/users.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
export declare const PROGRAM_SUBJECTS: {
|
|
2
|
-
LING: {
|
|
3
|
-
label: string;
|
|
4
|
-
category: string;
|
|
5
|
-
};
|
|
6
|
-
MUS: {
|
|
7
|
-
label: string;
|
|
8
|
-
category: string;
|
|
9
|
-
};
|
|
10
|
-
THEO: {
|
|
11
|
-
label: string;
|
|
12
|
-
category: string;
|
|
13
|
-
};
|
|
14
|
-
ARCH: {
|
|
15
|
-
label: string;
|
|
16
|
-
category: string;
|
|
17
|
-
};
|
|
18
|
-
'ARCH-BE': {
|
|
19
|
-
label: string;
|
|
20
|
-
category: string;
|
|
21
|
-
};
|
|
22
|
-
'ART-DES': {
|
|
23
|
-
label: string;
|
|
24
|
-
category: string;
|
|
25
|
-
};
|
|
26
|
-
CLAH: {
|
|
27
|
-
label: string;
|
|
28
|
-
category: string;
|
|
29
|
-
};
|
|
30
|
-
ELL: {
|
|
31
|
-
label: string;
|
|
32
|
-
category: string;
|
|
33
|
-
};
|
|
34
|
-
HIST: {
|
|
35
|
-
label: string;
|
|
36
|
-
category: string;
|
|
37
|
-
};
|
|
38
|
-
ARTH: {
|
|
39
|
-
label: string;
|
|
40
|
-
category: string;
|
|
41
|
-
};
|
|
42
|
-
'MOD-LANG': {
|
|
43
|
-
label: string;
|
|
44
|
-
category: string;
|
|
45
|
-
};
|
|
46
|
-
'PERF-ART': {
|
|
47
|
-
label: string;
|
|
48
|
-
category: string;
|
|
49
|
-
};
|
|
50
|
-
PHIL: {
|
|
51
|
-
label: string;
|
|
52
|
-
category: string;
|
|
53
|
-
};
|
|
54
|
-
'CHEM-ENG': {
|
|
55
|
-
label: string;
|
|
56
|
-
category: string;
|
|
57
|
-
};
|
|
58
|
-
'CIV-STR-ENG': {
|
|
59
|
-
label: string;
|
|
60
|
-
category: string;
|
|
61
|
-
};
|
|
62
|
-
CSIS: {
|
|
63
|
-
label: string;
|
|
64
|
-
category: string;
|
|
65
|
-
};
|
|
66
|
-
'DS-AI': {
|
|
67
|
-
label: string;
|
|
68
|
-
category: string;
|
|
69
|
-
};
|
|
70
|
-
'ELEC-ENG': {
|
|
71
|
-
label: string;
|
|
72
|
-
category: string;
|
|
73
|
-
};
|
|
74
|
-
'PETRO-ENG': {
|
|
75
|
-
label: string;
|
|
76
|
-
category: string;
|
|
77
|
-
};
|
|
78
|
-
'MECH-ENG': {
|
|
79
|
-
label: string;
|
|
80
|
-
category: string;
|
|
81
|
-
};
|
|
82
|
-
'MIN-MIN-ENG': {
|
|
83
|
-
label: string;
|
|
84
|
-
category: string;
|
|
85
|
-
};
|
|
86
|
-
'AG-FOR': {
|
|
87
|
-
label: string;
|
|
88
|
-
category: string;
|
|
89
|
-
};
|
|
90
|
-
'ANA-PHYS': {
|
|
91
|
-
label: string;
|
|
92
|
-
category: string;
|
|
93
|
-
};
|
|
94
|
-
'BIO-SCI': {
|
|
95
|
-
label: string;
|
|
96
|
-
category: string;
|
|
97
|
-
};
|
|
98
|
-
DENT: {
|
|
99
|
-
label: string;
|
|
100
|
-
category: string;
|
|
101
|
-
};
|
|
102
|
-
MED: {
|
|
103
|
-
label: string;
|
|
104
|
-
category: string;
|
|
105
|
-
};
|
|
106
|
-
NURS: {
|
|
107
|
-
label: string;
|
|
108
|
-
category: string;
|
|
109
|
-
};
|
|
110
|
-
PHARM: {
|
|
111
|
-
label: string;
|
|
112
|
-
category: string;
|
|
113
|
-
};
|
|
114
|
-
PSYCH: {
|
|
115
|
-
label: string;
|
|
116
|
-
category: string;
|
|
117
|
-
};
|
|
118
|
-
'VET-SCI': {
|
|
119
|
-
label: string;
|
|
120
|
-
category: string;
|
|
121
|
-
};
|
|
122
|
-
CHEM: {
|
|
123
|
-
label: string;
|
|
124
|
-
category: string;
|
|
125
|
-
};
|
|
126
|
-
'EAR-MAR-SCI': {
|
|
127
|
-
label: string;
|
|
128
|
-
category: string;
|
|
129
|
-
};
|
|
130
|
-
'ENV-SCI': {
|
|
131
|
-
label: string;
|
|
132
|
-
category: string;
|
|
133
|
-
};
|
|
134
|
-
GEO: {
|
|
135
|
-
label: string;
|
|
136
|
-
category: string;
|
|
137
|
-
};
|
|
138
|
-
GEOL: {
|
|
139
|
-
label: string;
|
|
140
|
-
category: string;
|
|
141
|
-
};
|
|
142
|
-
GEOPH: {
|
|
143
|
-
label: string;
|
|
144
|
-
category: string;
|
|
145
|
-
};
|
|
146
|
-
'MAT-SCI': {
|
|
147
|
-
label: string;
|
|
148
|
-
category: string;
|
|
149
|
-
};
|
|
150
|
-
MATH: {
|
|
151
|
-
label: string;
|
|
152
|
-
category: string;
|
|
153
|
-
};
|
|
154
|
-
'PHYS-ASTRO': {
|
|
155
|
-
label: string;
|
|
156
|
-
category: string;
|
|
157
|
-
};
|
|
158
|
-
'ACC-FIN': {
|
|
159
|
-
label: string;
|
|
160
|
-
category: string;
|
|
161
|
-
};
|
|
162
|
-
ANTH: {
|
|
163
|
-
label: string;
|
|
164
|
-
category: string;
|
|
165
|
-
};
|
|
166
|
-
'BUS-MGMT': {
|
|
167
|
-
label: string;
|
|
168
|
-
category: string;
|
|
169
|
-
};
|
|
170
|
-
'COMM-MEDIA': {
|
|
171
|
-
label: string;
|
|
172
|
-
category: string;
|
|
173
|
-
};
|
|
174
|
-
'DEV-STUD': {
|
|
175
|
-
label: string;
|
|
176
|
-
category: string;
|
|
177
|
-
};
|
|
178
|
-
ECON: {
|
|
179
|
-
label: string;
|
|
180
|
-
category: string;
|
|
181
|
-
};
|
|
182
|
-
'EDU-TRAIN': {
|
|
183
|
-
label: string;
|
|
184
|
-
category: string;
|
|
185
|
-
};
|
|
186
|
-
'HOSP-MGMT': {
|
|
187
|
-
label: string;
|
|
188
|
-
category: string;
|
|
189
|
-
};
|
|
190
|
-
LAW: {
|
|
191
|
-
label: string;
|
|
192
|
-
category: string;
|
|
193
|
-
};
|
|
194
|
-
'LIB-INFO': {
|
|
195
|
-
label: string;
|
|
196
|
-
category: string;
|
|
197
|
-
};
|
|
198
|
-
MKT: {
|
|
199
|
-
label: string;
|
|
200
|
-
category: string;
|
|
201
|
-
};
|
|
202
|
-
POL: {
|
|
203
|
-
label: string;
|
|
204
|
-
category: string;
|
|
205
|
-
};
|
|
206
|
-
'SOC-POL': {
|
|
207
|
-
label: string;
|
|
208
|
-
category: string;
|
|
209
|
-
};
|
|
210
|
-
SOC: {
|
|
211
|
-
label: string;
|
|
212
|
-
category: string;
|
|
213
|
-
};
|
|
214
|
-
SPORT: {
|
|
215
|
-
label: string;
|
|
216
|
-
category: string;
|
|
217
|
-
};
|
|
218
|
-
'STAT-OR': {
|
|
219
|
-
label: string;
|
|
220
|
-
category: string;
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
export declare enum SemesterType {
|
|
224
|
-
SummerSemester = "SS",
|
|
225
|
-
WinterSemester = "WS",
|
|
226
|
-
Rolling = "Rolling"
|
|
227
|
-
}
|
|
228
|
-
export declare enum SchoolType {
|
|
229
|
-
University = "University",
|
|
230
|
-
University_of_Applied_Sciences = "University_of_Applied_Sciences"
|
|
231
|
-
}
|
|
232
|
-
export declare const SCHOOL_TYPES: SchoolType[];
|
|
233
|
-
export declare const DIFFICULTY: {
|
|
234
|
-
EASY: string;
|
|
235
|
-
HARD: string;
|
|
236
|
-
};
|
|
237
|
-
export declare const SCHOOL_TAGS: {
|
|
238
|
-
U15: {
|
|
239
|
-
label: string;
|
|
240
|
-
category: string;
|
|
241
|
-
};
|
|
242
|
-
TU9: {
|
|
243
|
-
label: string;
|
|
244
|
-
category: string;
|
|
245
|
-
};
|
|
246
|
-
EUROTECH: {
|
|
247
|
-
label: string;
|
|
248
|
-
category: string;
|
|
249
|
-
};
|
|
250
|
-
GERMAN_ELITE: {
|
|
251
|
-
label: string;
|
|
252
|
-
category: string;
|
|
253
|
-
};
|
|
254
|
-
TIME: {
|
|
255
|
-
label: string;
|
|
256
|
-
category: string;
|
|
257
|
-
};
|
|
258
|
-
TOP50: {
|
|
259
|
-
label: string;
|
|
260
|
-
category: string;
|
|
261
|
-
};
|
|
262
|
-
TOP100: {
|
|
263
|
-
label: string;
|
|
264
|
-
category: string;
|
|
265
|
-
};
|
|
266
|
-
TOP150: {
|
|
267
|
-
label: string;
|
|
268
|
-
category: string;
|
|
269
|
-
};
|
|
270
|
-
TOP250: {
|
|
271
|
-
label: string;
|
|
272
|
-
category: string;
|
|
273
|
-
};
|
|
274
|
-
TOP500: {
|
|
275
|
-
label: string;
|
|
276
|
-
category: string;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './users';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimal user shape for role-checking utils.
|
|
3
|
-
* Compatible with @taiger-common/model IUser (role from Mongoose discriminator).
|
|
4
|
-
*/
|
|
5
|
-
export interface UserProps {
|
|
6
|
-
role: string;
|
|
7
|
-
archiv?: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Minimal application shape for application-status utils.
|
|
11
|
-
* Compatible with @taiger-common/model IApplication.
|
|
12
|
-
*/
|
|
13
|
-
export interface ApplicationProps {
|
|
14
|
-
decided: string;
|
|
15
|
-
closed: string;
|
|
16
|
-
admission: string;
|
|
17
|
-
}
|