mgtypes 1.0.49 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -237,9 +237,15 @@ export interface mgColorsConfig {
237
237
  inverseSecondary: string;
238
238
  inverseTertiary: string;
239
239
 
240
+ primaryContainerGradient: string;
241
+ secondaryContainerGradient: string;
242
+ tertiaryContainerGradient: string;
243
+
244
+
240
245
  // ORIGINALS
241
246
 
242
247
  primary: string;
248
+ inversePrimary: string;
243
249
  onPrimary: string;
244
250
  primaryContainer: string;
245
251
  onPrimaryContainer: string;
@@ -265,13 +271,14 @@ export interface mgColorsConfig {
265
271
  onSurface: string;
266
272
  surfaceVariant: string;
267
273
  onSurfaceVariant: string;
274
+ inverseSurface: string;
275
+ inverseOnSurface: string;
276
+
268
277
  outline: string;
269
278
  outlineVariant: string;
270
279
  shadow: string;
271
280
  scrim: string;
272
- inverseSurface: string;
273
- inverseOnSurface: string;
274
- inversePrimary: string;
281
+
275
282
  elevation: {
276
283
  level0: string;
277
284
  level1: string;
@@ -280,6 +287,7 @@ export interface mgColorsConfig {
280
287
  level4: string;
281
288
  level5: string;
282
289
  };
290
+
283
291
  surfaceDisabled: string;
284
292
  onSurfaceDisabled: string;
285
293
  backdrop: string;
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;