mgtypes 1.0.73 → 1.0.75

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.73",
3
+ "version": "1.0.75",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types/Content.ts CHANGED
@@ -238,3 +238,10 @@ export interface mgMapBillboards {
238
238
  zoomThresholds: number[];
239
239
  billboards: mgMapBillboard[][];
240
240
  }
241
+
242
+ export interface mgList {
243
+ title: string;
244
+ description: string;
245
+ icon: string;
246
+ orderedContentIds: number[];
247
+ }
@@ -32,7 +32,7 @@ export interface mgMapConfig {
32
32
  * Configs for feed
33
33
  */
34
34
  export interface mgFeedConfig {
35
- DISPLAY_NETWORK_INDICATOR: boolean;
35
+ SHOW_NETWORK_INDICATOR: boolean;
36
36
  }
37
37
 
38
38
  /**
@@ -92,6 +92,8 @@ export interface mgNavigationConfig {
92
92
  */
93
93
  export interface mgFeaturesConfig {
94
94
  IS_CONTENT_THREADED: boolean;
95
+ VOTING_MODE: 'none' | 'up only' | 'up and down'
96
+ SHOW_CONTENT_CREATION_DATE: boolean
95
97
  }
96
98
 
97
99
  /**
@@ -12,7 +12,10 @@ export interface mgAuthenticationComponentConfig {
12
12
 
13
13
  export interface mgFeedComponentConfig {
14
14
  HEADER: { height: number; OVERLAY: ReactElement };
15
- NOTIFICATION: { height: number };
15
+ NOTIFICATION: {
16
+ height: number;
17
+ fallbackText:string; // what's displayed if server doesn't work
18
+ };
16
19
  }
17
20
 
18
21
  export interface mgOtherComponentConfig {
@@ -22,7 +25,8 @@ export interface mgOtherComponentConfig {
22
25
  BOTTOM: { height: number };
23
26
  };
24
27
  CARD: {
25
- actionButtonSize: number;
28
+ mediaHeight: number;
29
+ actionButtonIconSize: number;
26
30
  avatarImageSize: number;
27
31
  avatarIconSize: number;
28
32
  };