meemup-library 2.1.2 → 2.1.4

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.
@@ -11,6 +11,7 @@ import EnumPointOfSaleDefaultSaveState from "../../enums/EnumPointOfSaleDefaultS
11
11
  import EnumPrintCommand from "../../enums/EnumPrintCommand";
12
12
  import EnumProductLongPress from "../../enums/EnumProductLongPress";
13
13
  import ITextValue from "../ITextValue";
14
+ import Position from "../position";
14
15
  import IPointOfSaleElavonTerminalDevice from "./IPointOfSaleElavonTerminalDevice";
15
16
  import IPointOfSaleLocalSettingCashDrawer from "./IPointOfSaleLocalSettingCashDrawer";
16
17
  import IPointOfSalePrinterConnections from "./IPointOfSalePrinterConnections";
@@ -99,6 +100,11 @@ interface IPointOfSaleLocalSetting {
99
100
  orderedCategoryIds: number[];
100
101
  rowGap: number;
101
102
  columnGap: number;
103
+ groupMappings: {
104
+ categoryId: number;
105
+ groupTitle: string;
106
+ }[];
107
+ customPositions: Record<string, Position>;
102
108
  };
103
109
  }
104
110
  export default IPointOfSaleLocalSetting;
@@ -90,5 +90,7 @@ export const initPointOfSaleLocalSetting = {
90
90
  orderedCategoryIds: [],
91
91
  rowGap: 16,
92
92
  columnGap: 16,
93
+ groupMappings: [],
94
+ customPositions: {}
93
95
  }
94
96
  };
@@ -0,0 +1,5 @@
1
+ interface Position {
2
+ x: number;
3
+ y: number;
4
+ }
5
+ export default Position;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
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.2\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.2.1.4\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"