Functions
Const augmentProducts
- augmentProducts(results: Results): object[]
-
Parameters
Returns object[]
Const combineNavigations
- combineNavigations(__namedParameters: object): Navigation[]
-
Parameters
-
__namedParameters: object
-
available: Navigation[]
-
selected: Navigation[]
Const extractAllMeta
- extractAllMeta(product: Product | Record): any
Const extractNavigation
- extractNavigation(navigation: Navigation): Navigation
Const extractNavigationSort
- extractNavigationSort(sort: SortType): Sort
Const extractPage
- extractPage(state: State, totalRecords: number, current?: number, pageSize?: number): Page
-
Parameters
-
-
totalRecords: number
-
Optional current: number
-
Optional pageSize: number
Const extractQuery
- extractQuery(__namedParameters: object): Query
-
Parameters
-
__namedParameters: object
-
corrected: string
-
didYouMean: string[]
-
original: string
-
related: string[]
-
rewrites: string[]
Const extractRecordCount
- extractRecordCount(recordCount: number): number
-
Parameters
Returns number
Const extractRefinement
-
Parameters
-
__namedParameters: object
-
high: number
-
low: number
-
total: number
-
type: "Range" & "Value"
-
value: string
Const extractTemplate
- extractTemplate(template?: Template): Template
-
Parameters
-
Default value template: Template = <any>{ zones: [] }
Const filterExcludedRefinements
Const filterNavigations
- filterNavigations(navigations: Navigation[]): Navigation[]
-
Parameters
-
navigations: Navigation[]
Returns Navigation[]
Const mergeSelectedRefinements
- mergeSelectedRefinements(available: Navigation, selected: Navigation): void
Const refinementsMatch
-
Parameters
-
-
-
Default value type: string = rhs.type
Returns boolean