Repository URL to install this package:
|
Version:
9.0.35-framework ▾
|
declare const toProduct: (product: any) => any;
declare const transformCatalog: (response: any, dynamicParams: any) => {
identifier: any;
image: any;
name: any;
link: any;
additional: any[];
categoryIds: any;
/**
* @todo - could take refine out of the response here
*/
productFilter: {
facets: any;
selectedFilters: import("chain-able-deps/dist/typings/_typings").AnyObj;
};
productSort: {
options: import("chain-able-deps/dist/typings/_typings").AnyObj;
sortedBy: any;
};
products: any;
productCount: number;
searchterm: any;
};
/**
* basically reformatted plp
* with {meta, values} as {title url viewall products}
*/
declare const transformCatalogTab: (response: any, id: any, tabName: any, attribute: any) => {
meta: {
title: any;
url: string;
image: any;
viewAll: string;
qa: any;
};
values: any;
title: any;
url: string;
image: any;
viewAll: string;
qa: any;
};
export { toProduct, toProduct as transformProduct };
export { transformCatalog, transformCatalogTab };
export default transformCatalog;