meemup-library 1.5.19 → 1.5.20
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.
|
@@ -5,6 +5,7 @@ interface IPointOfSaleOrderItem {
|
|
|
5
5
|
productId: number | null;
|
|
6
6
|
bundleId: number | null;
|
|
7
7
|
bundleGroup: string;
|
|
8
|
+
bundleRatio: number;
|
|
8
9
|
title: string;
|
|
9
10
|
quantity: number;
|
|
10
11
|
price: number;
|
|
@@ -28,3 +29,4 @@ interface IPointOfSaleOrderItem {
|
|
|
28
29
|
discount?: number;
|
|
29
30
|
}
|
|
30
31
|
export default IPointOfSaleOrderItem;
|
|
32
|
+
export declare const initPointOfSaleOrderItem: IPointOfSaleOrderItem;
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export const initPointOfSaleOrderItem = {
|
|
2
|
+
id: -1,
|
|
3
|
+
categoryId: -1,
|
|
4
|
+
productId: -1,
|
|
5
|
+
bundleId: null,
|
|
6
|
+
bundleGroup: "",
|
|
7
|
+
bundleRatio: 1,
|
|
8
|
+
title: "",
|
|
9
|
+
quantity: 1,
|
|
10
|
+
price: 0,
|
|
11
|
+
note: "",
|
|
12
|
+
extras: [],
|
|
13
|
+
extrasNames: "",
|
|
14
|
+
totalAmount: 0,
|
|
15
|
+
minOrderQuantity: 1,
|
|
16
|
+
maxOrderQuantity: 99,
|
|
17
|
+
imageUrl: "",
|
|
18
|
+
relatedItemId: null,
|
|
19
|
+
relatedProductId: null,
|
|
20
|
+
additionalText: "",
|
|
21
|
+
promotionItem: false,
|
|
22
|
+
promotionId: -1,
|
|
23
|
+
stampCardBonusItem: false,
|
|
24
|
+
taxable: false,
|
|
25
|
+
productName: "",
|
|
26
|
+
tags: []
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.20",
|
|
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.20\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|