@ikas/storefront-providers 5.0.0-beta.28 → 5.0.0-beta.29
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/build/models/prop-value/attribute-list.d.ts +1 -1
- package/build/models/prop-value/attribute.d.ts +1 -1
- package/build/models/prop-value/blog-category-list.d.ts +1 -1
- package/build/models/prop-value/blog-category.d.ts +1 -1
- package/build/models/prop-value/blog-list.d.ts +1 -1
- package/build/models/prop-value/blog.d.ts +1 -1
- package/build/models/prop-value/brand-list.d.ts +1 -1
- package/build/models/prop-value/category-list.d.ts +1 -1
- package/build/models/prop-value/category.d.ts +1 -1
- package/build/models/prop-value/image.d.ts +1 -1
- package/build/models/prop-value/link.d.ts +1 -1
- package/build/models/prop-value/product-list.d.ts +2 -2
- package/build/models/prop-value/product.d.ts +1 -1
- package/build/models/prop-value/raffle-list.d.ts +1 -1
- package/build/models/prop-value/raffle.d.ts +1 -1
- package/build/models/ui/blog-category-list/index.d.ts +1 -1
- package/build/models/ui/blog-list/index.d.ts +1 -1
- package/build/models/ui/brand-list/index.d.ts +1 -1
- package/build/models/ui/category-list/index.d.ts +1 -1
- package/build/models/ui/component-renderer/index.d.ts +2 -2
- package/build/models/ui/customer-review-list/index.d.ts +1 -1
- package/build/models/ui/customer-review-summary-list/index.d.ts +1 -1
- package/build/models/ui/navigation-link/index.d.ts +1 -1
- package/build/models/ui/product-attribute-detail/index.d.ts +1 -1
- package/build/models/ui/product-attribute-list/index.d.ts +1 -1
- package/build/models/ui/product-list/index.d.ts +3 -3
- package/build/models/ui/raffle-list/index.d.ts +1 -1
- package/build/providers/prop-value/link.d.ts +2 -2
- package/build/providers/prop-value/product-list.d.ts +2 -2
- package/build/providers/types.d.ts +12 -12
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IkasBlogCategoryListType } from "../ui";
|
|
2
|
-
export
|
|
2
|
+
export type IkasBlogCategoryListPropValue = {
|
|
3
3
|
blogCategoryListType: IkasBlogCategoryListType;
|
|
4
4
|
initialLimit?: number | null;
|
|
5
5
|
blogCategoryIds?: string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IkasCategoryListSortType, IkasCategoryListType } from "../ui";
|
|
2
|
-
export
|
|
2
|
+
export type IkasCategoryListPropValue = {
|
|
3
3
|
categoryListType: IkasCategoryListType;
|
|
4
4
|
initialSort?: IkasCategoryListSortType | null;
|
|
5
5
|
initialLimit?: number | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IkasProductListSortType, IkasProductListType, IkasRelatedProductsType } from "../ui";
|
|
2
|
-
export
|
|
2
|
+
export type IkasProductListPropValue = {
|
|
3
3
|
id: string;
|
|
4
4
|
productListType: IkasProductListType;
|
|
5
5
|
initialSort?: IkasProductListSortType | null;
|
|
@@ -10,7 +10,7 @@ export declare type IkasProductListPropValue = {
|
|
|
10
10
|
category?: string | null;
|
|
11
11
|
relatedProductsType?: IkasRelatedProductsType | null;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
type IkasProductVariantId = {
|
|
14
14
|
productId: string;
|
|
15
15
|
variantId: string;
|
|
16
16
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IkasBlogCategory } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasBlogCategoryListPropValue } from "../../prop-value/blog-category-list";
|
|
3
|
-
export
|
|
3
|
+
export type IkasBlogCategoryList = {
|
|
4
4
|
data: IkasBlogCategory[];
|
|
5
5
|
type: IkasBlogCategoryListType;
|
|
6
6
|
limit: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IkasBrand } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasBrandListPropValue } from "../../prop-value/brand-list";
|
|
3
|
-
export
|
|
3
|
+
export type IkasBrandList = {
|
|
4
4
|
data: IkasBrand[];
|
|
5
5
|
type: IkasBrandListType;
|
|
6
6
|
sort: IkasBrandListSortType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IkasCategory } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasCategoryListPropValue } from "../../prop-value/category-list";
|
|
3
|
-
export
|
|
3
|
+
export type IkasCategoryList = {
|
|
4
4
|
data: IkasCategory[];
|
|
5
5
|
type: IkasCategoryListType;
|
|
6
6
|
sort: IkasCategoryListSortType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IkasProduct } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasAttributePropValue } from "../../prop-value/attribute";
|
|
3
|
-
export
|
|
3
|
+
export type IkasProductAttributeDetail = {
|
|
4
4
|
productDetail: IkasProduct | null;
|
|
5
5
|
attributePropValue: IkasAttributePropValue;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IkasProduct } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasAttributeListPropValue } from "../../prop-value/attribute-list";
|
|
3
|
-
export
|
|
3
|
+
export type IkasAttributeList = {
|
|
4
4
|
productDetail: IkasProduct | null;
|
|
5
5
|
attributeListPropValue: IkasAttributeListPropValue;
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IkasBrand, IkasCategory, IkasFilterCategory, IkasProduct, IkasProductFilter, IkasThemeJsonPageType } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasRelatedProductProps, IkasViewedTogetherProductProps } from "../../../providers/prop-value/product-list";
|
|
3
3
|
import { IkasProductListPropValue } from "../../prop-value/product-list";
|
|
4
|
-
export
|
|
4
|
+
export type IkasProductList = {
|
|
5
5
|
data: IkasProduct[];
|
|
6
6
|
filters: IkasProductFilter[] | null;
|
|
7
7
|
filterCategories?: IkasFilterCategory[] | null;
|
|
@@ -55,11 +55,11 @@ export declare enum IkasProductSearchShowStockOption {
|
|
|
55
55
|
SHOW_ALL = "SHOW_ALL",
|
|
56
56
|
SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
|
|
57
57
|
}
|
|
58
|
-
export
|
|
58
|
+
export type Facet = {
|
|
59
59
|
id: string;
|
|
60
60
|
values: FacetValue[];
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export type FacetValue = {
|
|
63
63
|
id: string;
|
|
64
64
|
count: number;
|
|
65
65
|
};
|
|
@@ -2,8 +2,8 @@ import { IkasThemeJson } from "@ikas/storefront-models";
|
|
|
2
2
|
import IkasPropValueProvider from ".";
|
|
3
3
|
import { IkasLinkPropValue } from "../../models/prop-value/link";
|
|
4
4
|
import { IkasNavigationLink } from "../../models/ui";
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type IkasLinkMetaDataType = "DEFAULT" | "BLOG" | "RAFFLE";
|
|
6
|
+
export type IkasLinkMetaDataTargetId = {
|
|
7
7
|
type: IkasLinkMetaDataType;
|
|
8
8
|
id: string;
|
|
9
9
|
navigationLink: NavigationLink;
|
|
@@ -2,12 +2,12 @@ import { IkasThemeJsonPageType } from "@ikas/storefront-models";
|
|
|
2
2
|
import IkasPropValueProvider from ".";
|
|
3
3
|
import { IkasProductListPropValue } from "../../models/prop-value/product-list";
|
|
4
4
|
import { IkasProductList } from "../../models/ui";
|
|
5
|
-
export
|
|
5
|
+
export type IkasRelatedProductProps = {
|
|
6
6
|
brandIds: string[] | null;
|
|
7
7
|
categoryIds: string[] | null;
|
|
8
8
|
productId: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type IkasViewedTogetherProductProps = {
|
|
11
11
|
productIds: string[];
|
|
12
12
|
};
|
|
13
13
|
export declare class IkasProductListPropValueProvider implements IkasPropValueProvider<IkasProductList> {
|
|
@@ -13,54 +13,54 @@ export declare class IkasPageComponentPropValue {
|
|
|
13
13
|
propValues: Record<string, any>;
|
|
14
14
|
constructor(data: IkasPageComponentPropValue);
|
|
15
15
|
}
|
|
16
|
-
export
|
|
16
|
+
export type IkasSimplePageComponentPropValue = {
|
|
17
17
|
pageComponent: {
|
|
18
18
|
id: string;
|
|
19
19
|
componentId: string;
|
|
20
20
|
};
|
|
21
21
|
propValues: Record<string, any>;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type IkasAttributeListPropValueData = {
|
|
24
24
|
productDetail: IkasProduct | null;
|
|
25
25
|
attributeListPropValue: IkasAttributeListPropValue;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type IkasAttributePropValueData = {
|
|
28
28
|
productDetail: IkasProductPropValueProduct | null;
|
|
29
29
|
attributePropValue: IkasAttributePropValue;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type IkasBlogCategoryPropValueData = {
|
|
32
32
|
blogCategory: IkasBlogCategory | null;
|
|
33
33
|
blogCategoryPropValue: IkasBlogCategoryPropValue;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type IkasBlogPropValueData = {
|
|
36
36
|
blog: IkasBlog | null;
|
|
37
37
|
blogPropValue: IkasBlogPropValue;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type IkasBrandPropValueData = {
|
|
40
40
|
brand: IkasBrand | null;
|
|
41
41
|
brandPropValue: IkasBrandPropValue;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type IkasCategoryPropValueData = {
|
|
44
44
|
category: IkasCategory | null;
|
|
45
45
|
categoryPropValue: IkasCategoryPropValue;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type IkasCustomDataPropValueData = {
|
|
48
48
|
value: any;
|
|
49
49
|
customDataId: string;
|
|
50
50
|
};
|
|
51
|
-
export
|
|
51
|
+
export type IkasProductPropValueProduct = {
|
|
52
52
|
productOptionSet?: IkasProductOptionSet | null;
|
|
53
53
|
selectedVariantValues?: IkasVariantValue[] | null;
|
|
54
54
|
} & IkasProduct;
|
|
55
|
-
export
|
|
55
|
+
export type IkasProductPropValueData = {
|
|
56
56
|
productDetailPropValue: IkasProductPropValue;
|
|
57
57
|
productDetail: IkasProductPropValueProduct | null;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type IkasRafflePropValueData = {
|
|
60
60
|
raffle: IkasRaffle | null;
|
|
61
61
|
rafflePropValue: IkasRafflePropValue;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export type IkasSliderPropValueData = {
|
|
64
64
|
value: number;
|
|
65
65
|
unit: string | null;
|
|
66
66
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-providers",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.29",
|
|
4
4
|
"description": "Data providers for ikas storefront theme components.",
|
|
5
5
|
"author": "ikas",
|
|
6
6
|
"license": "ISC",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"build": "rm -rf build && rollup -c"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"next": "
|
|
20
|
+
"next": "13.3.0",
|
|
21
21
|
"mobx": "^6.1.3",
|
|
22
|
-
"@ikas/storefront-api": "^5.0.0-beta.
|
|
23
|
-
"@ikas/storefront-config": "^5.0.0-beta.
|
|
24
|
-
"@ikas/storefront-model-functions": "^5.0.0-beta.
|
|
25
|
-
"@ikas/storefront-models": "^5.0.0-beta.
|
|
22
|
+
"@ikas/storefront-api": "^5.0.0-beta.29",
|
|
23
|
+
"@ikas/storefront-config": "^5.0.0-beta.29",
|
|
24
|
+
"@ikas/storefront-model-functions": "^5.0.0-beta.29",
|
|
25
|
+
"@ikas/storefront-models": "^5.0.0-beta.29",
|
|
26
26
|
"lodash": "^4.17.21"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^4.7.2",
|
|
30
30
|
"@types/lodash": "^4.14.168",
|
|
31
|
-
"@types/react": "
|
|
31
|
+
"@types/react": "18.0.33"
|
|
32
32
|
}
|
|
33
33
|
}
|