mgtypes 1.0.32 → 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.32",
3
+ "version": "1.0.34",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -281,7 +281,7 @@ interface mgProfileConfig {
281
281
  MAP_FILTERS: mgMapFiltersProfile;
282
282
  }
283
283
 
284
- interface mgPermissionsProfile {
284
+ export interface mgPermissionsProfile {
285
285
  CONTENT_CREATION: {
286
286
  comment: boolean;
287
287
  photo: {
@@ -313,7 +313,7 @@ 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;
@@ -324,9 +324,12 @@ interface mgPermissionsProfile {
324
324
  CAN_SHARE_CONTENT: boolean;
325
325
  CAN_SAVE_CONTENT: boolean;
326
326
  CAN_VOTE: boolean;
327
+ CAN_RSVP: boolean;
327
328
  CAN_ADD_TO_THREAD: boolean;
328
329
  CAN_EMBED_IN_THREAD: boolean;
329
330
  };
331
+ // if a permission is not toggleable and defaults to false, don't
332
+ // even bother showing it
330
333
  LOCATION: {
331
334
  SHOW_LOCATION: { canToggle: boolean; default: boolean }; // blue dot
332
335
  SHOW_DISTANCE_FROM_PINS: { canToggle: boolean; default: boolean };