@magmamath/frontend-config 1.1.2-rc.18 → 1.1.2-rc.2
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 +88 -33
- package/dist/index.d.ts +88 -33
- package/dist/index.js +47 -103
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -103
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -29
- 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 -51
- package/dist/translation/index.d.ts +0 -51
- package/dist/translation/index.js +0 -130
- package/dist/translation/index.js.map +0 -1
- package/dist/translation/index.mjs +0 -123
- package/dist/translation/index.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 {
|
|
@@ -301,7 +379,6 @@ type RegionSpecificVars = {
|
|
|
301
379
|
API_URL: string;
|
|
302
380
|
AUTH_WEB_URL: string;
|
|
303
381
|
CDN_HOST: string;
|
|
304
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
305
382
|
DISTRICT_WEB_URL: string;
|
|
306
383
|
LOGGLY_TAG: string;
|
|
307
384
|
MAGMAMATH_URL: string;
|
|
@@ -311,7 +388,6 @@ type RegionSpecificVars = {
|
|
|
311
388
|
};
|
|
312
389
|
|
|
313
390
|
type StudentsWebCommon = {
|
|
314
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
315
391
|
GOOGLE_API_KEY: string;
|
|
316
392
|
DESMOS_API_KEY: string;
|
|
317
393
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -321,8 +397,6 @@ type StudentsWebCommon = {
|
|
|
321
397
|
MYSCRIPT_SOCKET_KEY: string;
|
|
322
398
|
MYSCRIPT_REST_APP_KEY: string;
|
|
323
399
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
324
|
-
TOLGEE_API_URL?: string;
|
|
325
|
-
TOLGEE_API_KEY?: string;
|
|
326
400
|
};
|
|
327
401
|
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
328
402
|
type StudentsWebVarsPreset = {
|
|
@@ -332,7 +406,6 @@ type StudentsWebVarsPreset = {
|
|
|
332
406
|
};
|
|
333
407
|
|
|
334
408
|
type TeachersWebCommon = {
|
|
335
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
336
409
|
MYSCRIPT_HOST: string;
|
|
337
410
|
MYSCRIPT_REST_APP_KEY: string;
|
|
338
411
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
@@ -340,8 +413,6 @@ type TeachersWebCommon = {
|
|
|
340
413
|
INTERCOM_APP_ID: string;
|
|
341
414
|
CLARITY_PROJECT_ID: string;
|
|
342
415
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
343
|
-
TOLGEE_API_URL?: string;
|
|
344
|
-
TOLGEE_API_KEY?: string;
|
|
345
416
|
};
|
|
346
417
|
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
347
418
|
type TeachersWebVarsPreset = {
|
|
@@ -351,12 +422,9 @@ type TeachersWebVarsPreset = {
|
|
|
351
422
|
};
|
|
352
423
|
|
|
353
424
|
type DistrictCommon = {
|
|
354
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
355
425
|
INTERCOM_APP_ID: string;
|
|
356
426
|
CLARITY_PROJECT_ID: string;
|
|
357
427
|
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
358
|
-
TOLGEE_API_URL?: string;
|
|
359
|
-
TOLGEE_API_KEY?: string;
|
|
360
428
|
};
|
|
361
429
|
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
362
430
|
type DistrictWebVarsPreset = {
|
|
@@ -403,12 +471,12 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
403
471
|
};
|
|
404
472
|
|
|
405
473
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
406
|
-
type AuthWebBaseVars = Omit<RegionSpecificVars, '
|
|
474
|
+
type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
407
475
|
TOS_URL: string;
|
|
408
476
|
CLARITY_PROJECT_ID: string;
|
|
409
477
|
INTERCOM_APP_ID: string;
|
|
410
|
-
TOLGEE_API_URL
|
|
411
|
-
TOLGEE_API_KEY
|
|
478
|
+
TOLGEE_API_URL: string;
|
|
479
|
+
TOLGEE_API_KEY: string;
|
|
412
480
|
};
|
|
413
481
|
type AuthWebVarsPreset = {
|
|
414
482
|
[Locale.CA]: {
|
|
@@ -432,9 +500,6 @@ type AuthWebVarsPreset = {
|
|
|
432
500
|
};
|
|
433
501
|
|
|
434
502
|
type MobileCommon = {
|
|
435
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
436
|
-
TOLGEE_API_URL?: string;
|
|
437
|
-
TOLGEE_API_KEY?: string;
|
|
438
503
|
DESMOS_API_KEY: string;
|
|
439
504
|
USER_AGENT: string;
|
|
440
505
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -527,15 +592,6 @@ declare enum KeyboardTimeVariant {
|
|
|
527
592
|
H24 = "H24"
|
|
528
593
|
}
|
|
529
594
|
|
|
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
595
|
type KeyboardConfig = {
|
|
540
596
|
preset: KeyboardPreset;
|
|
541
597
|
currencyVariant: KeyboardCurrencyVariant;
|
|
@@ -554,7 +610,6 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
554
610
|
keyboard: KeyboardConfig;
|
|
555
611
|
drawboard: {
|
|
556
612
|
basicManipulativesMaxGrade: number;
|
|
557
|
-
coinVariant: DrawboardCoinVariant;
|
|
558
613
|
};
|
|
559
614
|
exampleSolutions: {
|
|
560
615
|
languageName: string;
|
|
@@ -793,4 +848,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
793
848
|
};
|
|
794
849
|
}
|
|
795
850
|
|
|
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,
|
|
851
|
+
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 {
|
|
@@ -301,7 +379,6 @@ type RegionSpecificVars = {
|
|
|
301
379
|
API_URL: string;
|
|
302
380
|
AUTH_WEB_URL: string;
|
|
303
381
|
CDN_HOST: string;
|
|
304
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
305
382
|
DISTRICT_WEB_URL: string;
|
|
306
383
|
LOGGLY_TAG: string;
|
|
307
384
|
MAGMAMATH_URL: string;
|
|
@@ -311,7 +388,6 @@ type RegionSpecificVars = {
|
|
|
311
388
|
};
|
|
312
389
|
|
|
313
390
|
type StudentsWebCommon = {
|
|
314
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
315
391
|
GOOGLE_API_KEY: string;
|
|
316
392
|
DESMOS_API_KEY: string;
|
|
317
393
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -321,8 +397,6 @@ type StudentsWebCommon = {
|
|
|
321
397
|
MYSCRIPT_SOCKET_KEY: string;
|
|
322
398
|
MYSCRIPT_REST_APP_KEY: string;
|
|
323
399
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
324
|
-
TOLGEE_API_URL?: string;
|
|
325
|
-
TOLGEE_API_KEY?: string;
|
|
326
400
|
};
|
|
327
401
|
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
328
402
|
type StudentsWebVarsPreset = {
|
|
@@ -332,7 +406,6 @@ type StudentsWebVarsPreset = {
|
|
|
332
406
|
};
|
|
333
407
|
|
|
334
408
|
type TeachersWebCommon = {
|
|
335
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
336
409
|
MYSCRIPT_HOST: string;
|
|
337
410
|
MYSCRIPT_REST_APP_KEY: string;
|
|
338
411
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
@@ -340,8 +413,6 @@ type TeachersWebCommon = {
|
|
|
340
413
|
INTERCOM_APP_ID: string;
|
|
341
414
|
CLARITY_PROJECT_ID: string;
|
|
342
415
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
343
|
-
TOLGEE_API_URL?: string;
|
|
344
|
-
TOLGEE_API_KEY?: string;
|
|
345
416
|
};
|
|
346
417
|
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
347
418
|
type TeachersWebVarsPreset = {
|
|
@@ -351,12 +422,9 @@ type TeachersWebVarsPreset = {
|
|
|
351
422
|
};
|
|
352
423
|
|
|
353
424
|
type DistrictCommon = {
|
|
354
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
355
425
|
INTERCOM_APP_ID: string;
|
|
356
426
|
CLARITY_PROJECT_ID: string;
|
|
357
427
|
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
358
|
-
TOLGEE_API_URL?: string;
|
|
359
|
-
TOLGEE_API_KEY?: string;
|
|
360
428
|
};
|
|
361
429
|
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
362
430
|
type DistrictWebVarsPreset = {
|
|
@@ -403,12 +471,12 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
403
471
|
};
|
|
404
472
|
|
|
405
473
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
406
|
-
type AuthWebBaseVars = Omit<RegionSpecificVars, '
|
|
474
|
+
type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
407
475
|
TOS_URL: string;
|
|
408
476
|
CLARITY_PROJECT_ID: string;
|
|
409
477
|
INTERCOM_APP_ID: string;
|
|
410
|
-
TOLGEE_API_URL
|
|
411
|
-
TOLGEE_API_KEY
|
|
478
|
+
TOLGEE_API_URL: string;
|
|
479
|
+
TOLGEE_API_KEY: string;
|
|
412
480
|
};
|
|
413
481
|
type AuthWebVarsPreset = {
|
|
414
482
|
[Locale.CA]: {
|
|
@@ -432,9 +500,6 @@ type AuthWebVarsPreset = {
|
|
|
432
500
|
};
|
|
433
501
|
|
|
434
502
|
type MobileCommon = {
|
|
435
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
436
|
-
TOLGEE_API_URL?: string;
|
|
437
|
-
TOLGEE_API_KEY?: string;
|
|
438
503
|
DESMOS_API_KEY: string;
|
|
439
504
|
USER_AGENT: string;
|
|
440
505
|
LOGGLY_CUSTOMER_TOKEN: string;
|
|
@@ -527,15 +592,6 @@ declare enum KeyboardTimeVariant {
|
|
|
527
592
|
H24 = "H24"
|
|
528
593
|
}
|
|
529
594
|
|
|
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
595
|
type KeyboardConfig = {
|
|
540
596
|
preset: KeyboardPreset;
|
|
541
597
|
currencyVariant: KeyboardCurrencyVariant;
|
|
@@ -554,7 +610,6 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
554
610
|
keyboard: KeyboardConfig;
|
|
555
611
|
drawboard: {
|
|
556
612
|
basicManipulativesMaxGrade: number;
|
|
557
|
-
coinVariant: DrawboardCoinVariant;
|
|
558
613
|
};
|
|
559
614
|
exampleSolutions: {
|
|
560
615
|
languageName: string;
|
|
@@ -793,4 +848,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
793
848
|
};
|
|
794
849
|
}
|
|
795
850
|
|
|
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,
|
|
851
|
+
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 };
|