mgtypes 1.0.58 → 1.0.59
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 +4 -1
- package/types/Configuration.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mgtypes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.59",
|
|
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
|
}
|
package/types/Configuration.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { mgMapBillboards } from './Content';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Mother Config object
|
|
@@ -49,6 +50,7 @@ export interface mgFeedConfig {
|
|
|
49
50
|
iconOrientation: 'left' | 'right' | 'top' | 'bottom';
|
|
50
51
|
opacity: number;
|
|
51
52
|
};
|
|
53
|
+
DISPLAY_NETWORK_INDICATOR: boolean
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
/**
|
|
@@ -197,7 +199,7 @@ export interface mgFeaturesConfig {
|
|
|
197
199
|
|
|
198
200
|
export interface mgAuthenticationConfig {
|
|
199
201
|
USER_AUTH_MODE: 'guest only' | 'account only' | 'guest or account';
|
|
200
|
-
|
|
202
|
+
AUTH_PAGE: {
|
|
201
203
|
DISPLAY_MODE: 'never' | 'interval' | 'always';
|
|
202
204
|
INTERVAL:
|
|
203
205
|
| null
|
|
@@ -207,6 +209,7 @@ export interface mgAuthenticationConfig {
|
|
|
207
209
|
| '1 day'
|
|
208
210
|
| '1 week'
|
|
209
211
|
| '1 month';
|
|
212
|
+
PAGE_COMPONENT: ReactElement
|
|
210
213
|
};
|
|
211
214
|
}
|
|
212
215
|
|