meemup-library 1.5.2 → 1.5.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.
|
@@ -2,5 +2,6 @@ var EnumPointOfSaleSettingFeature;
|
|
|
2
2
|
(function (EnumPointOfSaleSettingFeature) {
|
|
3
3
|
EnumPointOfSaleSettingFeature[EnumPointOfSaleSettingFeature["SplitPayment"] = 1] = "SplitPayment";
|
|
4
4
|
EnumPointOfSaleSettingFeature[EnumPointOfSaleSettingFeature["SplitOrder"] = 2] = "SplitOrder";
|
|
5
|
+
EnumPointOfSaleSettingFeature[EnumPointOfSaleSettingFeature["DebetAtPayMethodOptions"] = 3] = "DebetAtPayMethodOptions";
|
|
5
6
|
})(EnumPointOfSaleSettingFeature || (EnumPointOfSaleSettingFeature = {}));
|
|
6
7
|
export default EnumPointOfSaleSettingFeature;
|
|
@@ -17,6 +17,7 @@ import IPointOfSaleLocalSetting from "./IPointOfSaleLocalSetting";
|
|
|
17
17
|
import IPointOfSaleRestaurantTable from "./IPointOfSaleRestaurantTable";
|
|
18
18
|
import IPointOfSaleCashDrawer from "./IPointOfSaleCashDrawer";
|
|
19
19
|
import IManagementSystem from "../management/IManagementSystem";
|
|
20
|
+
import IEmergencyBrake from "../IEmergencyBrake";
|
|
20
21
|
interface IPointOfSaleApiShop {
|
|
21
22
|
ok: boolean;
|
|
22
23
|
products: IProduct[];
|
|
@@ -41,6 +42,7 @@ interface IPointOfSaleApiShop {
|
|
|
41
42
|
cashDrawers: IPointOfSaleCashDrawer[];
|
|
42
43
|
generalSetting: IManagementSystem;
|
|
43
44
|
preOrderCount: number;
|
|
45
|
+
emergencyBrake: IEmergencyBrake;
|
|
44
46
|
}
|
|
45
47
|
export default IPointOfSaleApiShop;
|
|
46
48
|
export declare const initApiShop: IPointOfSaleApiShop;
|
|
@@ -3,6 +3,7 @@ import { initGeneralItems } from "../IGeneralItems";
|
|
|
3
3
|
import { initPointOfSaleSetting } from "./IPointOfSaleSetting";
|
|
4
4
|
import { initPointOfSaleLocalSetting } from "./IPointOfSaleLocalSetting";
|
|
5
5
|
import { initSystem } from "../management/IManagementSystem";
|
|
6
|
+
import { initEmergencyBrake } from "../IEmergencyBrake";
|
|
6
7
|
export const initApiShop = {
|
|
7
8
|
ok: false,
|
|
8
9
|
extras: [],
|
|
@@ -26,5 +27,6 @@ export const initApiShop = {
|
|
|
26
27
|
snoozes: [],
|
|
27
28
|
cashDrawers: [],
|
|
28
29
|
generalSetting: initSystem,
|
|
29
|
-
preOrderCount: 0
|
|
30
|
+
preOrderCount: 0,
|
|
31
|
+
emergencyBrake: initEmergencyBrake
|
|
30
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.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.1.5.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.5.4\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|