projects/onto-search/src/lib/onto-search-facet/models/search-facet-model.ts
Interface that determines the minimum properties of a single facet.
count |
count: |
Type : number
|
Found results count |
facetData |
facetData: |
Type : any
|
Additional data of the facet. Can be used for further processing of the facet. |
label |
label: |
Type : string
|
Display label |
selected |
selected: |
Type : boolean
|
Facet selected status |
export interface SearchFacetModel {
/**
* Display label
*/
label: string,
/**
* Additional data of the facet. Can be used for further processing of the facet.
*/
facetData?: any,
/**
* Found results count
*/
count: number,
/**
* Facet selected status
*/
selected: boolean
}