@magmamath/frontend-config 1.1.2-rc.5 → 1.1.2-rc.7
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-ClvjFWRr.d.mts +81 -0
- package/dist/common.constants-ClvjFWRr.d.ts +81 -0
- package/dist/index.d.mts +17 -88
- package/dist/index.d.ts +17 -88
- package/dist/index.js +61 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -21
- package/dist/index.mjs.map +1 -1
- package/dist/translation/index.d.mts +41 -0
- package/dist/translation/index.d.ts +41 -0
- package/dist/translation/index.js +98 -0
- package/dist/translation/index.js.map +1 -0
- package/dist/translation/index.mjs +91 -0
- package/dist/translation/index.mjs.map +1 -0
- package/package.json +22 -2
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare enum Platform {
|
|
2
|
+
STUDENTS_WEB = "STUDENTS",
|
|
3
|
+
TEACHERS_WEB = "TEACHERS",
|
|
4
|
+
DISTRICT_DASHBOARD = "DISTRICT",
|
|
5
|
+
AUTH_WEB = "AUTH_WEB",
|
|
6
|
+
WEB_ADMIN = "WEB_ADMIN",
|
|
7
|
+
MOBILE = "MOBILE"
|
|
8
|
+
}
|
|
9
|
+
declare enum Environment {
|
|
10
|
+
MARS = "MARS",
|
|
11
|
+
VENUS = "VENUS",
|
|
12
|
+
PROD = "PROD"
|
|
13
|
+
}
|
|
14
|
+
declare enum PlatformBuildTarget {
|
|
15
|
+
PLUTO = "pluto",
|
|
16
|
+
MARS = "mars",
|
|
17
|
+
VENUS = "pre-release",
|
|
18
|
+
PROD = "production"
|
|
19
|
+
}
|
|
20
|
+
declare enum Locale {
|
|
21
|
+
US = "en-SE",
|
|
22
|
+
SE = "sv-SE",
|
|
23
|
+
GB = "en-GB",
|
|
24
|
+
CA = "en-CA",
|
|
25
|
+
SCT = "en-SCT",
|
|
26
|
+
DE = "de-DE"
|
|
27
|
+
}
|
|
28
|
+
declare enum Source {
|
|
29
|
+
MATTEAPPEN = 0,
|
|
30
|
+
SKOLON = 1,
|
|
31
|
+
SKOLFEDERATION = 2,
|
|
32
|
+
GOOGLE = 3,
|
|
33
|
+
MICROSOFT = 4,
|
|
34
|
+
CLEVER = 5,
|
|
35
|
+
APPLE = 6,
|
|
36
|
+
MATHSYNC = 7,
|
|
37
|
+
CLASSLINK = 8,
|
|
38
|
+
EDUCLOUD = 9,
|
|
39
|
+
EGIL = 10,
|
|
40
|
+
WONDE = 12,
|
|
41
|
+
SCHOOLOGY = 13,
|
|
42
|
+
SEEMIS = 14,
|
|
43
|
+
IMPORT = 15,
|
|
44
|
+
CANVAS = 16
|
|
45
|
+
}
|
|
46
|
+
declare enum LoginSource {
|
|
47
|
+
MAGMA = 0,
|
|
48
|
+
CLEVER = 1,
|
|
49
|
+
CLASS_LINK = 2,
|
|
50
|
+
SKOLON = 3,
|
|
51
|
+
SKOLFEDERATION = 4,
|
|
52
|
+
GOOGLE = 5,
|
|
53
|
+
MICROSOFT = 6,
|
|
54
|
+
APPLE = 7,
|
|
55
|
+
SCHOOLOGY = 8,
|
|
56
|
+
MY_LOGIN = 9
|
|
57
|
+
}
|
|
58
|
+
declare enum SSO {
|
|
59
|
+
APPLE = "APPLE",
|
|
60
|
+
GOOGLE = "GOOGLE",
|
|
61
|
+
MICROSOFT = "MICROSOFT",
|
|
62
|
+
CLEVER = "CLEVER",
|
|
63
|
+
SCHOOLOGY = "SCHOOLOGY",
|
|
64
|
+
CLASS_LINK = "CLASS_LINK",
|
|
65
|
+
SKOLFEDERATION = "SKOLFEDERATION",
|
|
66
|
+
SKOLON = "SKOLON",
|
|
67
|
+
WONDE = "WONDE",
|
|
68
|
+
CANVAS = "CANVAS",
|
|
69
|
+
QR_CODE = "QR_CODE"
|
|
70
|
+
}
|
|
71
|
+
declare enum ApiRegion {
|
|
72
|
+
MAIN = "MAIN",
|
|
73
|
+
CANADA = "CANADA"
|
|
74
|
+
}
|
|
75
|
+
declare enum QRCodeSize {
|
|
76
|
+
DEFAULT = "default",
|
|
77
|
+
MEDIUM = "medium",
|
|
78
|
+
LARGE = "large"
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { ApiRegion as A, Environment as E, LoginSource as L, Platform as P, QRCodeSize as Q, SSO as S, Locale as a, PlatformBuildTarget as b, Source as c };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare enum Platform {
|
|
2
|
+
STUDENTS_WEB = "STUDENTS",
|
|
3
|
+
TEACHERS_WEB = "TEACHERS",
|
|
4
|
+
DISTRICT_DASHBOARD = "DISTRICT",
|
|
5
|
+
AUTH_WEB = "AUTH_WEB",
|
|
6
|
+
WEB_ADMIN = "WEB_ADMIN",
|
|
7
|
+
MOBILE = "MOBILE"
|
|
8
|
+
}
|
|
9
|
+
declare enum Environment {
|
|
10
|
+
MARS = "MARS",
|
|
11
|
+
VENUS = "VENUS",
|
|
12
|
+
PROD = "PROD"
|
|
13
|
+
}
|
|
14
|
+
declare enum PlatformBuildTarget {
|
|
15
|
+
PLUTO = "pluto",
|
|
16
|
+
MARS = "mars",
|
|
17
|
+
VENUS = "pre-release",
|
|
18
|
+
PROD = "production"
|
|
19
|
+
}
|
|
20
|
+
declare enum Locale {
|
|
21
|
+
US = "en-SE",
|
|
22
|
+
SE = "sv-SE",
|
|
23
|
+
GB = "en-GB",
|
|
24
|
+
CA = "en-CA",
|
|
25
|
+
SCT = "en-SCT",
|
|
26
|
+
DE = "de-DE"
|
|
27
|
+
}
|
|
28
|
+
declare enum Source {
|
|
29
|
+
MATTEAPPEN = 0,
|
|
30
|
+
SKOLON = 1,
|
|
31
|
+
SKOLFEDERATION = 2,
|
|
32
|
+
GOOGLE = 3,
|
|
33
|
+
MICROSOFT = 4,
|
|
34
|
+
CLEVER = 5,
|
|
35
|
+
APPLE = 6,
|
|
36
|
+
MATHSYNC = 7,
|
|
37
|
+
CLASSLINK = 8,
|
|
38
|
+
EDUCLOUD = 9,
|
|
39
|
+
EGIL = 10,
|
|
40
|
+
WONDE = 12,
|
|
41
|
+
SCHOOLOGY = 13,
|
|
42
|
+
SEEMIS = 14,
|
|
43
|
+
IMPORT = 15,
|
|
44
|
+
CANVAS = 16
|
|
45
|
+
}
|
|
46
|
+
declare enum LoginSource {
|
|
47
|
+
MAGMA = 0,
|
|
48
|
+
CLEVER = 1,
|
|
49
|
+
CLASS_LINK = 2,
|
|
50
|
+
SKOLON = 3,
|
|
51
|
+
SKOLFEDERATION = 4,
|
|
52
|
+
GOOGLE = 5,
|
|
53
|
+
MICROSOFT = 6,
|
|
54
|
+
APPLE = 7,
|
|
55
|
+
SCHOOLOGY = 8,
|
|
56
|
+
MY_LOGIN = 9
|
|
57
|
+
}
|
|
58
|
+
declare enum SSO {
|
|
59
|
+
APPLE = "APPLE",
|
|
60
|
+
GOOGLE = "GOOGLE",
|
|
61
|
+
MICROSOFT = "MICROSOFT",
|
|
62
|
+
CLEVER = "CLEVER",
|
|
63
|
+
SCHOOLOGY = "SCHOOLOGY",
|
|
64
|
+
CLASS_LINK = "CLASS_LINK",
|
|
65
|
+
SKOLFEDERATION = "SKOLFEDERATION",
|
|
66
|
+
SKOLON = "SKOLON",
|
|
67
|
+
WONDE = "WONDE",
|
|
68
|
+
CANVAS = "CANVAS",
|
|
69
|
+
QR_CODE = "QR_CODE"
|
|
70
|
+
}
|
|
71
|
+
declare enum ApiRegion {
|
|
72
|
+
MAIN = "MAIN",
|
|
73
|
+
CANADA = "CANADA"
|
|
74
|
+
}
|
|
75
|
+
declare enum QRCodeSize {
|
|
76
|
+
DEFAULT = "default",
|
|
77
|
+
MEDIUM = "medium",
|
|
78
|
+
LARGE = "large"
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { ApiRegion as A, Environment as E, LoginSource as L, Platform as P, QRCodeSize as Q, SSO as S, Locale as a, PlatformBuildTarget as b, Source as c };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +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-ClvjFWRr.mjs';
|
|
2
|
+
export { c as Source } from './common.constants-ClvjFWRr.mjs';
|
|
1
3
|
import { ComponentType } from 'react';
|
|
2
4
|
import * as effector from 'effector';
|
|
3
5
|
|
|
@@ -37,86 +39,6 @@ declare const MomentDateLocale: {
|
|
|
37
39
|
DE: string;
|
|
38
40
|
};
|
|
39
41
|
|
|
40
|
-
declare enum Platform {
|
|
41
|
-
STUDENTS_WEB = "STUDENTS",
|
|
42
|
-
TEACHERS_WEB = "TEACHERS",
|
|
43
|
-
DISTRICT_DASHBOARD = "DISTRICT",
|
|
44
|
-
AUTH_WEB = "AUTH_WEB",
|
|
45
|
-
WEB_ADMIN = "WEB_ADMIN",
|
|
46
|
-
MOBILE = "MOBILE"
|
|
47
|
-
}
|
|
48
|
-
declare enum Environment {
|
|
49
|
-
MARS = "MARS",
|
|
50
|
-
VENUS = "VENUS",
|
|
51
|
-
PROD = "PROD"
|
|
52
|
-
}
|
|
53
|
-
declare enum PlatformBuildTarget {
|
|
54
|
-
PLUTO = "pluto",
|
|
55
|
-
MARS = "mars",
|
|
56
|
-
VENUS = "pre-release",
|
|
57
|
-
PROD = "production"
|
|
58
|
-
}
|
|
59
|
-
declare enum Locale {
|
|
60
|
-
US = "en-SE",
|
|
61
|
-
SE = "sv-SE",
|
|
62
|
-
GB = "en-GB",
|
|
63
|
-
CA = "en-CA",
|
|
64
|
-
SCT = "en-SCT",
|
|
65
|
-
DE = "de-DE"
|
|
66
|
-
}
|
|
67
|
-
declare enum Source {
|
|
68
|
-
MATTEAPPEN = 0,
|
|
69
|
-
SKOLON = 1,
|
|
70
|
-
SKOLFEDERATION = 2,
|
|
71
|
-
GOOGLE = 3,
|
|
72
|
-
MICROSOFT = 4,
|
|
73
|
-
CLEVER = 5,
|
|
74
|
-
APPLE = 6,
|
|
75
|
-
MATHSYNC = 7,
|
|
76
|
-
CLASSLINK = 8,
|
|
77
|
-
EDUCLOUD = 9,
|
|
78
|
-
EGIL = 10,
|
|
79
|
-
WONDE = 12,
|
|
80
|
-
SCHOOLOGY = 13,
|
|
81
|
-
SEEMIS = 14,
|
|
82
|
-
IMPORT = 15,
|
|
83
|
-
CANVAS = 16
|
|
84
|
-
}
|
|
85
|
-
declare enum LoginSource {
|
|
86
|
-
MAGMA = 0,
|
|
87
|
-
CLEVER = 1,
|
|
88
|
-
CLASS_LINK = 2,
|
|
89
|
-
SKOLON = 3,
|
|
90
|
-
SKOLFEDERATION = 4,
|
|
91
|
-
GOOGLE = 5,
|
|
92
|
-
MICROSOFT = 6,
|
|
93
|
-
APPLE = 7,
|
|
94
|
-
SCHOOLOGY = 8,
|
|
95
|
-
MY_LOGIN = 9
|
|
96
|
-
}
|
|
97
|
-
declare enum SSO {
|
|
98
|
-
APPLE = "APPLE",
|
|
99
|
-
GOOGLE = "GOOGLE",
|
|
100
|
-
MICROSOFT = "MICROSOFT",
|
|
101
|
-
CLEVER = "CLEVER",
|
|
102
|
-
SCHOOLOGY = "SCHOOLOGY",
|
|
103
|
-
CLASS_LINK = "CLASS_LINK",
|
|
104
|
-
SKOLFEDERATION = "SKOLFEDERATION",
|
|
105
|
-
SKOLON = "SKOLON",
|
|
106
|
-
WONDE = "WONDE",
|
|
107
|
-
CANVAS = "CANVAS",
|
|
108
|
-
QR_CODE = "QR_CODE"
|
|
109
|
-
}
|
|
110
|
-
declare enum ApiRegion {
|
|
111
|
-
MAIN = "MAIN",
|
|
112
|
-
CANADA = "CANADA"
|
|
113
|
-
}
|
|
114
|
-
declare enum QRCodeSize {
|
|
115
|
-
DEFAULT = "default",
|
|
116
|
-
MEDIUM = "medium",
|
|
117
|
-
LARGE = "large"
|
|
118
|
-
}
|
|
119
|
-
|
|
120
42
|
declare enum MatrixMode {
|
|
121
43
|
SKILL = "SKILL",
|
|
122
44
|
STANDARD = "STANDARD"
|
|
@@ -159,10 +81,10 @@ declare enum NumberDecimalSeparator {
|
|
|
159
81
|
COMMA = ","
|
|
160
82
|
}
|
|
161
83
|
declare enum NumberGroupingSeparator {
|
|
162
|
-
SPACE = "
|
|
163
|
-
COMMA = "
|
|
164
|
-
DOT = "
|
|
165
|
-
APOSTROPHE = "
|
|
84
|
+
SPACE = " ",
|
|
85
|
+
COMMA = ",",
|
|
86
|
+
DOT = ".",
|
|
87
|
+
APOSTROPHE = "'"
|
|
166
88
|
}
|
|
167
89
|
|
|
168
90
|
declare enum TTSOverrideSymbol {
|
|
@@ -400,7 +322,6 @@ type StudentsWebCommon = {
|
|
|
400
322
|
MYSCRIPT_REST_APP_KEY: string;
|
|
401
323
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
402
324
|
TOLGEE_API_URL?: string;
|
|
403
|
-
TOLGEE_API_KEY?: string;
|
|
404
325
|
};
|
|
405
326
|
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
406
327
|
type StudentsWebVarsPreset = {
|
|
@@ -419,7 +340,6 @@ type TeachersWebCommon = {
|
|
|
419
340
|
CLARITY_PROJECT_ID: string;
|
|
420
341
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
421
342
|
TOLGEE_API_URL?: string;
|
|
422
|
-
TOLGEE_API_KEY?: string;
|
|
423
343
|
};
|
|
424
344
|
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
425
345
|
type TeachersWebVarsPreset = {
|
|
@@ -434,7 +354,6 @@ type DistrictCommon = {
|
|
|
434
354
|
CLARITY_PROJECT_ID: string;
|
|
435
355
|
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
436
356
|
TOLGEE_API_URL?: string;
|
|
437
|
-
TOLGEE_API_KEY?: string;
|
|
438
357
|
};
|
|
439
358
|
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
440
359
|
type DistrictWebVarsPreset = {
|
|
@@ -603,6 +522,15 @@ declare enum KeyboardTimeVariant {
|
|
|
603
522
|
H24 = "H24"
|
|
604
523
|
}
|
|
605
524
|
|
|
525
|
+
declare enum DrawboardCoinVariant {
|
|
526
|
+
DEFAULT = "default",
|
|
527
|
+
US = "us",
|
|
528
|
+
EURO = "euro",
|
|
529
|
+
CA = "ca",
|
|
530
|
+
UK = "uk",
|
|
531
|
+
SE = "se"
|
|
532
|
+
}
|
|
533
|
+
|
|
606
534
|
type KeyboardConfig = {
|
|
607
535
|
preset: KeyboardPreset;
|
|
608
536
|
currencyVariant: KeyboardCurrencyVariant;
|
|
@@ -621,6 +549,7 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
621
549
|
keyboard: KeyboardConfig;
|
|
622
550
|
drawboard: {
|
|
623
551
|
basicManipulativesMaxGrade: number;
|
|
552
|
+
coinVariant: DrawboardCoinVariant;
|
|
624
553
|
};
|
|
625
554
|
exampleSolutions: {
|
|
626
555
|
languageName: string;
|
|
@@ -859,4 +788,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
859
788
|
};
|
|
860
789
|
}
|
|
861
790
|
|
|
862
|
-
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,
|
|
791
|
+
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,3 +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-ClvjFWRr.js';
|
|
2
|
+
export { c as Source } from './common.constants-ClvjFWRr.js';
|
|
1
3
|
import { ComponentType } from 'react';
|
|
2
4
|
import * as effector from 'effector';
|
|
3
5
|
|
|
@@ -37,86 +39,6 @@ declare const MomentDateLocale: {
|
|
|
37
39
|
DE: string;
|
|
38
40
|
};
|
|
39
41
|
|
|
40
|
-
declare enum Platform {
|
|
41
|
-
STUDENTS_WEB = "STUDENTS",
|
|
42
|
-
TEACHERS_WEB = "TEACHERS",
|
|
43
|
-
DISTRICT_DASHBOARD = "DISTRICT",
|
|
44
|
-
AUTH_WEB = "AUTH_WEB",
|
|
45
|
-
WEB_ADMIN = "WEB_ADMIN",
|
|
46
|
-
MOBILE = "MOBILE"
|
|
47
|
-
}
|
|
48
|
-
declare enum Environment {
|
|
49
|
-
MARS = "MARS",
|
|
50
|
-
VENUS = "VENUS",
|
|
51
|
-
PROD = "PROD"
|
|
52
|
-
}
|
|
53
|
-
declare enum PlatformBuildTarget {
|
|
54
|
-
PLUTO = "pluto",
|
|
55
|
-
MARS = "mars",
|
|
56
|
-
VENUS = "pre-release",
|
|
57
|
-
PROD = "production"
|
|
58
|
-
}
|
|
59
|
-
declare enum Locale {
|
|
60
|
-
US = "en-SE",
|
|
61
|
-
SE = "sv-SE",
|
|
62
|
-
GB = "en-GB",
|
|
63
|
-
CA = "en-CA",
|
|
64
|
-
SCT = "en-SCT",
|
|
65
|
-
DE = "de-DE"
|
|
66
|
-
}
|
|
67
|
-
declare enum Source {
|
|
68
|
-
MATTEAPPEN = 0,
|
|
69
|
-
SKOLON = 1,
|
|
70
|
-
SKOLFEDERATION = 2,
|
|
71
|
-
GOOGLE = 3,
|
|
72
|
-
MICROSOFT = 4,
|
|
73
|
-
CLEVER = 5,
|
|
74
|
-
APPLE = 6,
|
|
75
|
-
MATHSYNC = 7,
|
|
76
|
-
CLASSLINK = 8,
|
|
77
|
-
EDUCLOUD = 9,
|
|
78
|
-
EGIL = 10,
|
|
79
|
-
WONDE = 12,
|
|
80
|
-
SCHOOLOGY = 13,
|
|
81
|
-
SEEMIS = 14,
|
|
82
|
-
IMPORT = 15,
|
|
83
|
-
CANVAS = 16
|
|
84
|
-
}
|
|
85
|
-
declare enum LoginSource {
|
|
86
|
-
MAGMA = 0,
|
|
87
|
-
CLEVER = 1,
|
|
88
|
-
CLASS_LINK = 2,
|
|
89
|
-
SKOLON = 3,
|
|
90
|
-
SKOLFEDERATION = 4,
|
|
91
|
-
GOOGLE = 5,
|
|
92
|
-
MICROSOFT = 6,
|
|
93
|
-
APPLE = 7,
|
|
94
|
-
SCHOOLOGY = 8,
|
|
95
|
-
MY_LOGIN = 9
|
|
96
|
-
}
|
|
97
|
-
declare enum SSO {
|
|
98
|
-
APPLE = "APPLE",
|
|
99
|
-
GOOGLE = "GOOGLE",
|
|
100
|
-
MICROSOFT = "MICROSOFT",
|
|
101
|
-
CLEVER = "CLEVER",
|
|
102
|
-
SCHOOLOGY = "SCHOOLOGY",
|
|
103
|
-
CLASS_LINK = "CLASS_LINK",
|
|
104
|
-
SKOLFEDERATION = "SKOLFEDERATION",
|
|
105
|
-
SKOLON = "SKOLON",
|
|
106
|
-
WONDE = "WONDE",
|
|
107
|
-
CANVAS = "CANVAS",
|
|
108
|
-
QR_CODE = "QR_CODE"
|
|
109
|
-
}
|
|
110
|
-
declare enum ApiRegion {
|
|
111
|
-
MAIN = "MAIN",
|
|
112
|
-
CANADA = "CANADA"
|
|
113
|
-
}
|
|
114
|
-
declare enum QRCodeSize {
|
|
115
|
-
DEFAULT = "default",
|
|
116
|
-
MEDIUM = "medium",
|
|
117
|
-
LARGE = "large"
|
|
118
|
-
}
|
|
119
|
-
|
|
120
42
|
declare enum MatrixMode {
|
|
121
43
|
SKILL = "SKILL",
|
|
122
44
|
STANDARD = "STANDARD"
|
|
@@ -159,10 +81,10 @@ declare enum NumberDecimalSeparator {
|
|
|
159
81
|
COMMA = ","
|
|
160
82
|
}
|
|
161
83
|
declare enum NumberGroupingSeparator {
|
|
162
|
-
SPACE = "
|
|
163
|
-
COMMA = "
|
|
164
|
-
DOT = "
|
|
165
|
-
APOSTROPHE = "
|
|
84
|
+
SPACE = " ",
|
|
85
|
+
COMMA = ",",
|
|
86
|
+
DOT = ".",
|
|
87
|
+
APOSTROPHE = "'"
|
|
166
88
|
}
|
|
167
89
|
|
|
168
90
|
declare enum TTSOverrideSymbol {
|
|
@@ -400,7 +322,6 @@ type StudentsWebCommon = {
|
|
|
400
322
|
MYSCRIPT_REST_APP_KEY: string;
|
|
401
323
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
402
324
|
TOLGEE_API_URL?: string;
|
|
403
|
-
TOLGEE_API_KEY?: string;
|
|
404
325
|
};
|
|
405
326
|
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
406
327
|
type StudentsWebVarsPreset = {
|
|
@@ -419,7 +340,6 @@ type TeachersWebCommon = {
|
|
|
419
340
|
CLARITY_PROJECT_ID: string;
|
|
420
341
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
421
342
|
TOLGEE_API_URL?: string;
|
|
422
|
-
TOLGEE_API_KEY?: string;
|
|
423
343
|
};
|
|
424
344
|
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
425
345
|
type TeachersWebVarsPreset = {
|
|
@@ -434,7 +354,6 @@ type DistrictCommon = {
|
|
|
434
354
|
CLARITY_PROJECT_ID: string;
|
|
435
355
|
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
436
356
|
TOLGEE_API_URL?: string;
|
|
437
|
-
TOLGEE_API_KEY?: string;
|
|
438
357
|
};
|
|
439
358
|
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
440
359
|
type DistrictWebVarsPreset = {
|
|
@@ -603,6 +522,15 @@ declare enum KeyboardTimeVariant {
|
|
|
603
522
|
H24 = "H24"
|
|
604
523
|
}
|
|
605
524
|
|
|
525
|
+
declare enum DrawboardCoinVariant {
|
|
526
|
+
DEFAULT = "default",
|
|
527
|
+
US = "us",
|
|
528
|
+
EURO = "euro",
|
|
529
|
+
CA = "ca",
|
|
530
|
+
UK = "uk",
|
|
531
|
+
SE = "se"
|
|
532
|
+
}
|
|
533
|
+
|
|
606
534
|
type KeyboardConfig = {
|
|
607
535
|
preset: KeyboardPreset;
|
|
608
536
|
currencyVariant: KeyboardCurrencyVariant;
|
|
@@ -621,6 +549,7 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
621
549
|
keyboard: KeyboardConfig;
|
|
622
550
|
drawboard: {
|
|
623
551
|
basicManipulativesMaxGrade: number;
|
|
552
|
+
coinVariant: DrawboardCoinVariant;
|
|
624
553
|
};
|
|
625
554
|
exampleSolutions: {
|
|
626
555
|
languageName: string;
|
|
@@ -859,4 +788,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
859
788
|
};
|
|
860
789
|
}
|
|
861
790
|
|
|
862
|
-
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,
|
|
791
|
+
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 };
|