@studyportals/static-domain-data 7.0.0-0 → 7.0.0-1
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/cjs/src/continents/continent-country-mapping.js +21 -242
- package/cjs/src/continents/continent-iso-country-mapping.js +3 -2
- package/cjs/src/countries/chunks/country-records-a-f.js +80 -0
- package/cjs/src/countries/chunks/country-records-g-l.js +51 -0
- package/cjs/src/countries/chunks/country-records-m-r.js +59 -0
- package/cjs/src/countries/chunks/country-records-s-z.js +63 -0
- package/cjs/src/countries/countries.js +11 -919
- package/cjs/src/countries/country-bit-values-mapping.js +231 -229
- package/cjs/src/countries/country-get-path.js +8 -234
- package/cjs/src/countries/country-id-iso-code-mapping.js +10 -230
- package/cjs/src/countries/i-country-record.js +2 -0
- package/cjs/src/currencies/chunks/currency-records-a-f.js +55 -0
- package/cjs/src/currencies/chunks/currency-records-g-l.js +48 -0
- package/cjs/src/currencies/chunks/currency-records-m-r.js +38 -0
- package/cjs/src/currencies/chunks/currency-records-s-z.js +50 -0
- package/cjs/src/currencies/currencies.js +10 -669
- package/cjs/src/currencies/currency-get-countries.js +16 -526
- package/cjs/src/currencies/currency-get-from-country.js +6 -4
- package/cjs/src/currencies/i-currency-record.js +2 -0
- package/cjs/src/disciplines/subdisciplines.js +285 -1416
- package/cjs/src/gpa/get-grade-by-grade-type.js +2 -25
- package/cjs/src/gpa/grade-data-by-type.js +57 -0
- package/esm/src/continents/continent-country-mapping.d.ts +1 -1
- package/esm/src/continents/continent-country-mapping.js +22 -243
- package/esm/src/continents/continent-iso-country-mapping.d.ts +2 -1
- package/esm/src/continents/continent-iso-country-mapping.js +2 -2
- package/esm/src/countries/chunks/country-records-a-f.d.ts +3 -0
- package/esm/src/countries/chunks/country-records-a-f.js +77 -0
- package/esm/src/countries/chunks/country-records-g-l.d.ts +3 -0
- package/esm/src/countries/chunks/country-records-g-l.js +48 -0
- package/esm/src/countries/chunks/country-records-m-r.d.ts +3 -0
- package/esm/src/countries/chunks/country-records-m-r.js +56 -0
- package/esm/src/countries/chunks/country-records-s-z.d.ts +3 -0
- package/esm/src/countries/chunks/country-records-s-z.js +60 -0
- package/esm/src/countries/countries.d.ts +1 -1
- package/esm/src/countries/countries.js +12 -920
- package/esm/src/countries/country-bit-values-mapping.d.ts +3 -2
- package/esm/src/countries/country-bit-values-mapping.js +231 -229
- package/esm/src/countries/country-get-path.d.ts +1 -1
- package/esm/src/countries/country-get-path.js +9 -235
- package/esm/src/countries/country-id-iso-code-mapping.d.ts +1 -1
- package/esm/src/countries/country-id-iso-code-mapping.js +11 -231
- package/esm/src/countries/i-country-record.d.ts +1 -0
- package/esm/src/countries/i-country-record.js +1 -0
- package/esm/src/currencies/chunks/currency-records-a-f.d.ts +3 -0
- package/esm/src/currencies/chunks/currency-records-a-f.js +52 -0
- package/esm/src/currencies/chunks/currency-records-g-l.d.ts +3 -0
- package/esm/src/currencies/chunks/currency-records-g-l.js +45 -0
- package/esm/src/currencies/chunks/currency-records-m-r.d.ts +3 -0
- package/esm/src/currencies/chunks/currency-records-m-r.js +35 -0
- package/esm/src/currencies/chunks/currency-records-s-z.d.ts +3 -0
- package/esm/src/currencies/chunks/currency-records-s-z.js +47 -0
- package/esm/src/currencies/currencies.d.ts +1 -1
- package/esm/src/currencies/currencies.js +11 -670
- package/esm/src/currencies/currency-get-countries.d.ts +1 -1
- package/esm/src/currencies/currency-get-countries.js +17 -527
- package/esm/src/currencies/currency-get-from-country.d.ts +1 -1
- package/esm/src/currencies/currency-get-from-country.js +7 -5
- package/esm/src/currencies/i-currency-record.d.ts +1 -0
- package/esm/src/currencies/i-currency-record.js +1 -0
- package/esm/src/disciplines/subdisciplines.js +285 -1416
- package/esm/src/gpa/get-grade-by-grade-type.js +2 -2
- package/esm/src/gpa/grade-data-by-type.d.ts +4 -0
- package/esm/src/gpa/grade-data-by-type.js +54 -0
- package/esm/src/gpa/i-option.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { gradeDataByType } from './grade-data-by-type';
|
|
2
2
|
const getGradesByGradeType = (gradeType) => {
|
|
3
|
-
const gradeData =
|
|
3
|
+
const gradeData = gradeDataByType[gradeType];
|
|
4
4
|
return gradeData;
|
|
5
5
|
};
|
|
6
6
|
export { getGradesByGradeType };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ae_percentage } from "./data/ae_percentage";
|
|
2
|
+
import { au_common } from "./data/au_common";
|
|
3
|
+
import { bd_percentage } from "./data/bd_percentage";
|
|
4
|
+
import { ca_letters } from "./data/ca_letters";
|
|
5
|
+
import { ca_percentage } from "./data/ca_percentage";
|
|
6
|
+
import { de_common } from "./data/de_common";
|
|
7
|
+
import { eg_percentage } from "./data/eg_percentage";
|
|
8
|
+
import { id_numeric } from "./data/id_numeric";
|
|
9
|
+
import { in_percentage } from "./data/in_percentage";
|
|
10
|
+
import { ir_numeric } from "./data/ir_numeric";
|
|
11
|
+
import { it_numeric } from "./data/it_numeric";
|
|
12
|
+
import { ke_percentage } from "./data/ke_percentage";
|
|
13
|
+
import { ng_letters } from "./data/ng_letters";
|
|
14
|
+
import { ng_percentage } from "./data/ng_percentage";
|
|
15
|
+
import { nl_numeric } from "./data/nl_numeric";
|
|
16
|
+
import { ph_numeric } from "./data/ph_numeric";
|
|
17
|
+
import { pk_percentage } from "./data/pk_percentage";
|
|
18
|
+
import { self_assessment_grade } from "./data/self_assessment_grade";
|
|
19
|
+
import { tr_common } from "./data/tr_common";
|
|
20
|
+
import { uk_honours } from "./data/uk_hounours";
|
|
21
|
+
import { uk_postgraduate_common } from "./data/uk_postgraduate_common";
|
|
22
|
+
import { us_letter } from "./data/us_letter";
|
|
23
|
+
import { us_numeric } from "./data/us_numeric";
|
|
24
|
+
import { us_percentage } from "./data/us_percentage";
|
|
25
|
+
import { za_percentage } from "./data/za_percentage";
|
|
26
|
+
import { GradeType } from "./grade-type.enum";
|
|
27
|
+
const gradeDataByType = {
|
|
28
|
+
[GradeType.SELF_ASSESSMENT_GRADE]: self_assessment_grade,
|
|
29
|
+
[GradeType.US_PERCENTAGE]: us_percentage,
|
|
30
|
+
[GradeType.US_LETTER]: us_letter,
|
|
31
|
+
[GradeType.UK_HONOURS]: uk_honours,
|
|
32
|
+
[GradeType.UK_POSTGRADUATE_COMMON]: uk_postgraduate_common,
|
|
33
|
+
[GradeType.US_NUMERIC]: us_numeric,
|
|
34
|
+
[GradeType.NL_NUMERIC]: nl_numeric,
|
|
35
|
+
[GradeType.AU_COMMON]: au_common,
|
|
36
|
+
[GradeType.IN_PERCENTAGE]: in_percentage,
|
|
37
|
+
[GradeType.NG_PERCENTAGE]: ng_percentage,
|
|
38
|
+
[GradeType.NG_LETTERS]: ng_letters,
|
|
39
|
+
[GradeType.PK_PERCENTAGE]: pk_percentage,
|
|
40
|
+
[GradeType.CA_PERCENTAGE]: ca_percentage,
|
|
41
|
+
[GradeType.CA_LETTERS]: ca_letters,
|
|
42
|
+
[GradeType.DE_COMMON]: de_common,
|
|
43
|
+
[GradeType.TR_COMMON]: tr_common,
|
|
44
|
+
[GradeType.IR_NUMERIC]: ir_numeric,
|
|
45
|
+
[GradeType.BD_PERCENTAGE]: bd_percentage,
|
|
46
|
+
[GradeType.IT_NUMERIC]: it_numeric,
|
|
47
|
+
[GradeType.PH_NUMERIC]: ph_numeric,
|
|
48
|
+
[GradeType.ID_NUMERIC]: id_numeric,
|
|
49
|
+
[GradeType.KE_PERCENTAGE]: ke_percentage,
|
|
50
|
+
[GradeType.ZA_PERCENTAGE]: za_percentage,
|
|
51
|
+
[GradeType.AE_PERCENTAGE]: ae_percentage,
|
|
52
|
+
[GradeType.EG_PERCENTAGE]: eg_percentage,
|
|
53
|
+
};
|
|
54
|
+
export { gradeDataByType, };
|