mgtypes 1.0.33 → 1.0.34

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.33",
3
+ "version": "1.0.34",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -313,7 +313,7 @@ export interface mgPermissionsProfile {
313
313
  NATIVE_PERMISSIONS: {
314
314
  LOCATION_FOREGROUND: boolean;
315
315
  LOCATION_BACKGROUND: boolean;
316
- PHOTO: boolean;
316
+ PHOTO_LIBRARY: boolean;
317
317
  CAMERA: boolean;
318
318
  MICROPHONE: boolean;
319
319
  CONTACTS: boolean;
@@ -328,6 +328,8 @@ export interface mgPermissionsProfile {
328
328
  CAN_ADD_TO_THREAD: boolean;
329
329
  CAN_EMBED_IN_THREAD: boolean;
330
330
  };
331
+ // if a permission is not toggleable and defaults to false, don't
332
+ // even bother showing it
331
333
  LOCATION: {
332
334
  SHOW_LOCATION: { canToggle: boolean; default: boolean }; // blue dot
333
335
  SHOW_DISTANCE_FROM_PINS: { canToggle: boolean; default: boolean };