@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.
Files changed (31) hide show
  1. package/build/models/prop-value/attribute-list.d.ts +1 -1
  2. package/build/models/prop-value/attribute.d.ts +1 -1
  3. package/build/models/prop-value/blog-category-list.d.ts +1 -1
  4. package/build/models/prop-value/blog-category.d.ts +1 -1
  5. package/build/models/prop-value/blog-list.d.ts +1 -1
  6. package/build/models/prop-value/blog.d.ts +1 -1
  7. package/build/models/prop-value/brand-list.d.ts +1 -1
  8. package/build/models/prop-value/category-list.d.ts +1 -1
  9. package/build/models/prop-value/category.d.ts +1 -1
  10. package/build/models/prop-value/image.d.ts +1 -1
  11. package/build/models/prop-value/link.d.ts +1 -1
  12. package/build/models/prop-value/product-list.d.ts +2 -2
  13. package/build/models/prop-value/product.d.ts +1 -1
  14. package/build/models/prop-value/raffle-list.d.ts +1 -1
  15. package/build/models/prop-value/raffle.d.ts +1 -1
  16. package/build/models/ui/blog-category-list/index.d.ts +1 -1
  17. package/build/models/ui/blog-list/index.d.ts +1 -1
  18. package/build/models/ui/brand-list/index.d.ts +1 -1
  19. package/build/models/ui/category-list/index.d.ts +1 -1
  20. package/build/models/ui/component-renderer/index.d.ts +2 -2
  21. package/build/models/ui/customer-review-list/index.d.ts +1 -1
  22. package/build/models/ui/customer-review-summary-list/index.d.ts +1 -1
  23. package/build/models/ui/navigation-link/index.d.ts +1 -1
  24. package/build/models/ui/product-attribute-detail/index.d.ts +1 -1
  25. package/build/models/ui/product-attribute-list/index.d.ts +1 -1
  26. package/build/models/ui/product-list/index.d.ts +3 -3
  27. package/build/models/ui/raffle-list/index.d.ts +1 -1
  28. package/build/providers/prop-value/link.d.ts +2 -2
  29. package/build/providers/prop-value/product-list.d.ts +2 -2
  30. package/build/providers/types.d.ts +12 -12
  31. package/package.json +7 -7
