mgtypes 1.0.8 → 1.0.10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types/App.ts CHANGED
@@ -9,6 +9,7 @@ export interface App {
9
9
  endDateTime: string;
10
10
  eventLatitude: number;
11
11
  eventLongitude: number;
12
+ mapTheme: 'light' | 'dark' | 'streets' | 'outdoors'
12
13
  mapStyleUrl: string;
13
14
  mapLabels: MapLabels;
14
15
  pins: any[];
@@ -21,6 +22,11 @@ export interface App {
21
22
  appColors: AppColors;
22
23
  }
23
24
 
25
+ /**
26
+ * @param icon use a hyphen to connect substrings, as in 'ferris-wheel'. This is Expo-friendly.
27
+ * @param iconColor use hex, as in '#e5e5e5'
28
+ * @param image not configured, would be used to display image on label
29
+ */
24
30
  export interface MapLabel {
25
31
  title: string;
26
32
  icon: string | null;
package/types/Content.ts CHANGED
@@ -121,7 +121,7 @@ interface Contentable {
121
121
  pinHours?: PinHour[];
122
122
 
123
123
  // Routes
124
- routeType?: string;
124
+ routeCategory?:string;
125
125
  color?: string;
126
126
  coordinates?: Position[];
127
127