@pisell/pisellos 0.0.339 → 0.0.340
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.
|
@@ -292,7 +292,7 @@ export var formatBundle = function formatBundle(bundle) {
|
|
|
292
292
|
options: formatOptions(item === null || item === void 0 ? void 0 : item.option),
|
|
293
293
|
_bundle_product_id: item._bundle_product_id,
|
|
294
294
|
discount_list: item.discount_list,
|
|
295
|
-
originBundleItem: item
|
|
295
|
+
originBundleItem: item.originBundleItem || item
|
|
296
296
|
};
|
|
297
297
|
});
|
|
298
298
|
};
|
|
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
|
|
|
49
49
|
getCategories(): ProductCategory[];
|
|
50
50
|
setOtherParams(key: string, value: any): void;
|
|
51
51
|
getOtherParams(): any;
|
|
52
|
-
getProductType(): "
|
|
52
|
+
getProductType(): "normal" | "duration" | "session";
|
|
53
53
|
}
|
|
@@ -262,7 +262,7 @@ var formatBundle = (bundle) => {
|
|
|
262
262
|
options: formatOptions(item == null ? void 0 : item.option),
|
|
263
263
|
_bundle_product_id: item._bundle_product_id,
|
|
264
264
|
discount_list: item.discount_list,
|
|
265
|
-
originBundleItem: item
|
|
265
|
+
originBundleItem: item.originBundleItem || item
|
|
266
266
|
};
|
|
267
267
|
});
|
|
268
268
|
};
|
|
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
|
|
|
49
49
|
getCategories(): ProductCategory[];
|
|
50
50
|
setOtherParams(key: string, value: any): void;
|
|
51
51
|
getOtherParams(): any;
|
|
52
|
-
getProductType(): "
|
|
52
|
+
getProductType(): "normal" | "duration" | "session";
|
|
53
53
|
}
|