shopoflex-types 1.0.37 → 1.0.39
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/types/common.d.ts +5 -3
- package/dist/types/common.js +0 -19
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -137,9 +137,11 @@ export interface Modifier {
|
|
|
137
137
|
maxSelect?: number;
|
|
138
138
|
minSelect?: number;
|
|
139
139
|
active?: boolean;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
addons?: {
|
|
141
|
+
addonId: AddonType | any;
|
|
142
|
+
enableQuantity?: boolean;
|
|
143
|
+
priceOverride?: number;
|
|
144
|
+
}[];
|
|
143
145
|
}
|
|
144
146
|
export interface Category {
|
|
145
147
|
_id: string;
|
package/dist/types/common.js
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderStatus = exports.TemplateId = void 0;
|
|
4
|
-
var TemplateId;
|
|
5
|
-
(function (TemplateId) {
|
|
6
|
-
TemplateId["TEMPLATE_1"] = "template_1";
|
|
7
|
-
TemplateId["TEMPLATE_2"] = "template_2";
|
|
8
|
-
TemplateId["TEMPLATE_3"] = "template_3";
|
|
9
|
-
TemplateId["TEMPLATE_4"] = "template_4";
|
|
10
|
-
TemplateId["TEMPLATE_5"] = "template_5";
|
|
11
|
-
})(TemplateId || (exports.TemplateId = TemplateId = {}));
|
|
12
|
-
var OrderStatus;
|
|
13
|
-
(function (OrderStatus) {
|
|
14
|
-
OrderStatus["Pending"] = "pending";
|
|
15
|
-
OrderStatus["Cancelled"] = "cancelled";
|
|
16
|
-
OrderStatus["Rejected"] = "rejected";
|
|
17
|
-
OrderStatus["Refunded"] = "refunded";
|
|
18
|
-
OrderStatus["Preparing"] = "preparing";
|
|
19
|
-
OrderStatus["Delivering"] = "delivering";
|
|
20
|
-
OrderStatus["Completed"] = "completed";
|
|
21
|
-
})(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
|