<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [FacetsState](./x-components.facetsstate.md)

## FacetsState interface

Facets store state.

**Signature:**

```typescript
export interface FacetsState 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [config](./x-components.facetsstate.config.md) |  | [FacetsConfig](./x-components.facetsconfig.md) | The current facets config [FacetsState.config](./x-components.facetsstate.config.md)<!-- -->. |
|  [facets](./x-components.facetsstate.facets.md) |  | Record&lt;Facet\['id'\], Omit&lt;Facet, 'filters'&gt;&gt; | The facets without their filters. |
|  [filters](./x-components.facetsstate.filters.md) |  | Record&lt;Filter\['id'\], Filter&gt; | Record of all available filters indexed by its id. |
|  [groups](./x-components.facetsstate.groups.md) |  | Record&lt;Facet\['id'\], [GroupId](./x-components.groupid.md)<!-- -->&gt; | Record specifying the group each facet belongs to. |
|  [preselectedFilters](./x-components.facetsstate.preselectedfilters.md) |  | RawFilter\[\] | Record of preselected filters indexed by its id. |
|  [query](./x-components.facetsstate.query.md) |  | string | The current query [FacetsState.query](./x-components.facetsstate.query.md)<!-- -->. |
|  [stickyFilters](./x-components.facetsstate.stickyfilters.md) |  | Record&lt;Filter\['id'\], Filter&gt; | Record of sticky filters indexed by its id. |

