mgtypes 1.0.50 → 1.0.51
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/Content.ts +9 -1
package/package.json
CHANGED
package/types/Content.ts
CHANGED
|
@@ -65,6 +65,14 @@ export interface Post {
|
|
|
65
65
|
userVote?: Vote;
|
|
66
66
|
indent?: number;
|
|
67
67
|
parent?: Post;
|
|
68
|
+
pages?: {
|
|
69
|
+
feed:
|
|
70
|
+
| { main?: number; shared?: number; user?: number; friends?: number }
|
|
71
|
+
| false;
|
|
72
|
+
map: boolean;
|
|
73
|
+
calendar: boolean;
|
|
74
|
+
lists: { [listNumber: number]: number };
|
|
75
|
+
};
|
|
68
76
|
}
|
|
69
77
|
|
|
70
78
|
/**
|
|
@@ -106,7 +114,7 @@ export interface Content {
|
|
|
106
114
|
|
|
107
115
|
/**
|
|
108
116
|
* Covers all different content types
|
|
109
|
-
* (pin, plan, comment, photo) coming in from server
|
|
117
|
+
* (pin, plan, comment, photo, route) coming in from server
|
|
110
118
|
* */
|
|
111
119
|
export interface Contentable {
|
|
112
120
|
id: number;
|