UNPKG

@empathyco/x-components

Version:
116 lines (51 loc) 1.69 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 <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [cancelFetchAndSaveFacetsResponse](./x-components.facetsactions.cancelfetchandsavefacetsresponse.md) </td><td> </td><td> () =&gt; void </td><td> Cancels / interrupt [FacetsActions.cancelFetchAndSaveFacetsResponse](./x-components.facetsactions.cancelfetchandsavefacetsresponse.md) synchronous promise. </td></tr> <tr><td> [fetchAndSaveFacetsResponse](./x-components.facetsactions.fetchandsavefacetsresponse.md) </td><td> </td><td> (request: FacetsRequest \| null) =&gt; void </td><td> Fetches a new facets response and stores them in the module state. </td></tr> <tr><td> [fetchFacetsResponse](./x-components.facetsactions.fetchfacetsresponse.md) </td><td> </td><td> (request: FacetsRequest) =&gt; FacetsResponse </td><td> Fetches the facets response and returns them. </td></tr> <tr><td> [saveOrigin](./x-components.facetsactions.saveorigin.md) </td><td> </td><td> (originInit: [QueryOriginInit](./x-components.queryorigininit.md)<!-- -->) =&gt; void </td><td> Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. </td></tr> </tbody></table>