mgtypes 1.0.37 → 1.0.39

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.37",
3
+ "version": "1.0.39",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -345,12 +345,13 @@ export interface mgPermissionsProfile {
345
345
  // ARE THESE PERMISSIONS NEEDED FOR THE USER'S
346
346
  // VERSION OF THE APP? IF SO, THEY APPEAR IN SETTINGS
347
347
  NATIVE_PERMISSIONS: {
348
- LOCATION_FOREGROUND: boolean;
349
- LOCATION_BACKGROUND: boolean;
350
- PHOTO_LIBRARY: boolean;
351
- CAMERA: boolean;
352
- MICROPHONE: boolean;
353
- CONTACTS: boolean;
348
+ LOCATION_FOREGROUND: { isRequired: boolean; requestOnInit: boolean };
349
+ LOCATION_BACKGROUND: { isRequired: boolean; requestOnInit: boolean };
350
+ PHOTO_LIBRARY: { isRequired: boolean; requestOnInit: boolean };
351
+ CAMERA: { isRequired: boolean; requestOnInit: boolean };
352
+ MICROPHONE: { isRequired: boolean; requestOnInit: boolean };
353
+ CONTACTS: { isRequired: boolean; requestOnInit: boolean };
354
+ CALENDAR: { isRequired: boolean; requestOnInit: boolean };
354
355
  };
355
356
  FEATURES: {
356
357
  CAN_HAVE_FRIENDS: boolean;
package/types/Content.ts CHANGED
@@ -42,9 +42,12 @@ export interface AppContent {
42
42
  order: number[];
43
43
  title: string;
44
44
  description: string;
45
- icon:string;
45
+ icon: string;
46
46
  };
47
47
  };
48
+ calendarData: {
49
+ publicPlans: { [contentId: string]: Post };
50
+ };
48
51
  }
49
52
  export interface PostWithIndex {
50
53
  [contentId: string]: Post;
@@ -1,6 +1,7 @@
1
1
  export enum mgNativePermissionTitle {
2
2
  LOCATION_FOREGROUND = 'LOCATION_FOREGROUND',
3
3
  LOCATION_BACKGROUND = 'LOCATION_BACKGROUND',
4
+ CALENDAR = 'CALENDAR',
4
5
  CAMERA = 'CAMERA',
5
6
  PHOTO_LIBRARY = 'PHOTO_LIBRARY',
6
7
  CONTACTS = 'CONTACTS',
@@ -14,4 +15,4 @@ export enum mgLocationPermissionTitle {
14
15
  FRIENDS_LOCATION_SHARING_BACKGROUND = 'FRIENDS_LOCATION_SHARING_BACKGROUND',
15
16
  FRIENDS_LOCATION_SHARING_FOREGROUND = 'FRIENDS_LOCATION_SHARING_FOREGROUND',
16
17
  EMERGENCY_LOCATION_SHARING = 'EMERGENCY_LOCATION_SHARING',
17
- }
18
+ }