@soma-vertical-web/multi-lib 1.0.20 → 1.0.21

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.
@@ -28,7 +28,6 @@ export type ProductCarouselConstants = {
28
28
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
29
29
  Z_INDEX_WAR: Z_INDEX_WARType;
30
30
  StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
31
- storeId: StoreConfigType['api']['storeId'];
32
31
  };
33
32
  searchModal?: boolean;
34
33
  };
@@ -95,6 +95,5 @@ export interface PLPConstantsProviderProps extends PropsWithChildren {
95
95
  Z_INDEX_WAR: Z_INDEX_WARType;
96
96
  StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
97
97
  searchParams: URLSearchParams;
98
- storeId: StoreConfigType['api']['storeId'];
99
98
  }
100
99
  export type PLPConstantsContextProps = Omit<PLPConstantsProviderProps, 'children'>;
@@ -71,6 +71,7 @@ export interface ISessionContext {
71
71
  city: string;
72
72
  street: string;
73
73
  postalCode: string;
74
+ sub: string;
74
75
  };
75
76
  wishlist?: string[];
76
77
  token?: string;
@@ -17,15 +17,3 @@ export type UseScrollRestorationInfiniteProps = {
17
17
  load: boolean;
18
18
  PLP_GRID_SCROLL_BACK: PLP_GRID_SCROLL_BACKType;
19
19
  };
20
- export type SimilarItem = any;
21
- export type SimilarCallback = (data: SimilarItem[]) => void;
22
- export type SimilarsOptions = {
23
- filterTexture?: string[];
24
- storeId: string;
25
- };
26
- export type PendingRequest = {
27
- productId: string;
28
- callbacks: SimilarCallback[];
29
- filterTexture?: string[];
30
- storeId: string;
31
- };
@@ -33,7 +33,6 @@ export interface RootProps extends HTMLAttributes<HTMLDivElement> {
33
33
  Z_INDEX_WAR: Z_INDEX_WARType;
34
34
  StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
35
35
  ICONS: ICONSType;
36
- storeId: StoreConfigType['api']['storeId'];
37
36
  };
38
37
  }
39
38
  export type Sizes = (typeof SizesExtended)[number];
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes, MutableRefObject } from 'react';
2
- import { PLP_INFINITE_SCROLLType, PLP_PRODUCT_SIMILAR_DELAYType, PLP_SIZE_ORDERType, PRODUCT_CARD_IMAGE_ASPECT_RATIOType, StoreConfigType, TEXTURE_IMAGEType } from '../../../constants';
2
+ import { PLP_INFINITE_SCROLLType, PLP_PRODUCT_SIMILAR_DELAYType, PLP_SIZE_ORDERType, PRODUCT_CARD_IMAGE_ASPECT_RATIOType, TEXTURE_IMAGEType } from '../../../constants';
3
3
  import { HasVariant, ProductType_PDC } from '../../../global/product';
4
4
  import { ProductCardProps, RootProps as ProductCard_RootProps } from '../ProductCard';
5
5
  import { TagCommercialConsumer } from '../../../cms/ContentTypes/FlagsAndTags';
@@ -49,6 +49,5 @@ export interface CardProps {
49
49
  PLP_PRODUCT_SIMILAR_DELAY: PLP_PRODUCT_SIMILAR_DELAYType;
50
50
  PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
51
51
  TEXTURE_IMAGE?: TEXTURE_IMAGEType;
52
- storeId: StoreConfigType['api']['storeId'];
53
52
  };
54
53
  }
@@ -114,8 +114,9 @@ export type ProductMeasurementsProps = {
114
114
  Z_INDEX_WAR: Z_INDEX_WARType;
115
115
  };
116
116
  export interface PDPSimilarsType extends PropsWithChildren {
117
- storeId: string;
117
+ apiUrl: string;
118
118
  productId: string;
119
+ ClientItems: React.ComponentType<ItemsProps>;
119
120
  PDP_INFO: PDP_INFOType;
120
121
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
121
122
  TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
@@ -113,7 +113,6 @@ export interface ProductsProps {
113
113
  StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
114
114
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
115
115
  Z_INDEX_WAR: Z_INDEX_WARType;
116
- storeId: StoreConfigType['api']['storeId'];
117
116
  }
118
117
  export interface PLPRootProps extends PLPConstantsContextProps {
119
118
  className?: string;