@soma-vertical-web/multi-lib 0.0.47 → 0.0.49

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.47",
3
+ "version": "0.0.49",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -1,3 +1,4 @@
1
+ import { GetContentTypeProps } from '../../../data/api/cms';
1
2
  import { IContentTypeResponseBase } from '../../Factories';
2
3
 
3
4
  export interface IRedirects extends IContentTypeResponseBase {
@@ -19,3 +20,6 @@ export interface IRedirects extends IContentTypeResponseBase {
19
20
  };
20
21
  };
21
22
  }
23
+ export interface Redirects extends Omit<GetContentTypeProps, 'contentType'> {
24
+ slug: string;
25
+ }
@@ -61,4 +61,5 @@ export interface PLPProviderProps extends PropsWithChildren {
61
61
  searchParams?: PLPSearchParamsType;
62
62
  collectionId?: number | null;
63
63
  itemsPerPage?: number;
64
+ brand?: string | null;
64
65
  }
@@ -49,6 +49,7 @@ export interface SearchProviderProps extends PropsWithChildren {
49
49
  sort?: string;
50
50
  state: State;
51
51
  collectionId?: number | null;
52
+ brand?: string | null;
52
53
  count?: number;
53
54
  CONSTANTS: {
54
55
  ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
@@ -2,6 +2,7 @@ export type PLPProps = {
2
2
  slug: string[] | string;
3
3
  searchParams: PLPSearchParamsType;
4
4
  collectionId?: number | null;
5
+ brand?: string | null;
5
6
  };
6
7
  export type PLPSearchParamsType = {
7
8
  [key: string]: string | string[] | undefined;