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.
@@ -137,9 +137,11 @@ export interface Modifier {
137
137
  maxSelect?: number;
138
138
  minSelect?: number;
139
139
  active?: boolean;
140
- options?: AddonType[] | string[];
141
- addons?: AddonType[] | string[];
142
- files?: FileType[];
140
+ addons?: {
141
+ addonId: AddonType | any;
142
+ enableQuantity?: boolean;
143
+ priceOverride?: number;
144
+ }[];
143
145
  }
144
146
  export interface Category {
145
147
  _id: string;
@@ -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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",