meemup-library 2.1.1 → 2.1.3

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.
@@ -2,6 +2,7 @@ declare enum EnumCategoriesViewMode {
2
2
  Grid = 0,
3
3
  DragableGrid = 1,
4
4
  DragDrop = 2,
5
- List = 3
5
+ List = 3,
6
+ Group = 4
6
7
  }
7
8
  export default EnumCategoriesViewMode;
@@ -4,5 +4,6 @@ var EnumCategoriesViewMode;
4
4
  EnumCategoriesViewMode[EnumCategoriesViewMode["DragableGrid"] = 1] = "DragableGrid";
5
5
  EnumCategoriesViewMode[EnumCategoriesViewMode["DragDrop"] = 2] = "DragDrop";
6
6
  EnumCategoriesViewMode[EnumCategoriesViewMode["List"] = 3] = "List";
7
+ EnumCategoriesViewMode[EnumCategoriesViewMode["Group"] = 4] = "Group";
7
8
  })(EnumCategoriesViewMode || (EnumCategoriesViewMode = {}));
8
9
  export default EnumCategoriesViewMode;
@@ -99,6 +99,10 @@ interface IPointOfSaleLocalSetting {
99
99
  orderedCategoryIds: number[];
100
100
  rowGap: number;
101
101
  columnGap: number;
102
+ groupMappings: {
103
+ categoryId: number;
104
+ groupTitle: string;
105
+ }[];
102
106
  };
103
107
  }
104
108
  export default IPointOfSaleLocalSetting;
@@ -90,5 +90,6 @@ export const initPointOfSaleLocalSetting = {
90
90
  orderedCategoryIds: [],
91
91
  rowGap: 16,
92
92
  columnGap: 16,
93
+ groupMappings: []
93
94
  }
94
95
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.2.1.1\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.2.1.3\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"