@shopby/shop-sdk 1.10.0 → 1.10.1

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.
@@ -13,7 +13,7 @@ export interface ProductOption extends ProductOptionBase {
13
13
  images: ProductOptionImage[];
14
14
  saleType: OptionSaleType;
15
15
  main: boolean;
16
- addPrice: 10000;
16
+ addPrice: number;
17
17
  rentalInfo: RentalInfo[];
18
18
  saleCnt: number;
19
19
  reservationStockCnt: number;
@@ -22,11 +22,12 @@ export interface ProductOption extends ProductOptionBase {
22
22
  optionNo: number;
23
23
  forcedSoldOut: boolean;
24
24
  }
25
- interface ProductNestingOption extends ProductOption {
26
- children: ProductOption;
25
+ export interface ProductNestedOpiton extends ProductOption {
26
+ children: ProductNestedOpiton[] | null;
27
27
  }
28
28
  export declare type ProductFlatOption = ProductOption;
29
- export interface ProductMultiLevelOption extends ProductOptionBase, ProductNestingOption {
29
+ export interface ProductMultiLevelOption extends ProductOptionBase {
30
+ children: (ProductMultiLevelOption | ProductNestedOpiton)[] | null;
30
31
  }
31
32
  export interface ProductOptionInput {
32
33
  inputMatchingType: OptionInputMatchingType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",