@@ -1,4 +1,4 @@
1
- export declare type IkasAttributeListPropValue = {
1
+ export type IkasAttributeListPropValue = {
2
2
  attributeIds?: string[] | null;
3
3
  productId?: string | null;
4
4
  variantId?: string | null;
@@ -1,4 +1,4 @@
1
- export declare type IkasAttributePropValue = {
1
+ export type IkasAttributePropValue = {
2
2
  attributeId?: string | null;
3
3
  productId?: string | null;
4
4
  variantId?: string | null;
@@ -1,5 +1,5 @@
1
1
  import { IkasBlogCategoryListType } from "../ui";
2
- export declare type IkasBlogCategoryListPropValue = {
2
+ export type IkasBlogCategoryListPropValue = {
3
3
  blogCategoryListType: IkasBlogCategoryListType;
4
4
  initialLimit?: number | null;
5
5
  blogCategoryIds?: string[] | null;
@@ -1,4 +1,4 @@
1
- export declare type IkasBlogCategoryPropValue = {
1
+ export type IkasBlogCategoryPropValue = {
2
2
  blogCategoryId?: string | null;
3
3
  usePageData?: boolean | null;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { IkasBlogListType } from "../ui";
2
- export declare type IkasBlogListPropValue = {
2
+ export type IkasBlogListPropValue = {
3
3
  blogListType: IkasBlogListType;
4
4
  initialLimit?: number | null;
5
5
  blogIds?: string[] | null;
@@ -1,4 +1,4 @@
1
- export declare type IkasBlogPropValue = {
1
+ export type IkasBlogPropValue = {
2
2
  blogId?: string | null;
3
3
  usePageData?: boolean | null;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { IkasBrandListSortType, IkasBrandListType } from "../ui";
2
- export declare type IkasBrandListPropValue = {
2
+ export type IkasBrandListPropValue = {
3
3
  brandListType: IkasBrandListType;
4
4
  initialSort?: IkasBrandListSortType | null;
5
5
  initialLimit?: number | null;
@@ -1,5 +1,5 @@
1
1
  import { IkasCategoryListSortType, IkasCategoryListType } from "../ui";
2
- export declare type IkasCategoryListPropValue = {
2
+ export type IkasCategoryListPropValue = {
3
3
  categoryListType: IkasCategoryListType;
4
4
  initialSort?: IkasCategoryListSortType | null;
5
5
  initialLimit?: number | null;
@@ -1,4 +1,4 @@
1
- export declare type IkasCategoryPropValue = {
1
+ export type IkasCategoryPropValue = {
2
2
  categoryId?: string | null;
3
3
  usePageData?: boolean | null;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type IkasImagePropValue = {
1
+ export type IkasImagePropValue = {
2
2
  id: string;
3
3
  altText: string | null;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { IkasThemeJsonPageType } from "@ikas/storefront-models";
2
- export declare type IkasLinkPropValue = {
2
+ export type IkasLinkPropValue = {
3
3
  id?: string | null;
4
4
  linkType?: IkasLinkType | null;
5
5
  label?: string | null;
@@ -1,5 +1,5 @@
1
1
  import { IkasProductListSortType, IkasProductListType, IkasRelatedProductsType } from "../ui";
2
- export declare type IkasProductListPropValue = {
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
- declare type IkasProductVariantId = {
13
+ type IkasProductVariantId = {
14
14
  productId: string;
15
15
  variantId: string;
16
16
  };
@@ -1,4 +1,4 @@
1
- export declare type IkasProductPropValue = {
1
+ export type IkasProductPropValue = {
2
2
  productId?: string | null;
3
3
  variantId?: string | null;
4
4
  usePageData?: boolean | null;
@@ -1,4 +1,4 @@
1
- export declare type IkasRaffleListPropValue = {
1
+ export type IkasRaffleListPropValue = {
2
2
  initialLimit?: number | null;
3
3
  raffleIds?: string[] | null;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type IkasRafflePropValue = {
1
+ export type IkasRafflePropValue = {
2
2
  raffleId?: string | null;
3
3
  usePageData?: boolean | null;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { IkasBlogCategory } from "@ikas/storefront-models";
2
2
  import { IkasBlogCategoryListPropValue } from "../../prop-value/blog-category-list";
3
- export declare type IkasBlogCategoryList = {
3
+ export type IkasBlogCategoryList = {
4
4
  data: IkasBlogCategory[];
5
5
  type: IkasBlogCategoryListType;
6
6
  limit: number;
@@ -1,6 +1,6 @@
1
1
  import { IkasBlog } from "@ikas/storefront-models";
2
2
  import { IkasBlogListPropValue } from "../../prop-value/blog-list";
3
- export declare type IkasBlogList = {
3
+ export type IkasBlogList = {
4
4
  data: IkasBlog[];
5
5
  type: IkasBlogListType;
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 declare type IkasBrandList = {
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 declare type IkasCategoryList = {
3
+ export type IkasCategoryList = {
4
4
  data: IkasCategory[];
5
5
  type: IkasCategoryListType;
6
6
  sort: IkasCategoryListSortType;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- declare type RenderFunction = () => React.ReactNode;
3
- export declare type IkasComponentRenderer = {
2
+ type RenderFunction = () => React.ReactNode;
3
+ export type IkasComponentRenderer = {
4
4
  render: RenderFunction;
5
5
  };
6
6
  export {};
@@ -1,5 +1,5 @@
1
1
  import { IkasCustomerReview } from "@ikas/storefront-models";
2
- export declare type IkasCustomerReviewList = {
2
+ export type IkasCustomerReviewList = {
3
3
  data: IkasCustomerReview[];
4
4
  limit: number;
5
5
  page: number;
@@ -1,5 +1,5 @@
1
1
  import { IkasCustomerReviewSummary } from "@ikas/storefront-models";
2
- export declare type IkasCustomerReviewSummaryList = {
2
+ export type IkasCustomerReviewSummaryList = {
3
3
  data: IkasCustomerReviewSummary[];
4
4
  limit: number;
5
5
  page: number;
@@ -1,4 +1,4 @@
1
- export declare type IkasNavigationLink = {
1
+ export type IkasNavigationLink = {
2
2
  href: string;
3
3
  label: string;
4
4
  subLinks: IkasNavigationLink[];
@@ -1,6 +1,6 @@
1
1
  import { IkasProduct } from "@ikas/storefront-models";
2
2
  import { IkasAttributePropValue } from "../../prop-value/attribute";
3
- export declare type IkasProductAttributeDetail = {
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 declare type IkasAttributeList = {
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 declare type IkasProductList = {
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 declare type Facet = {
58
+ export type Facet = {
59
59
  id: string;
60
60
  values: FacetValue[];
61
61
  };
62
- export declare type FacetValue = {
62
+ export type FacetValue = {
63
63
  id: string;
64
64
  count: number;
65
65
  };
@@ -1,5 +1,5 @@
1
1
  import { IkasRaffle } from "@ikas/storefront-models";
2
- export declare type IkasRaffleList = {
2
+ export type IkasRaffleList = {
3
3
  data: IkasRaffle[];
4
4
  limit: number;
5
5
  page: number;
@@ -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 declare type IkasLinkMetaDataType = "DEFAULT" | "BLOG" | "RAFFLE";
6
- export declare type IkasLinkMetaDataTargetId = {
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 declare type IkasRelatedProductProps = {
5
+ export type IkasRelatedProductProps = {
6
6
  brandIds: string[] | null;
7
7
  categoryIds: string[] | null;
8
8
  productId: string;
9
9
  };
10
- export declare type IkasViewedTogetherProductProps = {
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 declare type IkasSimplePageComponentPropValue = {
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 declare type IkasAttributeListPropValueData = {
23
+ export type IkasAttributeListPropValueData = {
24
24
  productDetail: IkasProduct | null;
25
25
  attributeListPropValue: IkasAttributeListPropValue;
26
26
  };
27
- export declare type IkasAttributePropValueData = {
27
+ export type IkasAttributePropValueData = {
28
28
  productDetail: IkasProductPropValueProduct | null;
29
29
  attributePropValue: IkasAttributePropValue;
30
30
  };
31
- export declare type IkasBlogCategoryPropValueData = {
31
+ export type IkasBlogCategoryPropValueData = {
32
32
  blogCategory: IkasBlogCategory | null;
33
33
  blogCategoryPropValue: IkasBlogCategoryPropValue;
34
34
  };
35
- export declare type IkasBlogPropValueData = {
35
+ export type IkasBlogPropValueData = {
36
36
  blog: IkasBlog | null;
37
37
  blogPropValue: IkasBlogPropValue;
38
38
  };
39
- export declare type IkasBrandPropValueData = {
39
+ export type IkasBrandPropValueData = {
40
40
  brand: IkasBrand | null;
41
41
  brandPropValue: IkasBrandPropValue;
42
42
  };
43
- export declare type IkasCategoryPropValueData = {
43
+ export type IkasCategoryPropValueData = {
44
44
  category: IkasCategory | null;
45
45
  categoryPropValue: IkasCategoryPropValue;
46
46
  };
47
- export declare type IkasCustomDataPropValueData = {
47
+ export type IkasCustomDataPropValueData = {
48
48
  value: any;
49
49
  customDataId: string;
50
50
  };
51
- export declare type IkasProductPropValueProduct = {
51
+ export type IkasProductPropValueProduct = {
52
52
  productOptionSet?: IkasProductOptionSet | null;
53
53
  selectedVariantValues?: IkasVariantValue[] | null;
54
54
  } & IkasProduct;
55
- export declare type IkasProductPropValueData = {
55
+ export type IkasProductPropValueData = {
56
56
  productDetailPropValue: IkasProductPropValue;
57
57
  productDetail: IkasProductPropValueProduct | null;
58
58
  };
59
- export declare type IkasRafflePropValueData = {
59
+ export type IkasRafflePropValueData = {
60
60
  raffle: IkasRaffle | null;
61
61
  rafflePropValue: IkasRafflePropValue;
62
62
  };
63
- export declare type IkasSliderPropValueData = {
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.28",
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": "12.2.0",
20
+ "next": "13.3.0",
21
21
  "mobx": "^6.1.3",
22
- "@ikas/storefront-api": "^5.0.0-beta.28",
23
- "@ikas/storefront-config": "^5.0.0-beta.28",
24
- "@ikas/storefront-model-functions": "^5.0.0-beta.28",
25
- "@ikas/storefront-models": "^5.0.0-beta.28",
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": "^16.9.55"
31
+ "@types/react": "18.0.33"
32
32
  }
33
33
  }