mgtypes 1.0.77 → 1.0.78
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 +1 -1
- package/types/configs/ClientConfig.ts +29 -16
package/package.json
CHANGED
|
@@ -26,13 +26,14 @@ export interface mgMapConfig {
|
|
|
26
26
|
MAP_BILLBOARDS: mgMapBillboards;
|
|
27
27
|
MAP_STYLE_URL: string;
|
|
28
28
|
DEFAULT_MAP_BOUNDARIES: { latitude: number; longitude: number }[];
|
|
29
|
+
EVENT_CENTER_COORDINATES: {latitude: number, longitude:number}
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* Configs for feed
|
|
33
34
|
*/
|
|
34
35
|
export interface mgFeedConfig {
|
|
35
|
-
SHOW_NETWORK_INDICATOR: boolean;
|
|
36
|
+
SHOW_NETWORK_INDICATOR: boolean; // TODO: delete, not used, just have a popup when network fails
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -54,11 +55,10 @@ export interface mgCalendarConfig {
|
|
|
54
55
|
*/
|
|
55
56
|
export interface mgSpecsConfig {
|
|
56
57
|
EVENT_NAME: string;
|
|
57
|
-
EVENT_START_DATETIME: string;
|
|
58
|
-
EVENT_END_DATETIME: string;
|
|
59
|
-
EVENT_LONGITUDE: string;
|
|
60
|
-
EVENT_LATITUDE: string;
|
|
61
58
|
APP_ALIAS: string;
|
|
59
|
+
PRESENTING_ORGANIZATION: string | null;
|
|
60
|
+
EVENT_START_DATETIME: string | null;
|
|
61
|
+
EVENT_END_DATETIME: string | null;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -210,6 +210,7 @@ export interface mgColorsConfig {
|
|
|
210
210
|
onTertiary: string;
|
|
211
211
|
tertiaryContainer: string;
|
|
212
212
|
onTertiaryContainer: string;
|
|
213
|
+
|
|
213
214
|
error: string;
|
|
214
215
|
onError: string;
|
|
215
216
|
errorContainer: string;
|
|
@@ -254,27 +255,39 @@ interface mgFontTextStyle {
|
|
|
254
255
|
/**
|
|
255
256
|
* Configs for all the app's font styles
|
|
256
257
|
*
|
|
257
|
-
* @property
|
|
258
|
-
* @property
|
|
259
|
-
*
|
|
260
|
-
* @property
|
|
261
|
-
* @property
|
|
258
|
+
* @property displayMedium: Nothing, could be back up for app title on splash/login
|
|
259
|
+
* @property displaySmall: permission/loading modal text
|
|
260
|
+
*
|
|
261
|
+
* @property titleMedium: page titles
|
|
262
|
+
* @property titleSmall: modal titles
|
|
263
|
+
*
|
|
264
|
+
* @property labelLarge: standard & segmented button texts, loading
|
|
265
|
+
* modal, accordion titles, help modal, confirm action snackbar title
|
|
266
|
+
* @property labelMedium: Billboard marker title,
|
|
267
|
+
* @property labelSmall: bottom navigation buttons, map label marker
|
|
268
|
+
* ("ZOOM IN"), other small-font instructions/labels, custom chip
|
|
269
|
+
*
|
|
262
270
|
* @property bodyLarge: TextInput, some accessory text (on splash)
|
|
263
|
-
* @property
|
|
264
|
-
* @property
|
|
265
|
-
*
|
|
271
|
+
* @property bodyMedium: avatar and modal text, card primary text,
|
|
272
|
+
* @property bodySmall: smallest normal text. Still needs to be legible.
|
|
273
|
+
*
|
|
266
274
|
* @property default: fallback
|
|
267
275
|
*/
|
|
268
276
|
export interface mgFontsConfig {
|
|
277
|
+
displayMedium: mgFontTextStyle;
|
|
278
|
+
displaySmall: mgFontTextStyle;
|
|
279
|
+
|
|
280
|
+
titleMedium: mgFontTextStyle;
|
|
281
|
+
titleSmall: mgFontTextStyle;
|
|
282
|
+
|
|
269
283
|
labelLarge: mgFontTextStyle;
|
|
270
284
|
labelMedium: mgFontTextStyle;
|
|
271
285
|
labelSmall: mgFontTextStyle;
|
|
286
|
+
|
|
272
287
|
bodyLarge: mgFontTextStyle;
|
|
273
288
|
bodyMedium: mgFontTextStyle;
|
|
274
289
|
bodySmall: mgFontTextStyle;
|
|
275
|
-
|
|
276
|
-
displaySmall: mgFontTextStyle;
|
|
277
|
-
headlineSmall: mgFontTextStyle;
|
|
290
|
+
|
|
278
291
|
default: mgFontTextStyle;
|
|
279
292
|
}
|
|
280
293
|
|