@soma-vertical-web/multi-lib-sacurai 0.0.1 → 0.0.3

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/server.d.ts CHANGED
@@ -51,7 +51,7 @@ declare const serverHelpers: {
51
51
  declare const serverComponents: {
52
52
  template: {
53
53
  pdp: {
54
- PDPSimilars: ({ children, productId, ClientItems, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('./types/layout/templates/PDP').PDPSimilarsType) => Promise<import("react/jsx-runtime").JSX.Element>;
54
+ PDPSimilars: ({ children, apiUrl, productId, ClientItems, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('./types/layout/templates/PDP').PDPSimilarsType) => Promise<import("react/jsx-runtime").JSX.Element>;
55
55
  };
56
56
  };
57
57
  };
@@ -93,6 +93,7 @@ export interface PLPConstantsProviderProps extends PropsWithChildren {
93
93
  TIME_ZONE: TIME_ZONEType;
94
94
  VARIANT_PAGINATION: VARIANT_PAGINATIONType;
95
95
  Z_INDEX_WAR: Z_INDEX_WARType;
96
+ apiUrl: string;
96
97
  StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
97
98
  searchParams: URLSearchParams;
98
99
  }
@@ -21,6 +21,7 @@ export type ProductListCard_CONSTANTS = ProductCard_RootProps['CONSTANTS'] & {
21
21
  PLP_INFINITE_SCROLL: PLP_INFINITE_SCROLLType;
22
22
  PLP_PRODUCT_SIMILAR_DELAY: PLP_PRODUCT_SIMILAR_DELAYType;
23
23
  PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
24
+ apiUrl: string;
24
25
  };
25
26
  export interface ProductListCardProps extends HTMLAttributes<HTMLDivElement> {
26
27
  item: ProductCardProps;
@@ -49,5 +50,6 @@ export interface CardProps {
49
50
  PLP_PRODUCT_SIMILAR_DELAY: PLP_PRODUCT_SIMILAR_DELAYType;
50
51
  PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
51
52
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
53
+ apiUrl: string;
52
54
  };
53
55
  }
@@ -95,6 +95,7 @@ export interface ProductsProps {
95
95
  node: ProductCardProps;
96
96
  }[];
97
97
  isMobile?: boolean;
98
+ apiUrl: string;
98
99
  BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
99
100
  ICONS: ICONSType;
100
101
  MAIN_IMAGE: MAIN_IMAGEType;
@@ -4,6 +4,7 @@ import { PDPSizesProps } from '../PDP';
4
4
  export type SimilarsProps = {
5
5
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
6
6
  TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
7
+ apiUrl: string;
7
8
  };
8
9
  export interface BodyProps extends PDPSizesProps, SimilarsProps {
9
10
  callBackProductAdded?: Function;