@magmamath/frontend-config 1.1.2-rc.3 → 1.1.2-rc.5

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 CHANGED
@@ -389,6 +389,7 @@ type RegionSpecificVars = {
389
389
  };
390
390
 
391
391
  type StudentsWebCommon = {
392
+ CDN_HOST_TRANSLATIONS: string;
392
393
  GOOGLE_API_KEY: string;
393
394
  DESMOS_API_KEY: string;
394
395
  LOGGLY_CUSTOMER_TOKEN: string;
@@ -398,6 +399,8 @@ type StudentsWebCommon = {
398
399
  MYSCRIPT_SOCKET_KEY: string;
399
400
  MYSCRIPT_REST_APP_KEY: string;
400
401
  MYSCRIPT_REST_HMAC_KEY: string;
402
+ TOLGEE_API_URL?: string;
403
+ TOLGEE_API_KEY?: string;
401
404
  };
402
405
  type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
403
406
  type StudentsWebVarsPreset = {
@@ -407,6 +410,7 @@ type StudentsWebVarsPreset = {
407
410
  };
408
411
 
409
412
  type TeachersWebCommon = {
413
+ CDN_HOST_TRANSLATIONS: string;
410
414
  MYSCRIPT_HOST: string;
411
415
  MYSCRIPT_REST_APP_KEY: string;
412
416
  MYSCRIPT_REST_HMAC_KEY: string;
@@ -414,6 +418,8 @@ type TeachersWebCommon = {
414
418
  INTERCOM_APP_ID: string;
415
419
  CLARITY_PROJECT_ID: string;
416
420
  LOGGLY_CUSTOMER_TOKEN: string;
421
+ TOLGEE_API_URL?: string;
422
+ TOLGEE_API_KEY?: string;
417
423
  };
418
424
  type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
419
425
  type TeachersWebVarsPreset = {
@@ -423,9 +429,12 @@ type TeachersWebVarsPreset = {
423
429
  };
424
430
 
425
431
  type DistrictCommon = {
432
+ CDN_HOST_TRANSLATIONS: string;
426
433
  INTERCOM_APP_ID: string;
427
434
  CLARITY_PROJECT_ID: string;
428
435
  PROBLEM_IMAGE_SIZE_LIMIT: number;
436
+ TOLGEE_API_URL?: string;
437
+ TOLGEE_API_KEY?: string;
429
438
  };
430
439
  type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
431
440
  type DistrictWebVarsPreset = {
@@ -472,12 +481,12 @@ type Prettify<T> = T extends Function ? T : {
472
481
  };
473
482
 
474
483
  type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
475
- type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
484
+ type AuthWebBaseVars = Omit<RegionSpecificVars, 'CDN_HOST' | 'LOGGLY_TAG' | 'SOCKET_URL'> & {
476
485
  TOS_URL: string;
477
486
  CLARITY_PROJECT_ID: string;
478
487
  INTERCOM_APP_ID: string;
479
- TOLGEE_API_URL: string;
480
- TOLGEE_API_KEY: string;
488
+ TOLGEE_API_URL?: string;
489
+ TOLGEE_API_KEY?: string;
481
490
  };
482
491
  type AuthWebVarsPreset = {
483
492
  [Locale.CA]: {
@@ -501,6 +510,7 @@ type AuthWebVarsPreset = {
501
510
  };
502
511
 
503
512
  type MobileCommon = {
513
+ CDN_HOST_TRANSLATIONS: string;
504
514
  DESMOS_API_KEY: string;
505
515
  USER_AGENT: string;
506
516
  LOGGLY_CUSTOMER_TOKEN: string;
@@ -521,7 +531,6 @@ type MobileBaseVars = {
521
531
  AUTH_WEB_URL: string;
522
532
  API_URL: string;
523
533
  CDN_HOST: string;
524
- CDN_HOST_TRANSLATIONS: string;
525
534
  SOCKET_URL: string;
526
535
  LOGGLY_TAG: string;
527
536
  PROBLEM_CREATOR_URL: string;
@@ -551,7 +560,6 @@ type MobileVarsPreset = {
551
560
  type RegionSpecificWebAdminVars = {
552
561
  API_URL: string;
553
562
  CDN_HOST: string;
554
- CDN_HOST_TRANSLATIONS: string;
555
563
  STUDENTS_WEB_URL: string;
556
564
  DISTRICT_WEB_URL: string;
557
565
  TEACHERS_WEB_URL: string;
package/dist/index.d.ts CHANGED
@@ -389,6 +389,7 @@ type RegionSpecificVars = {
389
389
  };
390
390
 
391
391
  type StudentsWebCommon = {
392
+ CDN_HOST_TRANSLATIONS: string;
392
393
  GOOGLE_API_KEY: string;
393
394
  DESMOS_API_KEY: string;
394
395
  LOGGLY_CUSTOMER_TOKEN: string;
@@ -398,6 +399,8 @@ type StudentsWebCommon = {
398
399
  MYSCRIPT_SOCKET_KEY: string;
399
400
  MYSCRIPT_REST_APP_KEY: string;
400
401
  MYSCRIPT_REST_HMAC_KEY: string;
402
+ TOLGEE_API_URL?: string;
403
+ TOLGEE_API_KEY?: string;
401
404
  };
402
405
  type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
403
406
  type StudentsWebVarsPreset = {
@@ -407,6 +410,7 @@ type StudentsWebVarsPreset = {
407
410
  };
408
411
 
409
412
  type TeachersWebCommon = {
413
+ CDN_HOST_TRANSLATIONS: string;
410
414
  MYSCRIPT_HOST: string;
411
415
  MYSCRIPT_REST_APP_KEY: string;
412
416
  MYSCRIPT_REST_HMAC_KEY: string;
@@ -414,6 +418,8 @@ type TeachersWebCommon = {
414
418
  INTERCOM_APP_ID: string;
415
419
  CLARITY_PROJECT_ID: string;
416
420
  LOGGLY_CUSTOMER_TOKEN: string;
421
+ TOLGEE_API_URL?: string;
422
+ TOLGEE_API_KEY?: string;
417
423
  };
418
424
  type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
419
425
  type TeachersWebVarsPreset = {
@@ -423,9 +429,12 @@ type TeachersWebVarsPreset = {
423
429
  };
424
430
 
425
431
  type DistrictCommon = {
432
+ CDN_HOST_TRANSLATIONS: string;
426
433
  INTERCOM_APP_ID: string;
427
434
  CLARITY_PROJECT_ID: string;
428
435
  PROBLEM_IMAGE_SIZE_LIMIT: number;
436
+ TOLGEE_API_URL?: string;
437
+ TOLGEE_API_KEY?: string;
429
438
  };
430
439
  type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
431
440
  type DistrictWebVarsPreset = {
@@ -472,12 +481,12 @@ type Prettify<T> = T extends Function ? T : {
472
481
  };
473
482
 
474
483
  type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
475
- type AuthWebBaseVars = Omit<RegionSpecificVars, 'LOGGLY_TAG' | 'SOCKET_URL'> & {
484
+ type AuthWebBaseVars = Omit<RegionSpecificVars, 'CDN_HOST' | 'LOGGLY_TAG' | 'SOCKET_URL'> & {
476
485
  TOS_URL: string;
477
486
  CLARITY_PROJECT_ID: string;
478
487
  INTERCOM_APP_ID: string;
479
- TOLGEE_API_URL: string;
480
- TOLGEE_API_KEY: string;
488
+ TOLGEE_API_URL?: string;
489
+ TOLGEE_API_KEY?: string;
481
490
  };
482
491
  type AuthWebVarsPreset = {
483
492
  [Locale.CA]: {
@@ -501,6 +510,7 @@ type AuthWebVarsPreset = {
501
510
  };
502
511
 
503
512
  type MobileCommon = {
513
+ CDN_HOST_TRANSLATIONS: string;
504
514
  DESMOS_API_KEY: string;
505
515
  USER_AGENT: string;
506
516
  LOGGLY_CUSTOMER_TOKEN: string;
@@ -521,7 +531,6 @@ type MobileBaseVars = {
521
531
  AUTH_WEB_URL: string;
522
532
  API_URL: string;
523
533
  CDN_HOST: string;
524
- CDN_HOST_TRANSLATIONS: string;
525
534
  SOCKET_URL: string;
526
535
  LOGGLY_TAG: string;
527
536
  PROBLEM_CREATOR_URL: string;
@@ -551,7 +560,6 @@ type MobileVarsPreset = {
551
560
  type RegionSpecificWebAdminVars = {
552
561
  API_URL: string;
553
562
  CDN_HOST: string;
554
- CDN_HOST_TRANSLATIONS: string;
555
563
  STUDENTS_WEB_URL: string;
556
564
  DISTRICT_WEB_URL: string;
557
565
  TEACHERS_WEB_URL: string;