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
package/types/Content.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface mgMapConfig {
|
|
|
32
32
|
* Configs for feed
|
|
33
33
|
*/
|
|
34
34
|
export interface mgFeedConfig {
|
|
35
|
-
|
|
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: {
|
|
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
|
-
|
|
28
|
+
mediaHeight: number;
|
|
29
|
+
actionButtonIconSize: number;
|
|
26
30
|
avatarImageSize: number;
|
|
27
31
|
avatarIconSize: number;
|
|
28
32
|
};
|