@empathyco/x-components
Version:
Empathy X Components
135 lines (59 loc) • 1.7 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsGetters](./x-components.facetsgetters.md)
## FacetsGetters interface
Facets store getters.
**Signature:**
```typescript
export interface FacetsGetters
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[facets](./x-components.facetsgetters.facets.md)
</td><td>
</td><td>
Record<Facet\['id'\], Facet>
</td><td>
List of all facets with their filters.
</td></tr>
<tr><td>
[request](./x-components.facetsgetters.request.md)
</td><td>
</td><td>
FacetsRequest \| null
</td><td>
The adapter request object for retrieving the facets, or null if there is no valid data to create a request.
</td></tr>
<tr><td>
[selectedFilters](./x-components.facetsgetters.selectedfilters.md)
</td><td>
</td><td>
Filter\[\]
</td><td>
List of all selected filters.
</td></tr>
<tr><td>
[selectedFiltersByFacet](./x-components.facetsgetters.selectedfiltersbyfacet.md)
</td><td>
</td><td>
[FiltersByFacet](./x-components.filtersbyfacet.md)
</td><td>
List of all selected filters grouped by their facet.
</td></tr>
<tr><td>
[selectedFiltersForRequest](./x-components.facetsgetters.selectedfiltersforrequest.md)
</td><td>
</td><td>
Filter\[\]
</td><td>
List of all selected filters that conform to the filters for request strategy.
</td></tr>
</tbody></table>