@soma-vertical-web/multi-lib 0.0.53 → 0.0.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
package/server.d.ts CHANGED
@@ -6,12 +6,16 @@ import * as cms from './data/api/cms';
6
6
  import * as search from './data/api/search';
7
7
  import * as masterdata from './data/api/master-data';
8
8
  import * as catalogHelpers from './data/helpers/catalog';
9
+ import * as productHelpers from './data/helpers/product';
9
10
  declare const serverAPIs: {
10
11
  checkout: typeof checkout;
11
12
  catalog: typeof catalog;
12
13
  cms: typeof cms;
13
14
  search: typeof search;
14
15
  masterdata: typeof masterdata;
16
+ wishlist: {
17
+ getWishlistProducts({ body, apiUrl, extraData, fetchOptions }: import('./types/data/api').FetchFunctionsProps<any>): Promise<any>;
18
+ };
15
19
  };
16
20
  declare const serverHelpers: {
17
21
  catalog: typeof catalogHelpers;
@@ -26,5 +30,6 @@ declare const serverHelpers: {
26
30
  }[];
27
31
  filterNonCategorySelected: (facets: import('./types/data/api/search/facets').Facet[], base?: string | null) => import('./types/data/api/search/facets').Facet<import('./types/data/api/search/facets').FacetValueBoolean | import('./types/data/api/search/facets').FacetValueRange>[];
28
32
  };
33
+ product: typeof productHelpers;
29
34
  };
30
35
  export { serverAPIs, serverHelpers, serverCMS };
@@ -22,10 +22,12 @@ export interface CommonPageContentProps extends Omit<GetContentTypeProps, 'conte
22
22
  slug: string;
23
23
  SectionZone: React.ComponentType<any>;
24
24
  COMMON_PAGE_COLUMN_GAP: COMMON_PAGE_COLUMN_GAPType;
25
+ identifyWhoIsFirst?: boolean;
25
26
  }
26
27
  export interface DataScreeningProps {
27
28
  slug: string;
28
29
  data: ICommonPage[];
29
30
  COMMON_PAGE_COLUMN_GAP: COMMON_PAGE_COLUMN_GAPType;
30
31
  SectionZone: React.ComponentType<any>;
32
+ identifyWhoIsFirst?: boolean;
31
33
  }
@@ -57,6 +57,7 @@ export interface ISessionContext {
57
57
  cashback: ValueBox[] | null;
58
58
  } | null;
59
59
  user?: {
60
+ id: string;
60
61
  userId: string;
61
62
  email: string;
62
63
  firstName: string;
@@ -70,6 +71,7 @@ export interface ISessionContext {
70
71
  street: string;
71
72
  postalCode: string;
72
73
  };
74
+ wishlist?: string[];
73
75
  token?: string;
74
76
  texts?: {
75
77
  welcome?: string;