mgtypes 1.0.53 → 1.0.54

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.53",
3
+ "version": "1.0.54",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -415,48 +415,48 @@ export interface mgPermissionsProfile {
415
415
  // even bother showing it
416
416
  LOCATION: {
417
417
  SHOW_LOCATION: { canToggle: boolean; default: boolean }; // blue dot
418
- SHOW_DISTANCE_FROM_PINS: { canToggle: boolean; default: boolean };
418
+ SHOW_DISTANCE_TO_PINS: { canToggle: boolean; default: boolean };
419
419
  // user coordinate are sent to server
420
- LOCATION_TARGETED_CONTENT: { canToggle: boolean; default: boolean };
420
+ ENABLE_GEOTARGETED_CONTENT: { canToggle: boolean; default: boolean };
421
421
  // shares location with friends when using the app
422
- FRIENDS_LOCATION_SHARING_FOREGROUND: {
422
+ SHARE_FOREGROUND_LOCATION_WITH_FRIENDS: {
423
423
  canToggle: boolean;
424
424
  default: boolean;
425
425
  };
426
426
  // shares location with friends when not using the app
427
- FRIENDS_LOCATION_SHARING_BACKGROUND: {
427
+ SHARE_BACKGROUND_LOCATION_WITH_FRIENDS: {
428
428
  canToggle: boolean;
429
429
  default: boolean;
430
430
  };
431
431
  // requires both foreground and background location tracking
432
- EMERGENCY_LOCATION_SHARING: { canToggle: boolean; default: boolean };
432
+ SHARE_LOCATIONS_FOR_EMERGENCIES: { canToggle: boolean; default: boolean };
433
433
  };
434
434
 
435
435
  CALENDAR: {
436
- CREATE_EVENTS: {
436
+ ENABLE_CREATE_EVENTS: {
437
437
  canToggle: boolean;
438
438
  default: boolean;
439
439
  };
440
- CREATE_REMINDERS: {
440
+ ENABLE_CREATE_REMINDERS: {
441
441
  canToggle: boolean;
442
442
  default: boolean;
443
443
  };
444
- ADD_ATTENDEES: {
444
+ ENABLE_ADD_ATTENDEES: {
445
445
  canToggle: boolean;
446
446
  default: boolean;
447
447
  };
448
448
  };
449
449
 
450
450
  NOTIFICATIONS: {
451
- ALLOW_FOR_RSVPS: {
451
+ RECEIVE_RSVP_NOTIFICATIONS: {
452
452
  canToggle: boolean;
453
453
  default: boolean;
454
454
  };
455
- ALLOW_FOR_UPDATES: {
455
+ RECEIVE_EVENT_NEWS_NOTIFICATIONS: {
456
456
  canToggle: boolean;
457
457
  default: boolean;
458
458
  };
459
- ALLOW_FOR_MARKETING: {
459
+ RECEIVE_MARKETING_NOTIFICATIONS: {
460
460
  canToggle: boolean;
461
461
  default: boolean;
462
462
  };
@@ -25,7 +25,7 @@ export enum mgLocationPermissionTitle {
25
25
  export enum mgCalendarPermissionTitle {
26
26
  ENABLE_CREATE_EVENTS = 'ENABLE_CREATE_EVENTS',
27
27
  ENABLE_CREATE_REMINDERS = 'ENABLE_CREATE_REMINDERS',
28
- ENABLE_CREATE_ATTENDEES = 'ENABLE_CREATE_ATTENDEES',
28
+ ENABLE_ADD_ATTENDEES = 'ENABLE_ADD_ATTENDEES',
29
29
  }
30
30
 
31
31
  export enum mgNotificationsPermissionTitle {
@@ -57,7 +57,7 @@ export const locationPermissionsOrder: mgLocationPermissionTitle[] = [
57
57
  export const calendarPermissionsOrder: mgCalendarPermissionTitle[] = [
58
58
  mgCalendarPermissionTitle.ENABLE_CREATE_EVENTS,
59
59
  mgCalendarPermissionTitle.ENABLE_CREATE_REMINDERS,
60
- mgCalendarPermissionTitle.ENABLE_CREATE_ATTENDEES,
60
+ mgCalendarPermissionTitle.ENABLE_ADD_ATTENDEES,
61
61
  ];
62
62
 
63
63
  export const notificationsPermissionsOrder: mgNotificationsPermissionTitle[] = [