mgtypes 1.0.63 → 1.0.65
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,4 +1,4 @@
|
|
|
1
|
-
import { mgMapBillboards } from '
|
|
1
|
+
import { mgMapBillboards } from '../Content';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Mother Config object
|
|
@@ -16,6 +16,7 @@ export interface mgClientConfiguration {
|
|
|
16
16
|
navigation: mgNavigationConfig;
|
|
17
17
|
calendar: mgCalendarConfig;
|
|
18
18
|
authentication: mgAuthenticationConfig;
|
|
19
|
+
content: mgContentConfig;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -90,8 +91,12 @@ export interface mgNavigationConfig {
|
|
|
90
91
|
* Configs that dictate user interactivity
|
|
91
92
|
*/
|
|
92
93
|
export interface mgFeaturesConfig {
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
IS_CONTENT_THREADED: boolean;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface mgContentConfig {
|
|
98
|
+
TAGS: string[];
|
|
99
|
+
PINS: {
|
|
95
100
|
food?: string[];
|
|
96
101
|
drink?: string[];
|
|
97
102
|
infrastructure?: string[];
|
|
@@ -102,82 +107,26 @@ export interface mgFeaturesConfig {
|
|
|
102
107
|
shopping?: string[];
|
|
103
108
|
personal?: string[];
|
|
104
109
|
other?: string[];
|
|
110
|
+
default: ['pin'];
|
|
105
111
|
};
|
|
106
|
-
|
|
112
|
+
PLANS: {
|
|
107
113
|
sport?: string[];
|
|
108
114
|
hallmark?: string[];
|
|
109
115
|
music?: string[];
|
|
110
116
|
other?: string[];
|
|
117
|
+
default: ['plan'];
|
|
111
118
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
color: string;
|
|
118
|
-
};
|
|
119
|
-
medical?: {
|
|
120
|
-
value: 'medical';
|
|
121
|
-
label: string;
|
|
122
|
-
icon: string;
|
|
123
|
-
color: string;
|
|
124
|
-
};
|
|
125
|
-
'mental health'?: {
|
|
126
|
-
value: 'mental health';
|
|
127
|
-
label: string;
|
|
128
|
-
icon: string;
|
|
129
|
-
color: string;
|
|
130
|
-
};
|
|
131
|
-
security?: {
|
|
132
|
-
value: 'security';
|
|
133
|
-
label: string;
|
|
134
|
-
icon: string;
|
|
135
|
-
color: string;
|
|
136
|
-
};
|
|
137
|
-
default: {
|
|
138
|
-
value: 'default';
|
|
139
|
-
label: string;
|
|
140
|
-
icon: string;
|
|
141
|
-
color: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
EMERGENCY_TYPES: {
|
|
145
|
-
fire?: {
|
|
146
|
-
value: 'fire';
|
|
147
|
-
label: string;
|
|
148
|
-
icon: string;
|
|
149
|
-
color: string;
|
|
150
|
-
};
|
|
151
|
-
medical?: {
|
|
152
|
-
value: 'medical';
|
|
153
|
-
label: string;
|
|
154
|
-
icon: string;
|
|
155
|
-
color: string;
|
|
156
|
-
};
|
|
157
|
-
'mental health'?: {
|
|
158
|
-
value: 'mental health';
|
|
159
|
-
label: string;
|
|
160
|
-
icon: string;
|
|
161
|
-
color: string;
|
|
162
|
-
};
|
|
163
|
-
security?: {
|
|
164
|
-
value: 'security';
|
|
165
|
-
label: string;
|
|
166
|
-
icon: string;
|
|
167
|
-
color: string;
|
|
168
|
-
};
|
|
169
|
-
default: {
|
|
170
|
-
value: 'default';
|
|
171
|
-
label: string;
|
|
172
|
-
icon: string;
|
|
173
|
-
color: string;
|
|
174
|
-
};
|
|
119
|
+
ROUTES: {
|
|
120
|
+
parade?: string[];
|
|
121
|
+
race?: string[];
|
|
122
|
+
other?: string[];
|
|
123
|
+
default: ['route'];
|
|
175
124
|
};
|
|
176
|
-
|
|
125
|
+
SERVICES?: 'mental health' | 'security' | 'fire' | 'medical'[];
|
|
126
|
+
EMERGENCIES?: 'mental health' | 'security' | 'fire' | 'medical'[];
|
|
177
127
|
}
|
|
178
128
|
|
|
179
129
|
// ** AUTH **
|
|
180
|
-
|
|
181
130
|
export interface mgAuthenticationConfig {
|
|
182
131
|
USER_AUTH_MODE: 'guest only' | 'account only' | 'guest or account';
|
|
183
132
|
AUTH_PAGE: {
|
|
File without changes
|