mgtypes 1.0.63 → 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.63",
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
  /**
@@ -90,8 +91,12 @@ export interface mgNavigationConfig {
90
91
  * Configs that dictate user interactivity
91
92
  */
92
93
  export interface mgFeaturesConfig {
93
- EVENT_TAGS: string[];
94
- PIN_TYPES: {
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[];
@@ -103,13 +108,18 @@ export interface mgFeaturesConfig {
103
108
  personal?: string[];
104
109
  other?: string[];
105
110
  };
106
- PLAN_TYPES: {
111
+ PLANS: {
107
112
  sport?: string[];
108
113
  hallmark?: string[];
109
114
  music?: string[];
110
115
  other?: string[];
111
116
  };
112
- SERVICE_TYPES: {
117
+ ROUTES: {
118
+ parade?: string[];
119
+ race?: string[];
120
+ other?: string[];
121
+ },
122
+ SERVICES: {
113
123
  fire?: {
114
124
  value: 'fire';
115
125
  label: string;
@@ -141,7 +151,7 @@ export interface mgFeaturesConfig {
141
151
  color: string;
142
152
  };
143
153
  };
144
- EMERGENCY_TYPES: {
154
+ EMERGENCIES: {
145
155
  fire?: {
146
156
  value: 'fire';
147
157
  label: string;
@@ -173,11 +183,10 @@ export interface mgFeaturesConfig {
173
183
  color: string;
174
184
  };
175
185
  };
176
- IS_CONTENT_THREADED: boolean;
177
186
  }
178
187
 
179
- // ** AUTH **
180
188
 
189
+ // ** AUTH **
181
190
  export interface mgAuthenticationConfig {
182
191
  USER_AUTH_MODE: 'guest only' | 'account only' | 'guest or account';
183
192
  AUTH_PAGE: {
@@ -0,0 +1,7 @@
1
+ import { mgContentConfig, mgSpecsConfig } from "./ClientConfig";
2
+
3
+ export interface mgServerConfig {
4
+ content: mgContentConfig
5
+ specs: mgSpecsConfig
6
+ }
7
+