meemup-library 1.0.74 → 1.0.76
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/controllers/ProductModalController.d.ts +1 -1
- package/dist/interfaces/IPaymentStatusChanged.d.ts +2 -2
- package/dist/interfaces/IProductModalState.d.ts +1 -1
- package/dist/interfaces/ISaveOrder.d.ts +1 -1
- package/dist/interfaces/order/IOrder.d.ts +2 -2
- package/dist/statics.d.ts +4 -0
- package/dist/statics.js +4 -0
- package/dist/types/TBaseExtra.d.ts +2 -1
- package/dist/types/TOrderPayStatus.d.ts +2 -0
- package/dist/types/TOrderPayStatus.js +1 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import ISelectedProductExtra from "../interfaces/ISelectedProductExtra";
|
|
|
5
5
|
import ITextValue from "../interfaces/ITextValue";
|
|
6
6
|
import IDExtraItem from "../interfaces/database/IDExtraItem";
|
|
7
7
|
import IDExtra from "../interfaces/database/IDExtra";
|
|
8
|
-
import
|
|
8
|
+
import TBaseExtra from "../types/TBaseExtra";
|
|
9
9
|
import IOrderItem from "../interfaces/order/IOrderItem";
|
|
10
10
|
import IDProduct from "../interfaces/database/IDProduct";
|
|
11
11
|
import IProduct from "../interfaces/IProduct";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import TOrderPayStatus from "../types/TOrderPayStatus";
|
|
2
2
|
interface IPaymentStatusChanged {
|
|
3
3
|
message: string;
|
|
4
|
-
status:
|
|
4
|
+
status: TOrderPayStatus;
|
|
5
5
|
paymentToken: string;
|
|
6
6
|
}
|
|
7
7
|
export default IPaymentStatusChanged;
|
|
@@ -4,7 +4,7 @@ import EnumOrderType from "../../enums/EnumOrderType";
|
|
|
4
4
|
import EnumTipType from "../../enums/EnumTipType";
|
|
5
5
|
import IOrderItem from "./IOrderItem";
|
|
6
6
|
import EnumPaymentType from "../../enums/EnumPaymentType";
|
|
7
|
-
import
|
|
7
|
+
import TOrderPayStatus from "../../types/TOrderPayStatus";
|
|
8
8
|
import EnumPaymentState from "../../enums/EnumPaymentState";
|
|
9
9
|
import ICalculateFeeResult from "../ICalculateFeeResult";
|
|
10
10
|
import IOrderDetails from "../print/IOrderDetails";
|
|
@@ -64,7 +64,7 @@ interface IOrder {
|
|
|
64
64
|
sync: boolean;
|
|
65
65
|
paymentToken: string;
|
|
66
66
|
deviceId: string | null;
|
|
67
|
-
status:
|
|
67
|
+
status: TOrderPayStatus;
|
|
68
68
|
message: string;
|
|
69
69
|
onlyForPayment: boolean;
|
|
70
70
|
displayOnKitchenDisplay: boolean;
|
package/dist/statics.d.ts
CHANGED
|
@@ -32,3 +32,7 @@ export declare const KDS_SIGNALR: {
|
|
|
32
32
|
informationChanged: string;
|
|
33
33
|
};
|
|
34
34
|
export declare const REFRESH_TOKEN_EVERY_MINUTE = 60;
|
|
35
|
+
export declare const FIND_STAR_MICRONIC_PRINTER_TIMEOUT_POST_NAME = " Sec";
|
|
36
|
+
export declare const DASHBOARD_ITEM_MINIMUM_WITH = 300;
|
|
37
|
+
export declare const TOKEN_REFRESH_AFTER_THIS_AMOUNT_OF_MINUTE = 60;
|
|
38
|
+
export declare const SIGNALR_AUTO_RECONNECT_TIMES_ARRAY: number[];
|
package/dist/statics.js
CHANGED
|
@@ -34,3 +34,7 @@ export const KDS_SIGNALR = {
|
|
|
34
34
|
informationChanged: "InformationChanged"
|
|
35
35
|
};
|
|
36
36
|
export const REFRESH_TOKEN_EVERY_MINUTE = 60;
|
|
37
|
+
export const FIND_STAR_MICRONIC_PRINTER_TIMEOUT_POST_NAME = " Sec";
|
|
38
|
+
export const DASHBOARD_ITEM_MINIMUM_WITH = 300;
|
|
39
|
+
export const TOKEN_REFRESH_AFTER_THIS_AMOUNT_OF_MINUTE = 60;
|
|
40
|
+
export const SIGNALR_AUTO_RECONNECT_TIMES_ARRAY = [20000, 40000, 60000, 80000, 100000, 120000];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import ISelectedProductExtra from "../interfaces/ISelectedProductExtra";
|
|
2
2
|
import IDExtra from "../interfaces/database/IDExtra";
|
|
3
|
-
|
|
3
|
+
type TBaseExtra = [ISelectedProductExtra | undefined, IDExtra | undefined];
|
|
4
|
+
export default TBaseExtra;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|