mgtypes 1.0.22 → 1.0.23

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.22",
3
+ "version": "1.0.23",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -4,20 +4,20 @@ import { MapSign } from './App';
4
4
  /**
5
5
  * Mother Config object
6
6
  */
7
- export interface Configuration {
8
- specs: mgSpecs;
9
- colors: mgColors;
10
- fonts: mgFonts;
11
- styles: mgStyles;
12
- features: mgFeatures;
13
- map: mgMap;
14
- feed: mgFeed;
7
+ export interface mgConfiguration {
8
+ specs: mgSpecsConfig;
9
+ colors: mgColorsConfig;
10
+ fonts: mgFontsConfig;
11
+ styles: mgStylesConfig;
12
+ features: mgFeaturesConfig;
13
+ map: mgMapConfig;
14
+ feed: mgFeedConfig;
15
15
  }
16
16
 
17
17
  /**
18
18
  * Configs for map
19
19
  */
20
- export interface mgMap {
20
+ export interface mgMapConfig {
21
21
  MAP_LABELS: { zoomThresholds: number[]; labels: MapSign[][] };
22
22
  MAP_STYLE_URL: string;
23
23
  DEFAULT_MAP_BOUNDARIES: Position[];
@@ -27,7 +27,7 @@ export interface mgMap {
27
27
  /**
28
28
  * Configs for feed
29
29
  */
30
- export interface mgFeed {
30
+ export interface mgFeedConfig {
31
31
  FEED_HEADER_IMAGE_NAMES: string[];
32
32
  FEED_HEADER_CONFIG: {
33
33
  position:
@@ -51,7 +51,7 @@ export interface mgFeed {
51
51
  /**
52
52
  * Configs for event dates, locations, names, map details and feed header
53
53
  */
54
- export interface mgSpecs {
54
+ export interface mgSpecsConfig {
55
55
  EVENT_NAME: string;
56
56
  EVENT_START_DATETIME: string;
57
57
  EVENT_END_DATETIME: string;
@@ -105,7 +105,7 @@ interface PERMISSION_PROFILE {
105
105
  * }
106
106
  * },
107
107
  */
108
- export interface mgFeatures {
108
+ export interface mgFeaturesConfig {
109
109
  EVENT_TAGS: string[];
110
110
  PIN_TYPES: { [key: string]: string[] };
111
111
  PLAN_TYPES: { [key: string]: string[] };
@@ -122,7 +122,7 @@ export interface mgFeatures {
122
122
  /**
123
123
  * Configs based on React Native Paper color assignments w/ some extras
124
124
  */
125
- export interface mgColors {
125
+ export interface mgColorsConfig {
126
126
  success: string;
127
127
  warning: string;
128
128
  warningUnselected: string;
@@ -184,7 +184,7 @@ interface mgFontTextStyle {
184
184
  /**
185
185
  * Configs for all the app's font styles
186
186
  */
187
- export interface mgFonts {
187
+ export interface mgFontsConfig {
188
188
  labelLarge: mgFontTextStyle;
189
189
  labelMedium: mgFontTextStyle;
190
190
  labelSmall: mgFontTextStyle;
@@ -199,7 +199,7 @@ export interface mgFonts {
199
199
  /**
200
200
  * Configs for border and shadow styles
201
201
  */
202
- export interface mgStyles {
202
+ export interface mgStylesConfig {
203
203
  containerBorderRadius: 'none' | 'small' | 'large' | 'full';
204
204
  containerBorderWidth: 'none' | 'thin' | 'normal' | 'thick';
205
205
  containerShadow: 'none' | 'small' | 'large';