@empathyco/x-components
Version:
Empathy X Components
24 lines (15 loc) • 1.33 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsActions](./x-components.facetsactions.md)
## FacetsActions interface
Facets store actions.
**Signature:**
```typescript
export interface FacetsActions
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [cancelFetchAndSaveFacetsResponse](./x-components.facetsactions.cancelfetchandsavefacetsresponse.md) | | () => void | Cancels / interrupt [FacetsActions.cancelFetchAndSaveFacetsResponse](./x-components.facetsactions.cancelfetchandsavefacetsresponse.md) synchronous promise. |
| [fetchAndSaveFacetsResponse](./x-components.facetsactions.fetchandsavefacetsresponse.md) | | (request: FacetsRequest \| null) => void | Fetches a new facets response and stores them in the module state. |
| [fetchFacetsResponse](./x-components.facetsactions.fetchfacetsresponse.md) | | (request: FacetsRequest) => FacetsResponse | Fetches the facets response and returns them. |
| [saveOrigin](./x-components.facetsactions.saveorigin.md) | | (originInit: [QueryOriginInit](./x-components.queryorigininit.md)<!-- -->) => void | Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. |