mgtypes 1.0.24 → 1.0.26

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/Content.ts +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types/Content.ts CHANGED
@@ -37,9 +37,13 @@ export interface AppContent {
37
37
  emergencies: Emergency[];
38
38
  };
39
39
  listsData: {
40
- [listId:string]: Post[]
41
- }
42
- // TODO: add lists
40
+ [listId: string]: {
41
+ content: { [contentId: string]: Post };
42
+ order: number[];
43
+ title: string;
44
+ description: string;
45
+ };
46
+ };
43
47
  }
44
48
  export interface PostWithIndex {
45
49
  [contentId: string]: Post;
@@ -255,4 +259,3 @@ export interface Route {
255
259
  link: string;
256
260
  phoneNumber: string;
257
261
  }
258
-