@magmamath/frontend-config 1.1.2-rc.26 → 1.1.2-rc.3
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 +90 -32
- package/dist/index.d.ts +90 -32
- package/dist/index.js +112 -117
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +113 -117
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -46
- package/dist/common.constants-ClvjFWRr.d.mts +0 -81
- package/dist/common.constants-ClvjFWRr.d.ts +0 -81
- package/dist/translation/index.d.mts +0 -48
- package/dist/translation/index.d.ts +0 -48
- package/dist/translation/index.js +0 -118
- package/dist/translation/index.js.map +0 -1
- package/dist/translation/index.mjs +0 -111
- package/dist/translation/index.mjs.map +0 -1
- package/dist/translation/translation.constants.d.mts +0 -13
- package/dist/translation/translation.constants.d.ts +0 -13
- package/dist/translation/translation.constants.js +0 -19
- package/dist/translation/translation.constants.js.map +0 -1
- package/dist/translation/translation.constants.mjs +0 -17
- package/dist/translation/translation.constants.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
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
1
|
import { ComponentType } from 'react';
|
|
4
2
|
import * as effector from 'effector';
|
|
5
3
|
|
|
@@ -39,6 +37,86 @@ declare const MomentDateLocale: {
|
|
|
39
37
|
DE: string;
|
|
40
38
|
};
|
|
41
39
|
|
|
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
|
+
|
|
42
120
|
declare enum MatrixMode {
|
|
43
121
|
SKILL = "SKILL",
|
|
44
122
|
STANDARD = "STANDARD"
|
|
@@ -81,10 +159,10 @@ declare enum NumberDecimalSeparator {
|
|
|
81
159
|
COMMA = ","
|
|
82
160
|
}
|
|
83
161
|
declare enum NumberGroupingSeparator {
|
|
84
|
-
SPACE = "
|
|
85
|
-
COMMA = "
|
|
86
|
-
DOT = "
|
|
87
|
-
APOSTROPHE = "
|
|
162
|
+
SPACE = "space",
|
|
163
|
+
COMMA = "comma",
|
|
164
|
+
DOT = "dot",
|
|
165
|
+
APOSTROPHE = "apostrophe"
|
|
88
166
|
}
|
|
89
167
|
|
|
90
168
|
declare enum TTSOverrideSymbol {
|
|
@@ -311,7 +389,6 @@ type RegionSpecificVars = {
|
|
|
311
389
|
};
|
|
312
390
|
|
|
313
391
|
type StudentsWebCommon = {
|
|
314
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
315
392
|
GOOGLE_API_KEY: string;
|
|
316
393
|
DESMOS_API_KEY: string;
|
|
317
394
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -321,8 +398,6 @@ type StudentsWebCommon = {
|
|
|
321
398
|
MYSCRIPT_SOCKET_KEY: string;
|
|
322
399
|
MYSCRIPT_REST_APP_KEY: string;
|
|
323
400
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
324
|
-
TOLGEE_API_URL?: string;
|
|
325
|
-
TOLGEE_API_KEY?: string;
|
|
326
401
|
};
|
|
327
402
|
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
328
403
|
type StudentsWebVarsPreset = {
|
|
@@ -332,7 +407,6 @@ type StudentsWebVarsPreset = {
|
|
|
332
407
|
};
|
|
333
408
|
|
|
334
409
|
type TeachersWebCommon = {
|
|
335
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
336
410
|
MYSCRIPT_HOST: string;
|
|
337
411
|
MYSCRIPT_REST_APP_KEY: string;
|
|
338
412
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
@@ -340,8 +414,6 @@ type TeachersWebCommon = {
|
|
|
340
414
|
INTERCOM_APP_ID: string;
|
|
341
415
|
CLARITY_PROJECT_ID: string;
|
|
342
416
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
343
|
-
TOLGEE_API_URL?: string;
|
|
344
|
-
TOLGEE_API_KEY?: string;
|
|
345
417
|
};
|
|
346
418
|
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
347
419
|
type TeachersWebVarsPreset = {
|
|
@@ -351,12 +423,9 @@ type TeachersWebVarsPreset = {
|
|
|
351
423
|
};
|
|
352
424
|
|
|
353
425
|
type DistrictCommon = {
|
|
354
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
355
426
|
INTERCOM_APP_ID: string;
|
|
356
427
|
CLARITY_PROJECT_ID: string;
|
|
357
428
|
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
358
|
-
TOLGEE_API_URL?: string;
|
|
359
|
-
TOLGEE_API_KEY?: string;
|
|
360
429
|
};
|
|
361
430
|
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
362
431
|
type DistrictWebVarsPreset = {
|
|
@@ -403,12 +472,12 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
403
472
|
};
|
|
404
473
|
|
|
405
474
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
406
|
-
type AuthWebBaseVars = Omit<RegionSpecificVars, '
|
|
475
|
+
type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
407
476
|
TOS_URL: string;
|
|
408
477
|
CLARITY_PROJECT_ID: string;
|
|
409
478
|
INTERCOM_APP_ID: string;
|
|
410
|
-
TOLGEE_API_URL
|
|
411
|
-
TOLGEE_API_KEY
|
|
479
|
+
TOLGEE_API_URL: string;
|
|
480
|
+
TOLGEE_API_KEY: string;
|
|
412
481
|
};
|
|
413
482
|
type AuthWebVarsPreset = {
|
|
414
483
|
[Locale.CA]: {
|
|
@@ -432,9 +501,6 @@ type AuthWebVarsPreset = {
|
|
|
432
501
|
};
|
|
433
502
|
|
|
434
503
|
type MobileCommon = {
|
|
435
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
436
|
-
TOLGEE_API_URL?: string;
|
|
437
|
-
TOLGEE_API_KEY?: string;
|
|
438
504
|
DESMOS_API_KEY: string;
|
|
439
505
|
USER_AGENT: string;
|
|
440
506
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -455,6 +521,7 @@ type MobileBaseVars = {
|
|
|
455
521
|
AUTH_WEB_URL: string;
|
|
456
522
|
API_URL: string;
|
|
457
523
|
CDN_HOST: string;
|
|
524
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
458
525
|
SOCKET_URL: string;
|
|
459
526
|
LOGGLY_TAG: string;
|
|
460
527
|
PROBLEM_CREATOR_URL: string;
|
|
@@ -484,6 +551,7 @@ type MobileVarsPreset = {
|
|
|
484
551
|
type RegionSpecificWebAdminVars = {
|
|
485
552
|
API_URL: string;
|
|
486
553
|
CDN_HOST: string;
|
|
554
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
487
555
|
STUDENTS_WEB_URL: string;
|
|
488
556
|
DISTRICT_WEB_URL: string;
|
|
489
557
|
TEACHERS_WEB_URL: string;
|
|
@@ -527,15 +595,6 @@ declare enum KeyboardTimeVariant {
|
|
|
527
595
|
H24 = "H24"
|
|
528
596
|
}
|
|
529
597
|
|
|
530
|
-
declare enum DrawboardCoinVariant {
|
|
531
|
-
DEFAULT = "default",
|
|
532
|
-
US = "us",
|
|
533
|
-
EURO = "euro",
|
|
534
|
-
CA = "ca",
|
|
535
|
-
UK = "uk",
|
|
536
|
-
SE = "se"
|
|
537
|
-
}
|
|
538
|
-
|
|
539
598
|
type KeyboardConfig = {
|
|
540
599
|
preset: KeyboardPreset;
|
|
541
600
|
currencyVariant: KeyboardCurrencyVariant;
|
|
@@ -554,7 +613,6 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
554
613
|
keyboard: KeyboardConfig;
|
|
555
614
|
drawboard: {
|
|
556
615
|
basicManipulativesMaxGrade: number;
|
|
557
|
-
coinVariant: DrawboardCoinVariant;
|
|
558
616
|
};
|
|
559
617
|
exampleSolutions: {
|
|
560
618
|
languageName: string;
|
|
@@ -793,4 +851,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
793
851
|
};
|
|
794
852
|
}
|
|
795
853
|
|
|
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,
|
|
854
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
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
1
|
import { ComponentType } from 'react';
|
|
4
2
|
import * as effector from 'effector';
|
|
5
3
|
|
|
@@ -39,6 +37,86 @@ declare const MomentDateLocale: {
|
|
|
39
37
|
DE: string;
|
|
40
38
|
};
|
|
41
39
|
|
|
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
|
+
|
|
42
120
|
declare enum MatrixMode {
|
|
43
121
|
SKILL = "SKILL",
|
|
44
122
|
STANDARD = "STANDARD"
|
|
@@ -81,10 +159,10 @@ declare enum NumberDecimalSeparator {
|
|
|
81
159
|
COMMA = ","
|
|
82
160
|
}
|
|
83
161
|
declare enum NumberGroupingSeparator {
|
|
84
|
-
SPACE = "
|
|
85
|
-
COMMA = "
|
|
86
|
-
DOT = "
|
|
87
|
-
APOSTROPHE = "
|
|
162
|
+
SPACE = "space",
|
|
163
|
+
COMMA = "comma",
|
|
164
|
+
DOT = "dot",
|
|
165
|
+
APOSTROPHE = "apostrophe"
|
|
88
166
|
}
|
|
89
167
|
|
|
90
168
|
declare enum TTSOverrideSymbol {
|
|
@@ -311,7 +389,6 @@ type RegionSpecificVars = {
|
|
|
311
389
|
};
|
|
312
390
|
|
|
313
391
|
type StudentsWebCommon = {
|
|
314
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
315
392
|
GOOGLE_API_KEY: string;
|
|
316
393
|
DESMOS_API_KEY: string;
|
|
317
394
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -321,8 +398,6 @@ type StudentsWebCommon = {
|
|
|
321
398
|
MYSCRIPT_SOCKET_KEY: string;
|
|
322
399
|
MYSCRIPT_REST_APP_KEY: string;
|
|
323
400
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
324
|
-
TOLGEE_API_URL?: string;
|
|
325
|
-
TOLGEE_API_KEY?: string;
|
|
326
401
|
};
|
|
327
402
|
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
328
403
|
type StudentsWebVarsPreset = {
|
|
@@ -332,7 +407,6 @@ type StudentsWebVarsPreset = {
|
|
|
332
407
|
};
|
|
333
408
|
|
|
334
409
|
type TeachersWebCommon = {
|
|
335
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
336
410
|
MYSCRIPT_HOST: string;
|
|
337
411
|
MYSCRIPT_REST_APP_KEY: string;
|
|
338
412
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
@@ -340,8 +414,6 @@ type TeachersWebCommon = {
|
|
|
340
414
|
INTERCOM_APP_ID: string;
|
|
341
415
|
CLARITY_PROJECT_ID: string;
|
|
342
416
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
343
|
-
TOLGEE_API_URL?: string;
|
|
344
|
-
TOLGEE_API_KEY?: string;
|
|
345
417
|
};
|
|
346
418
|
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
347
419
|
type TeachersWebVarsPreset = {
|
|
@@ -351,12 +423,9 @@ type TeachersWebVarsPreset = {
|
|
|
351
423
|
};
|
|
352
424
|
|
|
353
425
|
type DistrictCommon = {
|
|
354
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
355
426
|
INTERCOM_APP_ID: string;
|
|
356
427
|
CLARITY_PROJECT_ID: string;
|
|
357
428
|
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
358
|
-
TOLGEE_API_URL?: string;
|
|
359
|
-
TOLGEE_API_KEY?: string;
|
|
360
429
|
};
|
|
361
430
|
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
362
431
|
type DistrictWebVarsPreset = {
|
|
@@ -403,12 +472,12 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
403
472
|
};
|
|
404
473
|
|
|
405
474
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
406
|
-
type AuthWebBaseVars = Omit<RegionSpecificVars, '
|
|
475
|
+
type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
407
476
|
TOS_URL: string;
|
|
408
477
|
CLARITY_PROJECT_ID: string;
|
|
409
478
|
INTERCOM_APP_ID: string;
|
|
410
|
-
TOLGEE_API_URL
|
|
411
|
-
TOLGEE_API_KEY
|
|
479
|
+
TOLGEE_API_URL: string;
|
|
480
|
+
TOLGEE_API_KEY: string;
|
|
412
481
|
};
|
|
413
482
|
type AuthWebVarsPreset = {
|
|
414
483
|
[Locale.CA]: {
|
|
@@ -432,9 +501,6 @@ type AuthWebVarsPreset = {
|
|
|
432
501
|
};
|
|
433
502
|
|
|
434
503
|
type MobileCommon = {
|
|
435
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
436
|
-
TOLGEE_API_URL?: string;
|
|
437
|
-
TOLGEE_API_KEY?: string;
|
|
438
504
|
DESMOS_API_KEY: string;
|
|
439
505
|
USER_AGENT: string;
|
|
440
506
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -455,6 +521,7 @@ type MobileBaseVars = {
|
|
|
455
521
|
AUTH_WEB_URL: string;
|
|
456
522
|
API_URL: string;
|
|
457
523
|
CDN_HOST: string;
|
|
524
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
458
525
|
SOCKET_URL: string;
|
|
459
526
|
LOGGLY_TAG: string;
|
|
460
527
|
PROBLEM_CREATOR_URL: string;
|
|
@@ -484,6 +551,7 @@ type MobileVarsPreset = {
|
|
|
484
551
|
type RegionSpecificWebAdminVars = {
|
|
485
552
|
API_URL: string;
|
|
486
553
|
CDN_HOST: string;
|
|
554
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
487
555
|
STUDENTS_WEB_URL: string;
|
|
488
556
|
DISTRICT_WEB_URL: string;
|
|
489
557
|
TEACHERS_WEB_URL: string;
|
|
@@ -527,15 +595,6 @@ declare enum KeyboardTimeVariant {
|
|
|
527
595
|
H24 = "H24"
|
|
528
596
|
}
|
|
529
597
|
|
|
530
|
-
declare enum DrawboardCoinVariant {
|
|
531
|
-
DEFAULT = "default",
|
|
532
|
-
US = "us",
|
|
533
|
-
EURO = "euro",
|
|
534
|
-
CA = "ca",
|
|
535
|
-
UK = "uk",
|
|
536
|
-
SE = "se"
|
|
537
|
-
}
|
|
538
|
-
|
|
539
598
|
type KeyboardConfig = {
|
|
540
599
|
preset: KeyboardPreset;
|
|
541
600
|
currencyVariant: KeyboardCurrencyVariant;
|
|
@@ -554,7 +613,6 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
554
613
|
keyboard: KeyboardConfig;
|
|
555
614
|
drawboard: {
|
|
556
615
|
basicManipulativesMaxGrade: number;
|
|
557
|
-
coinVariant: DrawboardCoinVariant;
|
|
558
616
|
};
|
|
559
617
|
exampleSolutions: {
|
|
560
618
|
languageName: string;
|
|
@@ -793,4 +851,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
793
851
|
};
|
|
794
852
|
}
|
|
795
853
|
|
|
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,
|
|
854
|
+
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 };
|