@magmamath/frontend-config 1.1.4-rc.1 → 1.2.0-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/index.d.mts +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/index.js +215 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +215 -23
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -43,7 +43,8 @@ declare enum Platform {
|
|
|
43
43
|
DISTRICT_DASHBOARD = "DISTRICT",
|
|
44
44
|
AUTH_WEB = "AUTH_WEB",
|
|
45
45
|
WEB_ADMIN = "WEB_ADMIN",
|
|
46
|
-
MOBILE = "MOBILE"
|
|
46
|
+
MOBILE = "MOBILE",
|
|
47
|
+
PARENT_WEB = "PARENT_WEB"
|
|
47
48
|
}
|
|
48
49
|
declare enum Environment {
|
|
49
50
|
MARS = "MARS",
|
|
@@ -382,6 +383,7 @@ type RegionSpecificVars = {
|
|
|
382
383
|
DISTRICT_WEB_URL: string;
|
|
383
384
|
LOGGLY_TAG: string;
|
|
384
385
|
MAGMAMATH_URL: string;
|
|
386
|
+
PARENT_WEB_URL: string;
|
|
385
387
|
SOCKET_URL: string;
|
|
386
388
|
STUDENTS_WEB_URL: string;
|
|
387
389
|
TEACHERS_WEB_URL: string;
|
|
@@ -562,6 +564,17 @@ type WebAdminVarsPreset = {
|
|
|
562
564
|
};
|
|
563
565
|
};
|
|
564
566
|
|
|
567
|
+
type ParentWebVars = {
|
|
568
|
+
API_URL: string;
|
|
569
|
+
CDN_HOST: string;
|
|
570
|
+
AUTH_WEB_URL: string;
|
|
571
|
+
};
|
|
572
|
+
type ParentWebVarsPreset = {
|
|
573
|
+
[key in Locale]: {
|
|
574
|
+
[key in Environment]: ParentWebVars;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
|
|
565
578
|
type EnvPreset = Readonly<{
|
|
566
579
|
[Platform.STUDENTS_WEB]: StudentsWebVarsPreset;
|
|
567
580
|
[Platform.TEACHERS_WEB]: TeachersWebVarsPreset;
|
|
@@ -569,6 +582,7 @@ type EnvPreset = Readonly<{
|
|
|
569
582
|
[Platform.AUTH_WEB]: AuthWebVarsPreset;
|
|
570
583
|
[Platform.WEB_ADMIN]: WebAdminVarsPreset;
|
|
571
584
|
[Platform.MOBILE]: MobileVarsPreset;
|
|
585
|
+
[Platform.PARENT_WEB]: ParentWebVarsPreset;
|
|
572
586
|
}>;
|
|
573
587
|
type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
574
588
|
|
|
@@ -741,6 +755,8 @@ type MobileLocaleConfig<E> = StudentsLocaleConfig & TeachersLocaleConfig & AuthL
|
|
|
741
755
|
calendar: CalendarConfig;
|
|
742
756
|
};
|
|
743
757
|
|
|
758
|
+
type ParentWebLocaleConfig = CommonLocaleConfig;
|
|
759
|
+
|
|
744
760
|
declare enum MultiplicationSymbol {
|
|
745
761
|
CDOT = "CDOT",
|
|
746
762
|
TIMES = "TIMES"
|
|
@@ -782,6 +798,9 @@ type LocalePreset = {
|
|
|
782
798
|
[Platform.MOBILE]: {
|
|
783
799
|
[key in Locale]: MobileLocaleConfig<MobileVars<SSOByLocale[key]>>;
|
|
784
800
|
};
|
|
801
|
+
[Platform.PARENT_WEB]: {
|
|
802
|
+
[key in Locale]: ParentWebLocaleConfig;
|
|
803
|
+
};
|
|
785
804
|
};
|
|
786
805
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
787
806
|
|
|
@@ -846,4 +865,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
846
865
|
};
|
|
847
866
|
}
|
|
848
867
|
|
|
849
|
-
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, 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, Source, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
|
868
|
+
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, 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, type ParentWebLocaleConfig, type ParentWebVars, type ParentWebVarsPreset, 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, Source, 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
|
@@ -43,7 +43,8 @@ declare enum Platform {
|
|
|
43
43
|
DISTRICT_DASHBOARD = "DISTRICT",
|
|
44
44
|
AUTH_WEB = "AUTH_WEB",
|
|
45
45
|
WEB_ADMIN = "WEB_ADMIN",
|
|
46
|
-
MOBILE = "MOBILE"
|
|
46
|
+
MOBILE = "MOBILE",
|
|
47
|
+
PARENT_WEB = "PARENT_WEB"
|
|
47
48
|
}
|
|
48
49
|
declare enum Environment {
|
|
49
50
|
MARS = "MARS",
|
|
@@ -382,6 +383,7 @@ type RegionSpecificVars = {
|
|
|
382
383
|
DISTRICT_WEB_URL: string;
|
|
383
384
|
LOGGLY_TAG: string;
|
|
384
385
|
MAGMAMATH_URL: string;
|
|
386
|
+
PARENT_WEB_URL: string;
|
|
385
387
|
SOCKET_URL: string;
|
|
386
388
|
STUDENTS_WEB_URL: string;
|
|
387
389
|
TEACHERS_WEB_URL: string;
|
|
@@ -562,6 +564,17 @@ type WebAdminVarsPreset = {
|
|
|
562
564
|
};
|
|
563
565
|
};
|
|
564
566
|
|
|
567
|
+
type ParentWebVars = {
|
|
568
|
+
API_URL: string;
|
|
569
|
+
CDN_HOST: string;
|
|
570
|
+
AUTH_WEB_URL: string;
|
|
571
|
+
};
|
|
572
|
+
type ParentWebVarsPreset = {
|
|
573
|
+
[key in Locale]: {
|
|
574
|
+
[key in Environment]: ParentWebVars;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
|
|
565
578
|
type EnvPreset = Readonly<{
|
|
566
579
|
[Platform.STUDENTS_WEB]: StudentsWebVarsPreset;
|
|
567
580
|
[Platform.TEACHERS_WEB]: TeachersWebVarsPreset;
|
|
@@ -569,6 +582,7 @@ type EnvPreset = Readonly<{
|
|
|
569
582
|
[Platform.AUTH_WEB]: AuthWebVarsPreset;
|
|
570
583
|
[Platform.WEB_ADMIN]: WebAdminVarsPreset;
|
|
571
584
|
[Platform.MOBILE]: MobileVarsPreset;
|
|
585
|
+
[Platform.PARENT_WEB]: ParentWebVarsPreset;
|
|
572
586
|
}>;
|
|
573
587
|
type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
574
588
|
|
|
@@ -741,6 +755,8 @@ type MobileLocaleConfig<E> = StudentsLocaleConfig & TeachersLocaleConfig & AuthL
|
|
|
741
755
|
calendar: CalendarConfig;
|
|
742
756
|
};
|
|
743
757
|
|
|
758
|
+
type ParentWebLocaleConfig = CommonLocaleConfig;
|
|
759
|
+
|
|
744
760
|
declare enum MultiplicationSymbol {
|
|
745
761
|
CDOT = "CDOT",
|
|
746
762
|
TIMES = "TIMES"
|
|
@@ -782,6 +798,9 @@ type LocalePreset = {
|
|
|
782
798
|
[Platform.MOBILE]: {
|
|
783
799
|
[key in Locale]: MobileLocaleConfig<MobileVars<SSOByLocale[key]>>;
|
|
784
800
|
};
|
|
801
|
+
[Platform.PARENT_WEB]: {
|
|
802
|
+
[key in Locale]: ParentWebLocaleConfig;
|
|
803
|
+
};
|
|
785
804
|
};
|
|
786
805
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
787
806
|
|
|
@@ -846,4 +865,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
846
865
|
};
|
|
847
866
|
}
|
|
848
867
|
|
|
849
|
-
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, 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, Source, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
|
868
|
+
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, 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, type ParentWebLocaleConfig, type ParentWebVars, type ParentWebVarsPreset, 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, Source, 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,6 +53,7 @@ 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";
|
|
56
57
|
return Platform3;
|
|
57
58
|
})(Platform || {});
|
|
58
59
|
var Environment = /* @__PURE__ */ ((Environment3) => {
|
|
@@ -971,19 +972,22 @@ var PLATFORM_URLS = {
|
|
|
971
972
|
AUTH_WEB_URL: "https://app.mars.magmamath.com",
|
|
972
973
|
STUDENTS_WEB_URL: "https://students.mars.magmamath.com",
|
|
973
974
|
TEACHERS_WEB_URL: "https://teachers.mars.magmamath.com",
|
|
974
|
-
DISTRICT_WEB_URL: "https://district.mars.magmamath.com"
|
|
975
|
+
DISTRICT_WEB_URL: "https://district.mars.magmamath.com",
|
|
976
|
+
PARENT_WEB_URL: "https://parent.mars.magmamath.com"
|
|
975
977
|
},
|
|
976
978
|
VENUS: {
|
|
977
979
|
AUTH_WEB_URL: "https://app.venus.magmamath.com",
|
|
978
980
|
STUDENTS_WEB_URL: "https://students.venus.magmamath.com",
|
|
979
981
|
TEACHERS_WEB_URL: "https://teachers.venus.magmamath.com",
|
|
980
|
-
DISTRICT_WEB_URL: "https://district.venus.magmamath.com"
|
|
982
|
+
DISTRICT_WEB_URL: "https://district.venus.magmamath.com",
|
|
983
|
+
PARENT_WEB_URL: "https://parent.venus.magmamath.com"
|
|
981
984
|
},
|
|
982
985
|
PROD: {
|
|
983
986
|
AUTH_WEB_URL: "https://app.magmamath.com",
|
|
984
987
|
STUDENTS_WEB_URL: "https://students.magmamath.com",
|
|
985
988
|
TEACHERS_WEB_URL: "https://teachers.magmamath.com",
|
|
986
|
-
DISTRICT_WEB_URL: "https://district.magmamath.com"
|
|
989
|
+
DISTRICT_WEB_URL: "https://district.magmamath.com",
|
|
990
|
+
PARENT_WEB_URL: "https://parent.magmamath.com"
|
|
987
991
|
}
|
|
988
992
|
};
|
|
989
993
|
|
|
@@ -1024,6 +1028,7 @@ var ENV_AUTH_WEB_SE_MARS = {
|
|
|
1024
1028
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1025
1029
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1026
1030
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1031
|
+
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1027
1032
|
MAGMAMATH_URL: "https://www.magma.se",
|
|
1028
1033
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
1029
1034
|
GOOGLE_AUTH: "https://api.mars.matteappen.se/v2/auth/google",
|
|
@@ -1041,6 +1046,7 @@ var ENV_AUTH_WEB_SE_PROD = {
|
|
|
1041
1046
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1042
1047
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1043
1048
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1049
|
+
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1044
1050
|
MAGMAMATH_URL: "https://www.magma.se",
|
|
1045
1051
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
1046
1052
|
GOOGLE_AUTH: "https://api.matteappen.se/v2/auth/google",
|
|
@@ -1200,6 +1206,7 @@ var ENV_STUDENTS_WEB_SE_MARS = {
|
|
|
1200
1206
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1201
1207
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1202
1208
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1209
|
+
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1203
1210
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1204
1211
|
};
|
|
1205
1212
|
|
|
@@ -1214,6 +1221,7 @@ var ENV_STUDENTS_WEB_SE_PROD = {
|
|
|
1214
1221
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1215
1222
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1216
1223
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1224
|
+
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1217
1225
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1218
1226
|
};
|
|
1219
1227
|
|
|
@@ -1368,6 +1376,7 @@ var ENV_TEACHERS_WEB_SE_MARS = {
|
|
|
1368
1376
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1369
1377
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1370
1378
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1379
|
+
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1371
1380
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1372
1381
|
};
|
|
1373
1382
|
|
|
@@ -1382,6 +1391,7 @@ var ENV_TEACHERS_WEB_SE_PROD = {
|
|
|
1382
1391
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1383
1392
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1384
1393
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1394
|
+
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1385
1395
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1386
1396
|
};
|
|
1387
1397
|
|
|
@@ -1525,6 +1535,7 @@ var ENV_DISTRICT_SE_MARS = {
|
|
|
1525
1535
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1526
1536
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1527
1537
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1538
|
+
PARENT_WEB_URL: "https://parent.mars.matteappen.se",
|
|
1528
1539
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1529
1540
|
};
|
|
1530
1541
|
|
|
@@ -1538,6 +1549,7 @@ var ENV_DISTRICT_SE_PROD = {
|
|
|
1538
1549
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1539
1550
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1540
1551
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1552
|
+
PARENT_WEB_URL: "https://parent.matteappen.se",
|
|
1541
1553
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1542
1554
|
};
|
|
1543
1555
|
|
|
@@ -1669,7 +1681,8 @@ var ENV_AUTH_WEB_SE_VENUS = {
|
|
|
1669
1681
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1670
1682
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1671
1683
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1672
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1684
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1685
|
+
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1673
1686
|
};
|
|
1674
1687
|
|
|
1675
1688
|
// src/configs/env/auth-web/gb/env.gb.venus.ts
|
|
@@ -1712,7 +1725,8 @@ var ENV_STUDENTS_WEB_SE_VENUS = {
|
|
|
1712
1725
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1713
1726
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1714
1727
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1715
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1728
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1729
|
+
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1716
1730
|
};
|
|
1717
1731
|
|
|
1718
1732
|
// src/configs/env/students-web/gb/env.gb.venus.ts
|
|
@@ -1755,7 +1769,8 @@ var ENV_TEACHERS_WEB_SE_VENUS = {
|
|
|
1755
1769
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1756
1770
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1757
1771
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1758
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1772
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1773
|
+
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1759
1774
|
};
|
|
1760
1775
|
|
|
1761
1776
|
// src/configs/env/teachers-web/gb/env.gb.venus.ts
|
|
@@ -1798,7 +1813,8 @@ var ENV_DISTRICT_SE_VENUS = {
|
|
|
1798
1813
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1799
1814
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1800
1815
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1801
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1816
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1817
|
+
PARENT_WEB_URL: "https://parent.venus.matteappen.se"
|
|
1802
1818
|
};
|
|
1803
1819
|
|
|
1804
1820
|
// src/configs/env/district-dash/gb/env.gb.venus.ts
|
|
@@ -2165,6 +2181,126 @@ var ENV_MOBILE_DE_PROD = {
|
|
|
2165
2181
|
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
2166
2182
|
};
|
|
2167
2183
|
|
|
2184
|
+
// src/configs/env/parent-web/us/env.us.mars.ts
|
|
2185
|
+
var ENV_PARENT_WEB_US_MARS = {
|
|
2186
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2187
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2188
|
+
AUTH_WEB_URL: PLATFORM_URLS.MARS.AUTH_WEB_URL
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
// src/configs/env/parent-web/us/env.us.prod.ts
|
|
2192
|
+
var ENV_PARENT_WEB_US_PROD = {
|
|
2193
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2194
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2195
|
+
AUTH_WEB_URL: PLATFORM_URLS.PROD.AUTH_WEB_URL
|
|
2196
|
+
};
|
|
2197
|
+
|
|
2198
|
+
// src/configs/env/parent-web/us/env.us.venus.ts
|
|
2199
|
+
var ENV_PARENT_WEB_US_VENUS = {
|
|
2200
|
+
...ENV_PARENT_WEB_US_PROD,
|
|
2201
|
+
AUTH_WEB_URL: PLATFORM_URLS.VENUS.AUTH_WEB_URL
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
// src/configs/env/parent-web/se/env.se.mars.ts
|
|
2205
|
+
var ENV_PARENT_WEB_SE_MARS = {
|
|
2206
|
+
API_URL: "https://api.mars.matteappen.se/v2",
|
|
2207
|
+
CDN_HOST: "https://cdn.mars.matteappen.se",
|
|
2208
|
+
AUTH_WEB_URL: "https://app.mars.matteappen.se"
|
|
2209
|
+
};
|
|
2210
|
+
|
|
2211
|
+
// src/configs/env/parent-web/se/env.se.prod.ts
|
|
2212
|
+
var ENV_PARENT_WEB_SE_PROD = {
|
|
2213
|
+
API_URL: "https://api.matteappen.se/v2",
|
|
2214
|
+
CDN_HOST: "https://cdn.matteappen.se",
|
|
2215
|
+
AUTH_WEB_URL: "https://app.matteappen.se"
|
|
2216
|
+
};
|
|
2217
|
+
|
|
2218
|
+
// src/configs/env/parent-web/se/env.se.venus.ts
|
|
2219
|
+
var ENV_PARENT_WEB_SE_VENUS = {
|
|
2220
|
+
...ENV_PARENT_WEB_SE_PROD,
|
|
2221
|
+
AUTH_WEB_URL: "https://app.venus.matteappen.se"
|
|
2222
|
+
};
|
|
2223
|
+
|
|
2224
|
+
// src/configs/env/parent-web/gb/env.gb.mars.ts
|
|
2225
|
+
var ENV_PARENT_WEB_GB_MARS = {
|
|
2226
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2227
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2228
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`
|
|
2229
|
+
};
|
|
2230
|
+
|
|
2231
|
+
// src/configs/env/parent-web/gb/env.gb.prod.ts
|
|
2232
|
+
var ENV_PARENT_WEB_GB_PROD = {
|
|
2233
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2234
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2235
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
// src/configs/env/parent-web/gb/env.gb.venus.ts
|
|
2239
|
+
var ENV_PARENT_WEB_GB_VENUS = {
|
|
2240
|
+
...ENV_PARENT_WEB_GB_PROD,
|
|
2241
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/uk`
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
// src/configs/env/parent-web/ca/env.ca.mars.ts
|
|
2245
|
+
var ENV_PARENT_WEB_CA_MARS = {
|
|
2246
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2247
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2248
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/ca`
|
|
2249
|
+
};
|
|
2250
|
+
|
|
2251
|
+
// src/configs/env/parent-web/ca/env.ca.prod.ts
|
|
2252
|
+
var ENV_PARENT_WEB_CA_PROD = {
|
|
2253
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2254
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2255
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/ca`
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
// src/configs/env/parent-web/ca/env.ca.venus.ts
|
|
2259
|
+
var ENV_PARENT_WEB_CA_VENUS = {
|
|
2260
|
+
...ENV_PARENT_WEB_CA_PROD,
|
|
2261
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/ca`
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
// src/configs/env/parent-web/sct/env.sct.mars.ts
|
|
2265
|
+
var ENV_PARENT_WEB_SCT_MARS = {
|
|
2266
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2267
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2268
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`
|
|
2269
|
+
};
|
|
2270
|
+
|
|
2271
|
+
// src/configs/env/parent-web/sct/env.sct.prod.ts
|
|
2272
|
+
var ENV_PARENT_WEB_SCT_PROD = {
|
|
2273
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2274
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2275
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`
|
|
2276
|
+
};
|
|
2277
|
+
|
|
2278
|
+
// src/configs/env/parent-web/sct/env.sct.venus.ts
|
|
2279
|
+
var ENV_PARENT_WEB_SCT_VENUS = {
|
|
2280
|
+
...ENV_PARENT_WEB_SCT_PROD,
|
|
2281
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/uk`
|
|
2282
|
+
};
|
|
2283
|
+
|
|
2284
|
+
// src/configs/env/parent-web/de/env.de.mars.ts
|
|
2285
|
+
var ENV_PARENT_WEB_DE_MARS = {
|
|
2286
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2287
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2288
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/de`
|
|
2289
|
+
};
|
|
2290
|
+
|
|
2291
|
+
// src/configs/env/parent-web/de/env.de.prod.ts
|
|
2292
|
+
var ENV_PARENT_WEB_DE_PROD = {
|
|
2293
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2294
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2295
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/de`
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
// src/configs/env/parent-web/de/env.de.venus.ts
|
|
2299
|
+
var ENV_PARENT_WEB_DE_VENUS = {
|
|
2300
|
+
...ENV_PARENT_WEB_DE_PROD,
|
|
2301
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/de`
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2168
2304
|
// src/configs/env/env.preset.ts
|
|
2169
2305
|
var ENV_PRESET = {
|
|
2170
2306
|
["AUTH_WEB" /* AUTH_WEB */]: {
|
|
@@ -2358,6 +2494,38 @@ var ENV_PRESET = {
|
|
|
2358
2494
|
["VENUS" /* VENUS */]: ENV_MOBILE_DE_PROD,
|
|
2359
2495
|
["PROD" /* PROD */]: ENV_MOBILE_DE_PROD
|
|
2360
2496
|
}
|
|
2497
|
+
},
|
|
2498
|
+
["PARENT_WEB" /* PARENT_WEB */]: {
|
|
2499
|
+
["en-SE" /* US */]: {
|
|
2500
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_US_MARS,
|
|
2501
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_US_VENUS,
|
|
2502
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_US_PROD
|
|
2503
|
+
},
|
|
2504
|
+
["sv-SE" /* SE */]: {
|
|
2505
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_SE_MARS,
|
|
2506
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_SE_VENUS,
|
|
2507
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_SE_PROD
|
|
2508
|
+
},
|
|
2509
|
+
["en-GB" /* GB */]: {
|
|
2510
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_GB_MARS,
|
|
2511
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_GB_VENUS,
|
|
2512
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_GB_PROD
|
|
2513
|
+
},
|
|
2514
|
+
["en-CA" /* CA */]: {
|
|
2515
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_CA_MARS,
|
|
2516
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_CA_VENUS,
|
|
2517
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_CA_PROD
|
|
2518
|
+
},
|
|
2519
|
+
["en-SCT" /* SCT */]: {
|
|
2520
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_SCT_MARS,
|
|
2521
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_SCT_VENUS,
|
|
2522
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_SCT_PROD
|
|
2523
|
+
},
|
|
2524
|
+
["de-DE" /* DE */]: {
|
|
2525
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_DE_MARS,
|
|
2526
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_DE_VENUS,
|
|
2527
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_DE_PROD
|
|
2528
|
+
}
|
|
2361
2529
|
}
|
|
2362
2530
|
};
|
|
2363
2531
|
|
|
@@ -2503,8 +2671,7 @@ var GRADES_CONFIG_SE = {
|
|
|
2503
2671
|
[8 /* EIGHT */]: { name: "8" },
|
|
2504
2672
|
[9 /* NINE */]: { name: "9" },
|
|
2505
2673
|
[10 /* TEN */]: { name: "Mate\xADmatik 1", noPrefix: true },
|
|
2506
|
-
[11 /* ELEVEN */]: { name: "Mate\xADmatik 2", noPrefix: true }
|
|
2507
|
-
[12 /* TWELVE */]: { name: "Mate\xADmatik 3", noPrefix: true }
|
|
2674
|
+
[11 /* ELEVEN */]: { name: "Mate\xADmatik 2", noPrefix: true }
|
|
2508
2675
|
},
|
|
2509
2676
|
highSchool: {}
|
|
2510
2677
|
};
|
|
@@ -2849,18 +3016,6 @@ var LOCALE_STUDENTS_DE = {
|
|
|
2849
3016
|
}
|
|
2850
3017
|
};
|
|
2851
3018
|
|
|
2852
|
-
// src/configs/locale/_shared/problemCreator/locale/problemCreator.ca.ts
|
|
2853
|
-
var PROBLEM_CREATOR_CA = {
|
|
2854
|
-
useCommaForDecimal: false,
|
|
2855
|
-
useDotForMultiplication: false,
|
|
2856
|
-
savedProblemLocale: "en-CA" /* CA */,
|
|
2857
|
-
keyboard: {
|
|
2858
|
-
preset: "DotMixed" /* DOT_MIXED */,
|
|
2859
|
-
mathEntryVariant: "Dollar" /* DOLLAR */,
|
|
2860
|
-
descriptionVariant: "ExtendedMultBasicRoots" /* EXTENDED_MULT_BASIC_ROOTS */
|
|
2861
|
-
}
|
|
2862
|
-
};
|
|
2863
|
-
|
|
2864
3019
|
// src/configs/locale/_shared/problemCreator/locale/problemCreator.de.ts
|
|
2865
3020
|
var PROBLEM_CREATOR_DE = {
|
|
2866
3021
|
useCommaForDecimal: true,
|
|
@@ -3079,8 +3234,7 @@ var LOCALE_TEACHERS_CA = {
|
|
|
3079
3234
|
firstLoginBooks: {
|
|
3080
3235
|
...LOCALE_TEACHERS_US.firstLoginBooks,
|
|
3081
3236
|
isLargeGrade: null
|
|
3082
|
-
}
|
|
3083
|
-
problemCreator: PROBLEM_CREATOR_CA
|
|
3237
|
+
}
|
|
3084
3238
|
};
|
|
3085
3239
|
|
|
3086
3240
|
// src/configs/locale/teachers-web/sct/locale.sct.ts
|
|
@@ -3925,6 +4079,36 @@ var LOCALE_MOBILE_DE = {
|
|
|
3925
4079
|
calendar: DE_CALENDAR_CONFIG
|
|
3926
4080
|
};
|
|
3927
4081
|
|
|
4082
|
+
// src/configs/locale/parent-web/us/locale.us.ts
|
|
4083
|
+
var LOCALE_PARENT_WEB_US = {
|
|
4084
|
+
...LOCALE_COMMON_US
|
|
4085
|
+
};
|
|
4086
|
+
|
|
4087
|
+
// src/configs/locale/parent-web/se/locale.se.ts
|
|
4088
|
+
var LOCALE_PARENT_WEB_SE = {
|
|
4089
|
+
...LOCALE_COMMON_SE
|
|
4090
|
+
};
|
|
4091
|
+
|
|
4092
|
+
// src/configs/locale/parent-web/gb/locale.gb.ts
|
|
4093
|
+
var LOCALE_PARENT_WEB_GB = {
|
|
4094
|
+
...LOCALE_COMMON_GB
|
|
4095
|
+
};
|
|
4096
|
+
|
|
4097
|
+
// src/configs/locale/parent-web/ca/locale.ca.ts
|
|
4098
|
+
var LOCALE_PARENT_WEB_CA = {
|
|
4099
|
+
...LOCALE_COMMON_CA
|
|
4100
|
+
};
|
|
4101
|
+
|
|
4102
|
+
// src/configs/locale/parent-web/sct/locale.sct.ts
|
|
4103
|
+
var LOCALE_PARENT_WEB_SCT = {
|
|
4104
|
+
...LOCALE_COMMON_SCT
|
|
4105
|
+
};
|
|
4106
|
+
|
|
4107
|
+
// src/configs/locale/parent-web/de/locale.de.ts
|
|
4108
|
+
var LOCALE_PARENT_WEB_DE = {
|
|
4109
|
+
...LOCALE_COMMON_DE
|
|
4110
|
+
};
|
|
4111
|
+
|
|
3928
4112
|
// src/configs/locale/locale.preset.ts
|
|
3929
4113
|
var LOCALE_PRESET = {
|
|
3930
4114
|
["STUDENTS" /* STUDENTS_WEB */]: {
|
|
@@ -3974,6 +4158,14 @@ var LOCALE_PRESET = {
|
|
|
3974
4158
|
["en-CA" /* CA */]: LOCALE_MOBILE_CA,
|
|
3975
4159
|
["en-SCT" /* SCT */]: LOCALE_MOBILE_SCT,
|
|
3976
4160
|
["de-DE" /* DE */]: LOCALE_MOBILE_DE
|
|
4161
|
+
},
|
|
4162
|
+
["PARENT_WEB" /* PARENT_WEB */]: {
|
|
4163
|
+
["en-SE" /* US */]: LOCALE_PARENT_WEB_US,
|
|
4164
|
+
["sv-SE" /* SE */]: LOCALE_PARENT_WEB_SE,
|
|
4165
|
+
["en-GB" /* GB */]: LOCALE_PARENT_WEB_GB,
|
|
4166
|
+
["en-CA" /* CA */]: LOCALE_PARENT_WEB_CA,
|
|
4167
|
+
["en-SCT" /* SCT */]: LOCALE_PARENT_WEB_SCT,
|
|
4168
|
+
["de-DE" /* DE */]: LOCALE_PARENT_WEB_DE
|
|
3977
4169
|
}
|
|
3978
4170
|
};
|
|
3979
4171
|
|