mgtypes 1.0.28 → 1.0.30
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/Configuration.ts +7 -6
package/package.json
CHANGED
package/types/Configuration.ts
CHANGED
|
@@ -267,11 +267,11 @@ export interface mgProfilesConfig {
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
interface mgProfileConfig {
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
PERMISSIONS: mgPermissionsProfile;
|
|
271
|
+
MAP_FILTERS: mgMapFiltersProfile;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
interface
|
|
274
|
+
interface mgPermissionsProfile {
|
|
275
275
|
CONTENT_CREATION: {
|
|
276
276
|
comment: boolean;
|
|
277
277
|
// whether a guest/user can take a photo versus
|
|
@@ -312,7 +312,7 @@ interface mgPermissionProfile {
|
|
|
312
312
|
* @param pins one of this property's internal properties can be 'all', which will filter all pins
|
|
313
313
|
* @param plans same as above
|
|
314
314
|
*/
|
|
315
|
-
interface
|
|
315
|
+
interface mgMapFiltersProfile {
|
|
316
316
|
pins?: { [key: string]: mgMapFilter };
|
|
317
317
|
plans?: { [key: string]: mgMapFilter };
|
|
318
318
|
people?: {
|
|
@@ -331,7 +331,7 @@ interface mgMapFilterProfile {
|
|
|
331
331
|
'mental health'?: mgMapFilter;
|
|
332
332
|
all?: mgMapFilter;
|
|
333
333
|
};
|
|
334
|
-
routes
|
|
334
|
+
routes?: {
|
|
335
335
|
runs?: mgMapFilter;
|
|
336
336
|
parades?: mgMapFilter;
|
|
337
337
|
all?: mgMapFilter;
|
|
@@ -341,9 +341,10 @@ interface mgMapFilterProfile {
|
|
|
341
341
|
/**
|
|
342
342
|
* Configs to display a map filter
|
|
343
343
|
*/
|
|
344
|
-
interface mgMapFilter {
|
|
344
|
+
export interface mgMapFilter {
|
|
345
345
|
category: 'route' | 'pin' | 'person' | 'plan' | 'emergency';
|
|
346
346
|
value: string;
|
|
347
347
|
labelText: string;
|
|
348
348
|
icon: string;
|
|
349
|
+
color: string;
|
|
349
350
|
}
|