meemup-library 1.8.6 → 1.8.8
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/dist/enums/enum-driver-notification.d.ts +7 -0
- package/dist/enums/enum-driver-notification.js +8 -0
- package/dist/interfaces/pos/IPointOfSaleLocalSetting.d.ts +4 -0
- package/dist/interfaces/pos/IPointOfSaleLocalSetting.js +5 -1
- package/dist/interfaces/pos/IPointOfSaleOrderSummary.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var EnumDriverNotification;
|
|
2
|
+
(function (EnumDriverNotification) {
|
|
3
|
+
EnumDriverNotification[EnumDriverNotification["Silent"] = 0] = "Silent";
|
|
4
|
+
EnumDriverNotification[EnumDriverNotification["NotifyOnly"] = 1] = "NotifyOnly";
|
|
5
|
+
EnumDriverNotification[EnumDriverNotification["NotifyAndOnceAlarm"] = 2] = "NotifyAndOnceAlarm";
|
|
6
|
+
EnumDriverNotification[EnumDriverNotification["NotifyAndRepeatAlarm"] = 3] = "NotifyAndRepeatAlarm";
|
|
7
|
+
})(EnumDriverNotification || (EnumDriverNotification = {}));
|
|
8
|
+
export default EnumDriverNotification;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import EnumDineInLandingMode from "../../enums/enum-dine-in-landing-mode";
|
|
2
|
+
import EnumDriverNotification from "../../enums/enum-driver-notification";
|
|
2
3
|
import PosOrderDisplayType from "../../enums/enum-pos-order-display-type";
|
|
3
4
|
import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
|
|
4
5
|
import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
|
|
@@ -79,6 +80,9 @@ interface IPointOfSaleLocalSetting {
|
|
|
79
80
|
defaultCashDrawerId: number | null;
|
|
80
81
|
useSignalRAuth: boolean;
|
|
81
82
|
orderDisplayType: PosOrderDisplayType;
|
|
83
|
+
onCourierOrderAccepted: EnumDriverNotification;
|
|
84
|
+
onCourierApproaching: EnumDriverNotification;
|
|
85
|
+
onCourierReachedDestination: EnumDriverNotification;
|
|
82
86
|
}
|
|
83
87
|
export default IPointOfSaleLocalSetting;
|
|
84
88
|
export declare const initPointOfSaleLocalSetting: IPointOfSaleLocalSetting;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import EnumDineInLandingMode from "../../enums/enum-dine-in-landing-mode";
|
|
2
|
+
import EnumDriverNotification from "../../enums/enum-driver-notification";
|
|
2
3
|
import PosOrderDisplayType from "../../enums/enum-pos-order-display-type";
|
|
3
4
|
import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
|
|
4
5
|
import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
|
|
@@ -77,5 +78,8 @@ export const initPointOfSaleLocalSetting = {
|
|
|
77
78
|
cashDrawers: [],
|
|
78
79
|
defaultCashDrawerId: null,
|
|
79
80
|
useSignalRAuth: false,
|
|
80
|
-
orderDisplayType: PosOrderDisplayType.DisplayGrid
|
|
81
|
+
orderDisplayType: PosOrderDisplayType.DisplayGrid,
|
|
82
|
+
onCourierOrderAccepted: EnumDriverNotification.NotifyAndRepeatAlarm,
|
|
83
|
+
onCourierApproaching: EnumDriverNotification.NotifyAndRepeatAlarm,
|
|
84
|
+
onCourierReachedDestination: EnumDriverNotification.NotifyAndRepeatAlarm,
|
|
81
85
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.8",
|
|
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.8.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.8.8\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|