mgtypes 1.0.83 → 1.0.84
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
|
@@ -26,14 +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
|
|
29
|
+
EVENT_CENTER_COORDINATES: { latitude: number; longitude: number };
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Configs for feed
|
|
34
34
|
*/
|
|
35
35
|
export interface mgFeedConfig {
|
|
36
|
-
|
|
36
|
+
THIS_INTERFACE_HAS_NO_PROPERTIES: undefined;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -80,11 +80,7 @@ export enum mgNavButton {
|
|
|
80
80
|
* @property bottomNavButtons.secondary: buttons that show in 'MORE' menu
|
|
81
81
|
*/
|
|
82
82
|
export interface mgNavigationConfig {
|
|
83
|
-
|
|
84
|
-
primary: ('feed'|'map'|'create'|'list'|'calendar'|'help'|'settings')[];
|
|
85
|
-
secondary: ('feed'|'map'|'create'|'list'|'calendar'|'help'|'settings')[];
|
|
86
|
-
};
|
|
87
|
-
homePage: 'Settings' | 'Map' | 'Feed' | 'Calendar' | 'Lists';
|
|
83
|
+
THIS_INTERFACE_HAS_NO_PROPERTIES: undefined;
|
|
88
84
|
}
|
|
89
85
|
|
|
90
86
|
/**
|
|
@@ -92,8 +88,8 @@ export interface mgNavigationConfig {
|
|
|
92
88
|
*/
|
|
93
89
|
export interface mgFeaturesConfig {
|
|
94
90
|
IS_CONTENT_THREADED: boolean;
|
|
95
|
-
VOTING_MODE: 'none' | 'up only' | 'up and down'
|
|
96
|
-
SHOW_CONTENT_CREATION_DATE: boolean
|
|
91
|
+
VOTING_MODE: 'none' | 'up only' | 'up and down';
|
|
92
|
+
SHOW_CONTENT_CREATION_DATE: boolean;
|
|
97
93
|
}
|
|
98
94
|
|
|
99
95
|
/**
|
|
@@ -201,7 +197,7 @@ export interface mgColorsConfig {
|
|
|
201
197
|
lightNeutral: string;
|
|
202
198
|
darkNeutral: string;
|
|
203
199
|
dark: string;
|
|
204
|
-
sunkSurface:string;
|
|
200
|
+
sunkSurface: string;
|
|
205
201
|
success: string;
|
|
206
202
|
warning: string;
|
|
207
203
|
locationPuck: string;
|
|
@@ -7,15 +7,23 @@ export interface mgComponentConfiguration {
|
|
|
7
7
|
other: mgOtherComponentConfig;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export interface mgMapComponentConfig{
|
|
11
|
-
mapIconButtonSize:number;
|
|
10
|
+
export interface mgMapComponentConfig {
|
|
11
|
+
mapIconButtonSize: number;
|
|
12
12
|
}
|
|
13
13
|
export interface mgAuthenticationComponentConfig {
|
|
14
|
-
|
|
14
|
+
THIS_INTERFACE_HAS_NO_PROPERTIES: undefined;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export interface mgFeedComponentConfig {
|
|
18
|
-
HEADER: {
|
|
18
|
+
HEADER: {
|
|
19
|
+
height: number;
|
|
20
|
+
graphicPadding: {
|
|
21
|
+
top: number;
|
|
22
|
+
right: number;
|
|
23
|
+
bottom: number;
|
|
24
|
+
left: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
19
27
|
NOTIFICATION: {
|
|
20
28
|
height: number;
|
|
21
29
|
fallbackText: string; // what's displayed if server doesn't work
|
|
@@ -42,5 +50,26 @@ export interface mgOtherComponentConfig {
|
|
|
42
50
|
buttonSize: number;
|
|
43
51
|
height: number;
|
|
44
52
|
iconSize: number;
|
|
53
|
+
buttons: {
|
|
54
|
+
primary: (
|
|
55
|
+
| 'feed'
|
|
56
|
+
| 'map'
|
|
57
|
+
| 'create'
|
|
58
|
+
| 'list'
|
|
59
|
+
| 'calendar'
|
|
60
|
+
| 'help'
|
|
61
|
+
| 'settings'
|
|
62
|
+
)[];
|
|
63
|
+
secondary: (
|
|
64
|
+
| 'feed'
|
|
65
|
+
| 'map'
|
|
66
|
+
| 'create'
|
|
67
|
+
| 'list'
|
|
68
|
+
| 'calendar'
|
|
69
|
+
| 'help'
|
|
70
|
+
| 'settings'
|
|
71
|
+
)[];
|
|
72
|
+
};
|
|
73
|
+
homePage: 'Settings' | 'Map' | 'Feed' | 'Calendar' | 'Lists';
|
|
45
74
|
};
|
|
46
75
|
}
|