meemup-library 1.6.0 → 1.6.2

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.
@@ -0,0 +1,5 @@
1
+ declare enum PosOrderDisplayType {
2
+ DisplayTable = 0,
3
+ DisplayGrid = 1
4
+ }
5
+ export default PosOrderDisplayType;
@@ -0,0 +1,6 @@
1
+ var PosOrderDisplayType;
2
+ (function (PosOrderDisplayType) {
3
+ PosOrderDisplayType[PosOrderDisplayType["DisplayTable"] = 0] = "DisplayTable";
4
+ PosOrderDisplayType[PosOrderDisplayType["DisplayGrid"] = 1] = "DisplayGrid";
5
+ })(PosOrderDisplayType || (PosOrderDisplayType = {}));
6
+ export default PosOrderDisplayType;
@@ -1,3 +1,4 @@
1
+ import PosOrderDisplayType from "../../enums/enum-pos-order-display-type";
1
2
  import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
2
3
  import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
3
4
  import EnumNotifyOnlineStoreNewOrder from "../../enums/EnumNotifyOnlineStoreNewOrder";
@@ -75,6 +76,7 @@ interface IPointOfSaleLocalSetting {
75
76
  cashDrawers: IPointOfSaleLocalSettingCashDrawer[];
76
77
  defaultCashDrawerId: number | null;
77
78
  useSignalRAuth: boolean;
79
+ orderDisplayType: PosOrderDisplayType;
78
80
  }
79
81
  export default IPointOfSaleLocalSetting;
80
82
  export declare const initPointOfSaleLocalSetting: IPointOfSaleLocalSetting;
@@ -1,3 +1,4 @@
1
+ import PosOrderDisplayType from "../../enums/enum-pos-order-display-type";
1
2
  import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
2
3
  import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
3
4
  import EnumNotifyOnlineStoreNewOrder from "../../enums/EnumNotifyOnlineStoreNewOrder";
@@ -74,4 +75,5 @@ export const initPointOfSaleLocalSetting = {
74
75
  cashDrawers: [],
75
76
  defaultCashDrawerId: null,
76
77
  useSignalRAuth: false,
78
+ orderDisplayType: PosOrderDisplayType.DisplayGrid
77
79
  };
@@ -2,7 +2,7 @@ import { CourierInfoDto } from "./courier-info.dto";
2
2
  export default interface CourierAcceptedOrderDto {
3
3
  orderId: number;
4
4
  orderNumber: number;
5
- courierInfoDto: CourierInfoDto;
5
+ courier: CourierInfoDto;
6
6
  time: string;
7
7
  message: string;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
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.6.0\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.6.2\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"