mgtypes 1.0.36 → 1.0.38

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.36",
3
+ "version": "1.0.38",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -80,7 +80,7 @@ export interface mgSpecsConfig {
80
80
  /**
81
81
  * possible buttons in bottom nav and contained in 'MORE' menu
82
82
  */
83
- enum mgNavButton {
83
+ export enum mgNavButton {
84
84
  FEED = 'feed',
85
85
  MAP = 'map',
86
86
  CREATE = 'create',
@@ -351,6 +351,7 @@ export interface mgPermissionsProfile {
351
351
  CAMERA: boolean;
352
352
  MICROPHONE: boolean;
353
353
  CONTACTS: boolean;
354
+ CALENDAR: boolean;
354
355
  };
355
356
  FEATURES: {
356
357
  CAN_HAVE_FRIENDS: boolean;
package/types/Content.ts CHANGED
@@ -42,9 +42,12 @@ export interface AppContent {
42
42
  order: number[];
43
43
  title: string;
44
44
  description: string;
45
- icon:string;
45
+ icon: string;
46
46
  };
47
47
  };
48
+ calendarData: {
49
+ publicPlans: { [contentId: string]: Post };
50
+ };
48
51
  }
49
52
  export interface PostWithIndex {
50
53
  [contentId: string]: Post;