mgtypes 1.0.58 → 1.0.60

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,5 +23,8 @@
23
23
  "eslint": "^8.57.1",
24
24
  "eslint-config-airbnb": "^19.0.4",
25
25
  "eslint-plugin-import": "^2.32.0"
26
+ },
27
+ "dependencies": {
28
+ "@types/react": "^19.2.8"
26
29
  }
27
30
  }
@@ -3,7 +3,7 @@ import { mgMapBillboards } from './Content';
3
3
  /**
4
4
  * Mother Config object
5
5
  */
6
- export interface mgConfiguration {
6
+ export interface mgClientConfiguration {
7
7
  specs: mgSpecsConfig;
8
8
  colors: mgColorsConfig;
9
9
  fonts: mgFontsConfig;
@@ -49,6 +49,7 @@ export interface mgFeedConfig {
49
49
  iconOrientation: 'left' | 'right' | 'top' | 'bottom';
50
50
  opacity: number;
51
51
  };
52
+ DISPLAY_NETWORK_INDICATOR: boolean
52
53
  }
53
54
 
54
55
  /**
@@ -197,7 +198,7 @@ export interface mgFeaturesConfig {
197
198
 
198
199
  export interface mgAuthenticationConfig {
199
200
  USER_AUTH_MODE: 'guest only' | 'account only' | 'guest or account';
200
- AUTH_PAGE_SETTINGS: {
201
+ AUTH_PAGE: {
201
202
  DISPLAY_MODE: 'never' | 'interval' | 'always';
202
203
  INTERVAL:
203
204
  | null
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+
3
+ export interface mgComponentConfiguration {
4
+ authentication: mgAuthenticationComponentConfig
5
+ }
6
+
7
+ interface mgAuthenticationComponentConfig {
8
+ PAGE: ReactElement
9
+ }