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 +1 -1
- package/types/Configuration.ts +5 -2
package/package.json
CHANGED
package/types/Configuration.ts
CHANGED
|
@@ -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
|
-
|
|
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 };
|