@magmamath/frontend-config 1.1.0 → 1.1.2-rc.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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -471,7 +471,7 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
471
471
|
};
|
|
472
472
|
|
|
473
473
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
474
|
-
type AuthWebBaseVars = Omit<RegionSpecificVars, '
|
|
474
|
+
type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
475
475
|
TOS_URL: string;
|
|
476
476
|
CLARITY_PROJECT_ID: string;
|
|
477
477
|
INTERCOM_APP_ID: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -471,7 +471,7 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
471
471
|
};
|
|
472
472
|
|
|
473
473
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
474
|
-
type AuthWebBaseVars = Omit<RegionSpecificVars, '
|
|
474
|
+
type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
475
475
|
TOS_URL: string;
|
|
476
476
|
CLARITY_PROJECT_ID: string;
|
|
477
477
|
INTERCOM_APP_ID: string;
|
package/dist/index.js
CHANGED
|
@@ -991,6 +991,7 @@ var PLATFORM_URLS = {
|
|
|
991
991
|
var ENV_AUTH_WEB_US_MARS = {
|
|
992
992
|
...PLATFORM_URLS.MARS,
|
|
993
993
|
API_URL: "https://api.mars.magmamath.com/v2",
|
|
994
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
994
995
|
MAGMAMATH_URL: "https://www.magmamath.com",
|
|
995
996
|
TOS_URL: "https://www.magmamath.com/legal-documents/terms-of-use",
|
|
996
997
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
@@ -1006,6 +1007,7 @@ var ENV_AUTH_WEB_US_MARS = {
|
|
|
1006
1007
|
var ENV_AUTH_WEB_US_PROD = {
|
|
1007
1008
|
...PLATFORM_URLS.PROD,
|
|
1008
1009
|
API_URL: "https://api.magmamath.com/v2",
|
|
1010
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
1009
1011
|
MAGMAMATH_URL: "https://www.magmamath.com",
|
|
1010
1012
|
TOS_URL: "https://www.magmamath.com/legal-documents/terms-of-use",
|
|
1011
1013
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
@@ -1021,6 +1023,7 @@ var ENV_AUTH_WEB_US_PROD = {
|
|
|
1021
1023
|
var ENV_AUTH_WEB_SE_MARS = {
|
|
1022
1024
|
API_URL: "https://api.mars.matteappen.se/v2",
|
|
1023
1025
|
AUTH_WEB_URL: "https://app.mars.matteappen.se",
|
|
1026
|
+
CDN_HOST: "https://cdn.mars.matteappen.se",
|
|
1024
1027
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1025
1028
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1026
1029
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
@@ -1038,6 +1041,7 @@ var ENV_AUTH_WEB_SE_MARS = {
|
|
|
1038
1041
|
var ENV_AUTH_WEB_SE_PROD = {
|
|
1039
1042
|
API_URL: "https://api.matteappen.se/v2",
|
|
1040
1043
|
AUTH_WEB_URL: "https://app.matteappen.se",
|
|
1044
|
+
CDN_HOST: "https://cdn.matteappen.se",
|
|
1041
1045
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1042
1046
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1043
1047
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
@@ -1056,6 +1060,7 @@ var ENV_AUTH_WEB_GB_MARS = {
|
|
|
1056
1060
|
...PLATFORM_URLS.MARS,
|
|
1057
1061
|
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`,
|
|
1058
1062
|
API_URL: "https://api.mars.magmamath.com/v2",
|
|
1063
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
1059
1064
|
MAGMAMATH_URL: "https://www.magmamaths.co.uk",
|
|
1060
1065
|
TOS_URL: "https://www.magmamaths.co.uk/legal-documents/uk-terms-of-use",
|
|
1061
1066
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
@@ -1071,6 +1076,7 @@ var ENV_AUTH_WEB_GB_PROD = {
|
|
|
1071
1076
|
...PLATFORM_URLS.PROD,
|
|
1072
1077
|
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`,
|
|
1073
1078
|
API_URL: "https://api.magmamath.com/v2",
|
|
1079
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
1074
1080
|
MAGMAMATH_URL: "https://www.magmamaths.co.uk",
|
|
1075
1081
|
TOS_URL: "https://www.magmamaths.co.uk/legal-documents/uk-terms-of-use",
|
|
1076
1082
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
@@ -1086,6 +1092,7 @@ var ENV_AUTH_WEB_CA_MARS = {
|
|
|
1086
1092
|
...PLATFORM_URLS.MARS,
|
|
1087
1093
|
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/ca`,
|
|
1088
1094
|
API_URL: "https://api.ca.magmamath.com/v2",
|
|
1095
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
1089
1096
|
MAGMAMATH_URL: "https://www.magmamath.com",
|
|
1090
1097
|
TOS_URL: "https://www.magmamath.com/legal-documents/terms-of-use",
|
|
1091
1098
|
GOOGLE_AUTH: "https://api.ca.magmamath.com/v2/auth/google",
|
|
@@ -1102,6 +1109,7 @@ var ENV_AUTH_WEB_CA_PROD = {
|
|
|
1102
1109
|
...PLATFORM_URLS.PROD,
|
|
1103
1110
|
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/ca`,
|
|
1104
1111
|
API_URL: "https://api.ca.magmamath.com/v2",
|
|
1112
|
+
CDN_HOST: "https://cdn.ca.magmamath.com",
|
|
1105
1113
|
MAGMAMATH_URL: "https://www.magmamath.com",
|
|
1106
1114
|
TOS_URL: "https://www.magmamath.com/legal-documents/terms-of-use",
|
|
1107
1115
|
GOOGLE_AUTH: "https://api.ca.magmamath.com/v2/auth/google",
|
|
@@ -1118,6 +1126,7 @@ var ENV_AUTH_WEB_SCT_MARS = {
|
|
|
1118
1126
|
...PLATFORM_URLS.MARS,
|
|
1119
1127
|
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`,
|
|
1120
1128
|
API_URL: "https://api.mars.magmamath.com/v2",
|
|
1129
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
1121
1130
|
MAGMAMATH_URL: "https://www.magmamaths.co.uk",
|
|
1122
1131
|
TOS_URL: "https://www.magmamaths.co.uk/legal-documents/uk-terms-of-use",
|
|
1123
1132
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
@@ -1133,6 +1142,7 @@ var ENV_AUTH_WEB_DE_MARS = {
|
|
|
1133
1142
|
...PLATFORM_URLS.MARS,
|
|
1134
1143
|
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/de`,
|
|
1135
1144
|
API_URL: "https://api.mars.magmamath.com/v2",
|
|
1145
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
1136
1146
|
MAGMAMATH_URL: "https://www.magmamath.com",
|
|
1137
1147
|
TOS_URL: "https://www.magmamath.com/legal-documents/terms-of-use",
|
|
1138
1148
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
@@ -1634,6 +1644,7 @@ var ENV_AUTH_WEB_SCT_PROD = {
|
|
|
1634
1644
|
...PLATFORM_URLS.PROD,
|
|
1635
1645
|
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`,
|
|
1636
1646
|
API_URL: "https://api.magmamath.com/v2",
|
|
1647
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
1637
1648
|
MAGMAMATH_URL: "https://www.magmamaths.co.uk",
|
|
1638
1649
|
TOS_URL: "https://www.magmamaths.co.uk/legal-documents/uk-terms-of-use",
|
|
1639
1650
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
@@ -1649,6 +1660,7 @@ var ENV_AUTH_WEB_DE_PROD = {
|
|
|
1649
1660
|
...PLATFORM_URLS.PROD,
|
|
1650
1661
|
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/de`,
|
|
1651
1662
|
API_URL: "https://api.magmamath.com/v2",
|
|
1663
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
1652
1664
|
MAGMAMATH_URL: "https://www.magmamath.com",
|
|
1653
1665
|
TOS_URL: "https://www.magmamath.com/legal-documents/terms-of-use",
|
|
1654
1666
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
@@ -2503,7 +2515,8 @@ var GRADES_CONFIG_SE = {
|
|
|
2503
2515
|
[8 /* EIGHT */]: { name: "8" },
|
|
2504
2516
|
[9 /* NINE */]: { name: "9" },
|
|
2505
2517
|
[10 /* TEN */]: { name: "Mate\xADmatik 1", noPrefix: true },
|
|
2506
|
-
[11 /* ELEVEN */]: { name: "Mate\xADmatik 2", noPrefix: true }
|
|
2518
|
+
[11 /* ELEVEN */]: { name: "Mate\xADmatik 2", noPrefix: true },
|
|
2519
|
+
[12 /* TWELVE */]: { name: "Mate\xADmatik 3", noPrefix: true }
|
|
2507
2520
|
},
|
|
2508
2521
|
highSchool: {}
|
|
2509
2522
|
};
|