mgtypes 1.0.41 → 1.0.43

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.41",
3
+ "version": "1.0.43",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -347,7 +347,8 @@ export interface mgPermissionsProfile {
347
347
  NATIVE_PERMISSIONS: {
348
348
  LOCATION_FOREGROUND: { isRequired: boolean; requestOnInit: boolean };
349
349
  LOCATION_BACKGROUND: { isRequired: boolean; requestOnInit: boolean };
350
- PHOTO_LIBRARY: { isRequired: boolean; requestOnInit: boolean };
350
+ MEDIA_LIBRARY: { isRequired: boolean; requestOnInit: boolean };
351
+ REMINDERS: { isRequired: boolean; requestOnInit: boolean };
351
352
  CAMERA: { isRequired: boolean; requestOnInit: boolean };
352
353
  MICROPHONE: { isRequired: boolean; requestOnInit: boolean };
353
354
  CONTACTS: { isRequired: boolean; requestOnInit: boolean };
@@ -2,8 +2,9 @@ export enum mgNativePermissionTitle {
2
2
  LOCATION_FOREGROUND = 'LOCATION_FOREGROUND',
3
3
  LOCATION_BACKGROUND = 'LOCATION_BACKGROUND',
4
4
  CALENDAR = 'CALENDAR',
5
+ REMINDERS = 'REMINDERS',
5
6
  CAMERA = 'CAMERA',
6
- PHOTO_LIBRARY = 'PHOTO_LIBRARY',
7
+ MEDIA_LIBRARY = 'MEDIA_LIBRARY',
7
8
  CONTACTS = 'CONTACTS',
8
9
  MICROPHONE = 'MICROPHONE',
9
10
  }
@@ -30,8 +31,9 @@ export const nativePermissionsOrder: mgNativePermissionTitle[] = [
30
31
  mgNativePermissionTitle.LOCATION_FOREGROUND,
31
32
  mgNativePermissionTitle.LOCATION_BACKGROUND,
32
33
  mgNativePermissionTitle.CALENDAR,
34
+ mgNativePermissionTitle.REMINDERS,
33
35
  mgNativePermissionTitle.CAMERA,
34
- mgNativePermissionTitle.PHOTO_LIBRARY,
36
+ mgNativePermissionTitle.MEDIA_LIBRARY,
35
37
  mgNativePermissionTitle.MICROPHONE,
36
38
  mgNativePermissionTitle.CONTACTS,
37
39
  ];