Facet
Representation of a Facet Facet
export interface Facet {
'category'?: boolean;
'multiSelect'?: boolean;
'name'?: string;
'priority'?: number;
'topValues'?: Array<FacetValue>;
'values'?: Array<FacetValue>;
'visible'?: boolean;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
category | Optional | boolean | Flag stating if facet is category facet {boolean} Facet |
multiSelect | Optional | boolean | Flag stating if facet is multiSelect {boolean} Facet |
name | Optional | string | Name of the facet {string} Facet |
priority | Optional | number | Priority value of the facet {number} Facet |
topValues | Optional | Array<FacetValue> | List of top facet values {Array<FacetValue>} Facet |
values | Optional | Array<FacetValue> | List of all facet values {Array<FacetValue>} Facet |
visible | Optional | boolean | Flag stating if facet is visible {boolean} Facet |