mgtypes 1.0.62 → 1.0.64

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.62",
3
+ "version": "1.0.64",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
- import { mgMapBillboards } from './Content';
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
  /**
@@ -32,11 +33,6 @@ export interface mgMapConfig {
32
33
  */
33
34
  export interface mgFeedConfig {
34
35
  DISPLAY_NETWORK_INDICATOR: boolean;
35
- STICKY: {
36
- SEARCH_BAR: { placeholder: string; fontSize: number };
37
- height: number;
38
- };
39
- HEADER: { height: number };
40
36
  }
41
37
 
42
38
  /**
@@ -95,8 +91,12 @@ export interface mgNavigationConfig {
95
91
  * Configs that dictate user interactivity
96
92
  */
97
93
  export interface mgFeaturesConfig {
98
- EVENT_TAGS: string[];
99
- PIN_TYPES: {
94
+ IS_CONTENT_THREADED: boolean;
95
+ }
96
+
97
+ export interface mgContentConfig {
98
+ TAGS: string[];
99
+ PINS: {
100
100
  food?: string[];
101
101
  drink?: string[];
102
102
  infrastructure?: string[];
@@ -108,13 +108,18 @@ export interface mgFeaturesConfig {
108
108
  personal?: string[];
109
109
  other?: string[];
110
110
  };
111
- PLAN_TYPES: {
111
+ PLANS: {
112
112
  sport?: string[];
113
113
  hallmark?: string[];
114
114
  music?: string[];
115
115
  other?: string[];
116
116
  };
117
- SERVICE_TYPES: {
117
+ ROUTES: {
118
+ parade?: string[];
119
+ race?: string[];
120
+ other?: string[];
121
+ },
122
+ SERVICES: {
118
123
  fire?: {
119
124
  value: 'fire';
120
125
  label: string;
@@ -146,7 +151,7 @@ export interface mgFeaturesConfig {
146
151
  color: string;
147
152
  };
148
153
  };
149
- EMERGENCY_TYPES: {
154
+ EMERGENCIES: {
150
155
  fire?: {
151
156
  value: 'fire';
152
157
  label: string;
@@ -178,11 +183,10 @@ export interface mgFeaturesConfig {
178
183
  color: string;
179
184
  };
180
185
  };
181
- IS_CONTENT_THREADED: boolean;
182
186
  }
183
187
 
184
- // ** AUTH **
185
188
 
189
+ // ** AUTH **
186
190
  export interface mgAuthenticationConfig {
187
191
  USER_AUTH_MODE: 'guest only' | 'account only' | 'guest or account';
188
192
  AUTH_PAGE: {
@@ -6,15 +6,15 @@ export interface mgComponentConfiguration {
6
6
  other: mgOtherComponentConfig;
7
7
  }
8
8
 
9
- interface mgAuthenticationComponentConfig {
9
+ export interface mgAuthenticationComponentConfig {
10
10
  TOP_VIEW: ReactElement;
11
11
  }
12
12
 
13
- interface mgFeedComponentConfig {
13
+ export interface mgFeedComponentConfig {
14
14
  STICKY: { height: number };
15
15
  HEADER: { height: number; OVERLAY: ReactElement };
16
16
  }
17
17
 
18
- interface mgOtherComponentConfig {
18
+ export interface mgOtherComponentConfig {
19
19
  SEARCH_BAR: { placeholder: string; fontSize: number };
20
20
  }
@@ -0,0 +1,7 @@
1
+ import { mgContentConfig, mgSpecsConfig } from "./ClientConfig";
2
+
3
+ export interface mgServerConfig {
4
+ content: mgContentConfig
5
+ specs: mgSpecsConfig
6
+ }
7
+