UNPKG

@empathyco/x-components

Version:
25 lines (16 loc) 1.7 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [IdentifierResultsActions](./x-components.identifierresultsactions.md) ## IdentifierResultsActions interface IdentifierResults store actions. **Signature:** ```typescript export interface IdentifierResultsActions ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [cancelFetchAndSaveIdentifierResults](./x-components.identifierresultsactions.cancelfetchandsaveidentifierresults.md) | | () =&gt; void | Cancels / interrupt [IdentifierResultsActions.fetchAndSaveIdentifierResults](./x-components.identifierresultsactions.fetchandsaveidentifierresults.md) synchronous promise. | | [fetchAndSaveIdentifierResults](./x-components.identifierresultsactions.fetchandsaveidentifierresults.md) | | (request: IdentifierResultsRequest \| null) =&gt; void | Requests a new set of identifier results and stores them in the module. | | [fetchIdentifierResults](./x-components.identifierresultsactions.fetchidentifierresults.md) | | (request: IdentifierResultsRequest \| null) =&gt; Result\[\] | Requests a new set of identifier results for the module query, and returns them. | | [saveOrigin](./x-components.identifierresultsactions.saveorigin.md) | | (originInit: [QueryOriginInit](./x-components.queryorigininit.md)<!-- -->) =&gt; void | Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. | | [saveQuery](./x-components.identifierresultsactions.savequery.md) | | (query: string) =&gt; void | Stores the query in the module if it matches the regex. |