@magmamath/frontend-config 1.3.0 → 1.3.2-rc.0
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/{common.constants-Dy4DFaEM.d.mts → common.constants-ClvjFWRr.d.mts} +1 -2
- package/dist/{common.constants-Dy4DFaEM.d.ts → common.constants-ClvjFWRr.d.ts} +1 -2
- package/dist/index.d.mts +3 -21
- package/dist/index.d.ts +3 -21
- package/dist/index.js +7 -213
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -213
- package/dist/index.mjs.map +1 -1
- package/dist/translation/index.d.mts +1 -1
- package/dist/translation/index.d.ts +1 -1
- package/dist/translation/index.js +1 -0
- package/dist/translation/index.js.map +1 -1
- package/dist/translation/index.mjs +1 -0
- package/dist/translation/index.mjs.map +1 -1
- package/package.json +10 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
1
|
+
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-ClvjFWRr.mjs';
|
|
2
|
+
export { c as Source } from './common.constants-ClvjFWRr.mjs';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -305,7 +305,6 @@ type RegionSpecificVars = {
|
|
|
305
305
|
DISTRICT_WEB_URL: string;
|
|
306
306
|
LOGGLY_TAG: string;
|
|
307
307
|
MAGMAMATH_URL: string;
|
|
308
|
-
PARENT_WEB_URL: string;
|
|
309
308
|
SOCKET_URL: string;
|
|
310
309
|
STUDENTS_WEB_URL: string;
|
|
311
310
|
TEACHERS_WEB_URL: string;
|
|
@@ -500,17 +499,6 @@ type WebAdminVarsPreset = {
|
|
|
500
499
|
};
|
|
501
500
|
};
|
|
502
501
|
|
|
503
|
-
type ParentWebVars = {
|
|
504
|
-
API_URL: string;
|
|
505
|
-
CDN_HOST: string;
|
|
506
|
-
AUTH_WEB_URL: string;
|
|
507
|
-
};
|
|
508
|
-
type ParentWebVarsPreset = {
|
|
509
|
-
[key in Locale]: {
|
|
510
|
-
[key in Environment]: ParentWebVars;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
|
|
514
502
|
type EnvPreset = Readonly<{
|
|
515
503
|
[Platform.STUDENTS_WEB]: StudentsWebVarsPreset;
|
|
516
504
|
[Platform.TEACHERS_WEB]: TeachersWebVarsPreset;
|
|
@@ -518,7 +506,6 @@ type EnvPreset = Readonly<{
|
|
|
518
506
|
[Platform.AUTH_WEB]: AuthWebVarsPreset;
|
|
519
507
|
[Platform.WEB_ADMIN]: WebAdminVarsPreset;
|
|
520
508
|
[Platform.MOBILE]: MobileVarsPreset;
|
|
521
|
-
[Platform.PARENT_WEB]: ParentWebVarsPreset;
|
|
522
509
|
}>;
|
|
523
510
|
type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
524
511
|
|
|
@@ -701,8 +688,6 @@ type MobileLocaleConfig<E> = StudentsLocaleConfig & TeachersLocaleConfig & AuthL
|
|
|
701
688
|
calendar: CalendarConfig;
|
|
702
689
|
};
|
|
703
690
|
|
|
704
|
-
type ParentWebLocaleConfig = CommonLocaleConfig;
|
|
705
|
-
|
|
706
691
|
declare enum MultiplicationSymbol {
|
|
707
692
|
CDOT = "CDOT",
|
|
708
693
|
TIMES = "TIMES"
|
|
@@ -744,9 +729,6 @@ type LocalePreset = {
|
|
|
744
729
|
[Platform.MOBILE]: {
|
|
745
730
|
[key in Locale]: MobileLocaleConfig<MobileVars<SSOByLocale[key]>>;
|
|
746
731
|
};
|
|
747
|
-
[Platform.PARENT_WEB]: {
|
|
748
|
-
[key in Locale]: ParentWebLocaleConfig;
|
|
749
|
-
};
|
|
750
732
|
};
|
|
751
733
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
752
734
|
|
|
@@ -811,4 +793,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
811
793
|
};
|
|
812
794
|
}
|
|
813
795
|
|
|
814
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES,
|
|
796
|
+
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_DE, type SSO_SE, type SSO_UK, type SSO_US, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
1
|
+
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-ClvjFWRr.js';
|
|
2
|
+
export { c as Source } from './common.constants-ClvjFWRr.js';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -305,7 +305,6 @@ type RegionSpecificVars = {
|
|
|
305
305
|
DISTRICT_WEB_URL: string;
|
|
306
306
|
LOGGLY_TAG: string;
|
|
307
307
|
MAGMAMATH_URL: string;
|
|
308
|
-
PARENT_WEB_URL: string;
|
|
309
308
|
SOCKET_URL: string;
|
|
310
309
|
STUDENTS_WEB_URL: string;
|
|
311
310
|
TEACHERS_WEB_URL: string;
|
|
@@ -500,17 +499,6 @@ type WebAdminVarsPreset = {
|
|
|
500
499
|
};
|
|
501
500
|
};
|
|
502
501
|
|
|
503
|
-
type ParentWebVars = {
|
|
504
|
-
API_URL: string;
|
|
505
|
-
CDN_HOST: string;
|
|
506
|
-
AUTH_WEB_URL: string;
|
|
507
|
-
};
|
|
508
|
-
type ParentWebVarsPreset = {
|
|
509
|
-
[key in Locale]: {
|
|
510
|
-
[key in Environment]: ParentWebVars;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
|
|
514
502
|
type EnvPreset = Readonly<{
|
|
515
503
|
[Platform.STUDENTS_WEB]: StudentsWebVarsPreset;
|
|
516
504
|
[Platform.TEACHERS_WEB]: TeachersWebVarsPreset;
|
|
@@ -518,7 +506,6 @@ type EnvPreset = Readonly<{
|
|
|
518
506
|
[Platform.AUTH_WEB]: AuthWebVarsPreset;
|
|
519
507
|
[Platform.WEB_ADMIN]: WebAdminVarsPreset;
|
|
520
508
|
[Platform.MOBILE]: MobileVarsPreset;
|
|
521
|
-
[Platform.PARENT_WEB]: ParentWebVarsPreset;
|
|
522
509
|
}>;
|
|
523
510
|
type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
524
511
|
|
|
@@ -701,8 +688,6 @@ type MobileLocaleConfig<E> = StudentsLocaleConfig & TeachersLocaleConfig & AuthL
|
|
|
701
688
|
calendar: CalendarConfig;
|
|
702
689
|
};
|
|
703
690
|
|
|
704
|
-
type ParentWebLocaleConfig = CommonLocaleConfig;
|
|
705
|
-
|
|
706
691
|
declare enum MultiplicationSymbol {
|
|
707
692
|
CDOT = "CDOT",
|
|
708
693
|
TIMES = "TIMES"
|
|
@@ -744,9 +729,6 @@ type LocalePreset = {
|
|
|
744
729
|
[Platform.MOBILE]: {
|
|
745
730
|
[key in Locale]: MobileLocaleConfig<MobileVars<SSOByLocale[key]>>;
|
|
746
731
|
};
|
|
747
|
-
[Platform.PARENT_WEB]: {
|
|
748
|
-
[key in Locale]: ParentWebLocaleConfig;
|
|
749
|
-
};
|
|
750
732
|
};
|
|
751
733
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
752
734
|
|
|
@@ -811,4 +793,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
811
793
|
};
|
|
812
794
|
}
|
|
813
795
|
|
|
814
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES,
|
|
796
|
+
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_DE, type SSO_SE, type SSO_UK, type SSO_US, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
package/dist/index.js
CHANGED
|
@@ -53,7 +53,6 @@ var Platform = /* @__PURE__ */ ((Platform3) => {
|
|
|
53
53
|
Platform3["AUTH_WEB"] = "AUTH_WEB";
|
|
54
54
|
Platform3["WEB_ADMIN"] = "WEB_ADMIN";
|
|
55
55
|
Platform3["MOBILE"] = "MOBILE";
|
|
56
|
-
Platform3["PARENT_WEB"] = "PARENT_WEB";
|
|
57
56
|
return Platform3;
|
|
58
57
|
})(Platform || {});
|
|
59
58
|
var Environment = /* @__PURE__ */ ((Environment3) => {
|
|
@@ -983,22 +982,19 @@ var PLATFORM_URLS = {
|
|
|
983
982
|
AUTH_WEB_URL: "https://app.mars.magmamath.com",
|
|
984
983
|
STUDENTS_WEB_URL: "https://students.mars.magmamath.com",
|
|
985
984
|
TEACHERS_WEB_URL: "https://teachers.mars.magmamath.com",
|
|
986
|
-
DISTRICT_WEB_URL: "https://district.mars.magmamath.com"
|
|
987
|
-
PARENT_WEB_URL: "https://parent.mars.magmamath.com"
|
|
985
|
+
DISTRICT_WEB_URL: "https://district.mars.magmamath.com"
|
|
988
986
|
},
|
|
989
987
|
VENUS: {
|
|
990
988
|
AUTH_WEB_URL: "https://app.venus.magmamath.com",
|
|
991
989
|
STUDENTS_WEB_URL: "https://students.venus.magmamath.com",
|
|
992
990
|
TEACHERS_WEB_URL: "https://teachers.venus.magmamath.com",
|
|
993
|
-
DISTRICT_WEB_URL: "https://district.venus.magmamath.com"
|
|
994
|
-
PARENT_WEB_URL: "https://parent.venus.magmamath.com"
|
|
991
|
+
DISTRICT_WEB_URL: "https://district.venus.magmamath.com"
|
|
995
992
|
},
|
|
996
993
|
PROD: {
|
|
997
994
|
AUTH_WEB_URL: "https://app.magmamath.com",
|
|
998
995
|
STUDENTS_WEB_URL: "https://students.magmamath.com",
|
|
999
996
|
TEACHERS_WEB_URL: "https://teachers.magmamath.com",
|
|
1000
|
-
DISTRICT_WEB_URL: "https://district.magmamath.com"
|
|
1001
|
-
PARENT_WEB_URL: "https://parent.magmamath.com"
|
|
997
|
+
DISTRICT_WEB_URL: "https://district.magmamath.com"
|
|
1002
998
|
}
|
|
1003
999
|
};
|
|
1004
1000
|
|
|
@@ -1044,7 +1040,6 @@ var ENV_AUTH_WEB_SE_MARS = {
|
|
|
1044
1040
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1045
1041
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1046
1042
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1047
|
-
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1048
1043
|
MAGMAMATH_URL: "https://www.magma.se",
|
|
1049
1044
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
1050
1045
|
GOOGLE_AUTH: "https://api.mars.matteappen.se/v2/auth/google",
|
|
@@ -1065,7 +1060,6 @@ var ENV_AUTH_WEB_SE_PROD = {
|
|
|
1065
1060
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1066
1061
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1067
1062
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1068
|
-
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1069
1063
|
MAGMAMATH_URL: "https://www.magma.se",
|
|
1070
1064
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
1071
1065
|
GOOGLE_AUTH: "https://api.matteappen.se/v2/auth/google",
|
|
@@ -1244,7 +1238,6 @@ var ENV_STUDENTS_WEB_SE_MARS = {
|
|
|
1244
1238
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1245
1239
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1246
1240
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1247
|
-
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1248
1241
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1249
1242
|
};
|
|
1250
1243
|
|
|
@@ -1260,7 +1253,6 @@ var ENV_STUDENTS_WEB_SE_PROD = {
|
|
|
1260
1253
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1261
1254
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1262
1255
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1263
|
-
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1264
1256
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1265
1257
|
};
|
|
1266
1258
|
|
|
@@ -1422,7 +1414,6 @@ var ENV_TEACHERS_WEB_SE_MARS = {
|
|
|
1422
1414
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1423
1415
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1424
1416
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1425
|
-
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1426
1417
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1427
1418
|
};
|
|
1428
1419
|
|
|
@@ -1438,7 +1429,6 @@ var ENV_TEACHERS_WEB_SE_PROD = {
|
|
|
1438
1429
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1439
1430
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1440
1431
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1441
|
-
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1442
1432
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1443
1433
|
};
|
|
1444
1434
|
|
|
@@ -1589,7 +1579,6 @@ var ENV_DISTRICT_SE_MARS = {
|
|
|
1589
1579
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1590
1580
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1591
1581
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1592
|
-
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1593
1582
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1594
1583
|
};
|
|
1595
1584
|
|
|
@@ -1604,7 +1593,6 @@ var ENV_DISTRICT_SE_PROD = {
|
|
|
1604
1593
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1605
1594
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1606
1595
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1607
|
-
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1608
1596
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1609
1597
|
};
|
|
1610
1598
|
|
|
@@ -1740,8 +1728,7 @@ var ENV_AUTH_WEB_SE_VENUS = {
|
|
|
1740
1728
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1741
1729
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1742
1730
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1743
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1744
|
-
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1731
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1745
1732
|
};
|
|
1746
1733
|
|
|
1747
1734
|
// src/configs/env/auth-web/gb/env.gb.venus.ts
|
|
@@ -1784,8 +1771,7 @@ var ENV_STUDENTS_WEB_SE_VENUS = {
|
|
|
1784
1771
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1785
1772
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1786
1773
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1787
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1788
|
-
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1774
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1789
1775
|
};
|
|
1790
1776
|
|
|
1791
1777
|
// src/configs/env/students-web/gb/env.gb.venus.ts
|
|
@@ -1828,8 +1814,7 @@ var ENV_TEACHERS_WEB_SE_VENUS = {
|
|
|
1828
1814
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1829
1815
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1830
1816
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1831
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1832
|
-
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1817
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1833
1818
|
};
|
|
1834
1819
|
|
|
1835
1820
|
// src/configs/env/teachers-web/gb/env.gb.venus.ts
|
|
@@ -1872,8 +1857,7 @@ var ENV_DISTRICT_SE_VENUS = {
|
|
|
1872
1857
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1873
1858
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1874
1859
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1875
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1876
|
-
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1860
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1877
1861
|
};
|
|
1878
1862
|
|
|
1879
1863
|
// src/configs/env/district-dash/gb/env.gb.venus.ts
|
|
@@ -2248,126 +2232,6 @@ var ENV_MOBILE_DE_PROD = {
|
|
|
2248
2232
|
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
2249
2233
|
};
|
|
2250
2234
|
|
|
2251
|
-
// src/configs/env/parent-web/us/env.us.mars.ts
|
|
2252
|
-
var ENV_PARENT_WEB_US_MARS = {
|
|
2253
|
-
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2254
|
-
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2255
|
-
AUTH_WEB_URL: PLATFORM_URLS.MARS.AUTH_WEB_URL
|
|
2256
|
-
};
|
|
2257
|
-
|
|
2258
|
-
// src/configs/env/parent-web/us/env.us.prod.ts
|
|
2259
|
-
var ENV_PARENT_WEB_US_PROD = {
|
|
2260
|
-
API_URL: "https://api.magmamath.com/v2",
|
|
2261
|
-
CDN_HOST: "https://cdn.magmamath.com",
|
|
2262
|
-
AUTH_WEB_URL: PLATFORM_URLS.PROD.AUTH_WEB_URL
|
|
2263
|
-
};
|
|
2264
|
-
|
|
2265
|
-
// src/configs/env/parent-web/us/env.us.venus.ts
|
|
2266
|
-
var ENV_PARENT_WEB_US_VENUS = {
|
|
2267
|
-
...ENV_PARENT_WEB_US_PROD,
|
|
2268
|
-
AUTH_WEB_URL: PLATFORM_URLS.VENUS.AUTH_WEB_URL
|
|
2269
|
-
};
|
|
2270
|
-
|
|
2271
|
-
// src/configs/env/parent-web/se/env.se.mars.ts
|
|
2272
|
-
var ENV_PARENT_WEB_SE_MARS = {
|
|
2273
|
-
API_URL: "https://api.mars.matteappen.se/v2",
|
|
2274
|
-
CDN_HOST: "https://cdn.mars.matteappen.se",
|
|
2275
|
-
AUTH_WEB_URL: "https://app.mars.matteappen.se"
|
|
2276
|
-
};
|
|
2277
|
-
|
|
2278
|
-
// src/configs/env/parent-web/se/env.se.prod.ts
|
|
2279
|
-
var ENV_PARENT_WEB_SE_PROD = {
|
|
2280
|
-
API_URL: "https://api.matteappen.se/v2",
|
|
2281
|
-
CDN_HOST: "https://cdn.matteappen.se",
|
|
2282
|
-
AUTH_WEB_URL: "https://app.matteappen.se"
|
|
2283
|
-
};
|
|
2284
|
-
|
|
2285
|
-
// src/configs/env/parent-web/se/env.se.venus.ts
|
|
2286
|
-
var ENV_PARENT_WEB_SE_VENUS = {
|
|
2287
|
-
...ENV_PARENT_WEB_SE_PROD,
|
|
2288
|
-
AUTH_WEB_URL: "https://app.venus.matteappen.se"
|
|
2289
|
-
};
|
|
2290
|
-
|
|
2291
|
-
// src/configs/env/parent-web/gb/env.gb.mars.ts
|
|
2292
|
-
var ENV_PARENT_WEB_GB_MARS = {
|
|
2293
|
-
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2294
|
-
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2295
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`
|
|
2296
|
-
};
|
|
2297
|
-
|
|
2298
|
-
// src/configs/env/parent-web/gb/env.gb.prod.ts
|
|
2299
|
-
var ENV_PARENT_WEB_GB_PROD = {
|
|
2300
|
-
API_URL: "https://api.magmamath.com/v2",
|
|
2301
|
-
CDN_HOST: "https://cdn.magmamath.com",
|
|
2302
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`
|
|
2303
|
-
};
|
|
2304
|
-
|
|
2305
|
-
// src/configs/env/parent-web/gb/env.gb.venus.ts
|
|
2306
|
-
var ENV_PARENT_WEB_GB_VENUS = {
|
|
2307
|
-
...ENV_PARENT_WEB_GB_PROD,
|
|
2308
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/uk`
|
|
2309
|
-
};
|
|
2310
|
-
|
|
2311
|
-
// src/configs/env/parent-web/ca/env.ca.mars.ts
|
|
2312
|
-
var ENV_PARENT_WEB_CA_MARS = {
|
|
2313
|
-
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2314
|
-
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2315
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/ca`
|
|
2316
|
-
};
|
|
2317
|
-
|
|
2318
|
-
// src/configs/env/parent-web/ca/env.ca.prod.ts
|
|
2319
|
-
var ENV_PARENT_WEB_CA_PROD = {
|
|
2320
|
-
API_URL: "https://api.magmamath.com/v2",
|
|
2321
|
-
CDN_HOST: "https://cdn.magmamath.com",
|
|
2322
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/ca`
|
|
2323
|
-
};
|
|
2324
|
-
|
|
2325
|
-
// src/configs/env/parent-web/ca/env.ca.venus.ts
|
|
2326
|
-
var ENV_PARENT_WEB_CA_VENUS = {
|
|
2327
|
-
...ENV_PARENT_WEB_CA_PROD,
|
|
2328
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/ca`
|
|
2329
|
-
};
|
|
2330
|
-
|
|
2331
|
-
// src/configs/env/parent-web/sct/env.sct.mars.ts
|
|
2332
|
-
var ENV_PARENT_WEB_SCT_MARS = {
|
|
2333
|
-
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2334
|
-
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2335
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`
|
|
2336
|
-
};
|
|
2337
|
-
|
|
2338
|
-
// src/configs/env/parent-web/sct/env.sct.prod.ts
|
|
2339
|
-
var ENV_PARENT_WEB_SCT_PROD = {
|
|
2340
|
-
API_URL: "https://api.magmamath.com/v2",
|
|
2341
|
-
CDN_HOST: "https://cdn.magmamath.com",
|
|
2342
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`
|
|
2343
|
-
};
|
|
2344
|
-
|
|
2345
|
-
// src/configs/env/parent-web/sct/env.sct.venus.ts
|
|
2346
|
-
var ENV_PARENT_WEB_SCT_VENUS = {
|
|
2347
|
-
...ENV_PARENT_WEB_SCT_PROD,
|
|
2348
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/uk`
|
|
2349
|
-
};
|
|
2350
|
-
|
|
2351
|
-
// src/configs/env/parent-web/de/env.de.mars.ts
|
|
2352
|
-
var ENV_PARENT_WEB_DE_MARS = {
|
|
2353
|
-
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2354
|
-
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2355
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/de`
|
|
2356
|
-
};
|
|
2357
|
-
|
|
2358
|
-
// src/configs/env/parent-web/de/env.de.prod.ts
|
|
2359
|
-
var ENV_PARENT_WEB_DE_PROD = {
|
|
2360
|
-
API_URL: "https://api.magmamath.com/v2",
|
|
2361
|
-
CDN_HOST: "https://cdn.magmamath.com",
|
|
2362
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/de`
|
|
2363
|
-
};
|
|
2364
|
-
|
|
2365
|
-
// src/configs/env/parent-web/de/env.de.venus.ts
|
|
2366
|
-
var ENV_PARENT_WEB_DE_VENUS = {
|
|
2367
|
-
...ENV_PARENT_WEB_DE_PROD,
|
|
2368
|
-
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/de`
|
|
2369
|
-
};
|
|
2370
|
-
|
|
2371
2235
|
// src/configs/env/env.preset.ts
|
|
2372
2236
|
var ENV_PRESET = {
|
|
2373
2237
|
["AUTH_WEB" /* AUTH_WEB */]: {
|
|
@@ -2561,38 +2425,6 @@ var ENV_PRESET = {
|
|
|
2561
2425
|
["VENUS" /* VENUS */]: ENV_MOBILE_DE_PROD,
|
|
2562
2426
|
["PROD" /* PROD */]: ENV_MOBILE_DE_PROD
|
|
2563
2427
|
}
|
|
2564
|
-
},
|
|
2565
|
-
["PARENT_WEB" /* PARENT_WEB */]: {
|
|
2566
|
-
["en-SE" /* US */]: {
|
|
2567
|
-
["MARS" /* MARS */]: ENV_PARENT_WEB_US_MARS,
|
|
2568
|
-
["VENUS" /* VENUS */]: ENV_PARENT_WEB_US_VENUS,
|
|
2569
|
-
["PROD" /* PROD */]: ENV_PARENT_WEB_US_PROD
|
|
2570
|
-
},
|
|
2571
|
-
["sv-SE" /* SE */]: {
|
|
2572
|
-
["MARS" /* MARS */]: ENV_PARENT_WEB_SE_MARS,
|
|
2573
|
-
["VENUS" /* VENUS */]: ENV_PARENT_WEB_SE_VENUS,
|
|
2574
|
-
["PROD" /* PROD */]: ENV_PARENT_WEB_SE_PROD
|
|
2575
|
-
},
|
|
2576
|
-
["en-GB" /* GB */]: {
|
|
2577
|
-
["MARS" /* MARS */]: ENV_PARENT_WEB_GB_MARS,
|
|
2578
|
-
["VENUS" /* VENUS */]: ENV_PARENT_WEB_GB_VENUS,
|
|
2579
|
-
["PROD" /* PROD */]: ENV_PARENT_WEB_GB_PROD
|
|
2580
|
-
},
|
|
2581
|
-
["en-CA" /* CA */]: {
|
|
2582
|
-
["MARS" /* MARS */]: ENV_PARENT_WEB_CA_MARS,
|
|
2583
|
-
["VENUS" /* VENUS */]: ENV_PARENT_WEB_CA_VENUS,
|
|
2584
|
-
["PROD" /* PROD */]: ENV_PARENT_WEB_CA_PROD
|
|
2585
|
-
},
|
|
2586
|
-
["en-SCT" /* SCT */]: {
|
|
2587
|
-
["MARS" /* MARS */]: ENV_PARENT_WEB_SCT_MARS,
|
|
2588
|
-
["VENUS" /* VENUS */]: ENV_PARENT_WEB_SCT_VENUS,
|
|
2589
|
-
["PROD" /* PROD */]: ENV_PARENT_WEB_SCT_PROD
|
|
2590
|
-
},
|
|
2591
|
-
["de-DE" /* DE */]: {
|
|
2592
|
-
["MARS" /* MARS */]: ENV_PARENT_WEB_DE_MARS,
|
|
2593
|
-
["VENUS" /* VENUS */]: ENV_PARENT_WEB_DE_VENUS,
|
|
2594
|
-
["PROD" /* PROD */]: ENV_PARENT_WEB_DE_PROD
|
|
2595
|
-
}
|
|
2596
2428
|
}
|
|
2597
2429
|
};
|
|
2598
2430
|
|
|
@@ -4192,36 +4024,6 @@ var LOCALE_MOBILE_DE = {
|
|
|
4192
4024
|
calendar: DE_CALENDAR_CONFIG
|
|
4193
4025
|
};
|
|
4194
4026
|
|
|
4195
|
-
// src/configs/locale/parent-web/us/locale.us.ts
|
|
4196
|
-
var LOCALE_PARENT_WEB_US = {
|
|
4197
|
-
...LOCALE_COMMON_US
|
|
4198
|
-
};
|
|
4199
|
-
|
|
4200
|
-
// src/configs/locale/parent-web/se/locale.se.ts
|
|
4201
|
-
var LOCALE_PARENT_WEB_SE = {
|
|
4202
|
-
...LOCALE_COMMON_SE
|
|
4203
|
-
};
|
|
4204
|
-
|
|
4205
|
-
// src/configs/locale/parent-web/gb/locale.gb.ts
|
|
4206
|
-
var LOCALE_PARENT_WEB_GB = {
|
|
4207
|
-
...LOCALE_COMMON_GB
|
|
4208
|
-
};
|
|
4209
|
-
|
|
4210
|
-
// src/configs/locale/parent-web/ca/locale.ca.ts
|
|
4211
|
-
var LOCALE_PARENT_WEB_CA = {
|
|
4212
|
-
...LOCALE_COMMON_CA
|
|
4213
|
-
};
|
|
4214
|
-
|
|
4215
|
-
// src/configs/locale/parent-web/sct/locale.sct.ts
|
|
4216
|
-
var LOCALE_PARENT_WEB_SCT = {
|
|
4217
|
-
...LOCALE_COMMON_SCT
|
|
4218
|
-
};
|
|
4219
|
-
|
|
4220
|
-
// src/configs/locale/parent-web/de/locale.de.ts
|
|
4221
|
-
var LOCALE_PARENT_WEB_DE = {
|
|
4222
|
-
...LOCALE_COMMON_DE
|
|
4223
|
-
};
|
|
4224
|
-
|
|
4225
4027
|
// src/configs/locale/locale.preset.ts
|
|
4226
4028
|
var LOCALE_PRESET = {
|
|
4227
4029
|
["STUDENTS" /* STUDENTS_WEB */]: {
|
|
@@ -4271,14 +4073,6 @@ var LOCALE_PRESET = {
|
|
|
4271
4073
|
["en-CA" /* CA */]: LOCALE_MOBILE_CA,
|
|
4272
4074
|
["en-SCT" /* SCT */]: LOCALE_MOBILE_SCT,
|
|
4273
4075
|
["de-DE" /* DE */]: LOCALE_MOBILE_DE
|
|
4274
|
-
},
|
|
4275
|
-
["PARENT_WEB" /* PARENT_WEB */]: {
|
|
4276
|
-
["en-SE" /* US */]: LOCALE_PARENT_WEB_US,
|
|
4277
|
-
["sv-SE" /* SE */]: LOCALE_PARENT_WEB_SE,
|
|
4278
|
-
["en-GB" /* GB */]: LOCALE_PARENT_WEB_GB,
|
|
4279
|
-
["en-CA" /* CA */]: LOCALE_PARENT_WEB_CA,
|
|
4280
|
-
["en-SCT" /* SCT */]: LOCALE_PARENT_WEB_SCT,
|
|
4281
|
-
["de-DE" /* DE */]: LOCALE_PARENT_WEB_DE
|
|
4282
4076
|
}
|
|
4283
4077
|
};
|
|
4284
4078
|
|