You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > FacetsGetters

FacetsGetters interface

Signature:

export interface FacetsGetters<SEARCH_DATA, RESULTS, CRITERIA = any> 

Properties

Property Modifiers Type Description
getAll (searchData: FacetSearchResult<SEARCH_DATA>, criteria?: CRITERIA) => AgnosticFacet[]
getBreadcrumbs (searchData: FacetSearchResult<SEARCH_DATA>) => AgnosticBreadcrumb[]
getCategoryTree (searchData: FacetSearchResult<SEARCH_DATA>) => AgnosticCategoryTree
getGrouped (searchData: FacetSearchResult<SEARCH_DATA>, criteria?: CRITERIA) => AgnosticGroupedFacet[]
getPagination (searchData: FacetSearchResult<SEARCH_DATA>) => AgnosticPagination
getProducts (searchData: FacetSearchResult<SEARCH_DATA>) => RESULTS
getSortOptions (searchData: FacetSearchResult<SEARCH_DATA>) => AgnosticSort