mgtypes 1.0.68 → 1.0.70

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.68",
3
+ "version": "1.0.70",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -54,8 +54,18 @@ export interface mgNativePermission {
54
54
  status: 'granted' | 'undetermined' | 'denied';
55
55
  canAskAgain: boolean;
56
56
  // will display in info modal: these are non-native, non-toggleable, and true
57
- defaultTruePermissions: mgNonNativePermissionTitle[]; // TODO:permissionsConfig
58
- toggleablePermissions: mgNonNativePermissionTitle[]; // TODO:permissionsConfig
57
+ defaultTruePermissions: (
58
+ | mgNonNativePermissionTitle
59
+ | mgLocationPermissionTitle
60
+ | mgCalendarPermissionTitle
61
+ | mgNotificationsPermissionTitle
62
+ )[]; // TODO:permissionsConfig
63
+ toggleablePermissions: (
64
+ | mgNonNativePermissionTitle
65
+ | mgLocationPermissionTitle
66
+ | mgCalendarPermissionTitle
67
+ | mgNotificationsPermissionTitle
68
+ )[]; // TODO:permissionsConfig
59
69
  }
60
70
 
61
71
  export interface mgNonNativePermission {
@@ -14,13 +14,13 @@ export interface mgFeedComponentConfig {
14
14
  STICKY: { height: number };
15
15
  HEADER: { height: number; OVERLAY: ReactElement };
16
16
  NOTIFICATION: {height: number,}
17
+ }
18
+
19
+ export interface mgOtherComponentConfig {
20
+ SEARCH_BAR: { placeholder: string; fontSize: number };
17
21
  CARD: {
18
22
  actionButtonSize: number,
19
23
  avatarImageSize: number,
20
24
  avatarIconSize: number,
21
25
  }
22
26
  }
23
-
24
- export interface mgOtherComponentConfig {
25
- SEARCH_BAR: { placeholder: string; fontSize: number };
26
- }