UNPKG

@empathyco/x-components

Version:
24 lines (15 loc) 1.33 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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) | | () =&gt; void | Cancels / interrupt [FacetsActions.cancelFetchAndSaveFacetsResponse](./x-components.facetsactions.cancelfetchandsavefacetsresponse.md) synchronous promise. | | [fetchAndSaveFacetsResponse](./x-components.facetsactions.fetchandsavefacetsresponse.md) | | (request: FacetsRequest \| null) =&gt; void | Fetches a new facets response and stores them in the module state. | | [fetchFacetsResponse](./x-components.facetsactions.fetchfacetsresponse.md) | | (request: FacetsRequest) =&gt; FacetsResponse | Fetches the facets response and returns them. | | [saveOrigin](./x-components.facetsactions.saveorigin.md) | | (originInit: [QueryOriginInit](./x-components.queryorigininit.md)<!-- -->) =&gt; void | Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. |