UNPKG

@empathyco/x-components

Version:
135 lines (59 loc) 2.12 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 <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [cancelFetchAndSaveIdentifierResults](./x-components.identifierresultsactions.cancelfetchandsaveidentifierresults.md) </td><td> </td><td> () =&gt; void </td><td> Cancels / interrupt [IdentifierResultsActions.fetchAndSaveIdentifierResults](./x-components.identifierresultsactions.fetchandsaveidentifierresults.md) synchronous promise. </td></tr> <tr><td> [fetchAndSaveIdentifierResults](./x-components.identifierresultsactions.fetchandsaveidentifierresults.md) </td><td> </td><td> (request: IdentifierResultsRequest \| null) =&gt; void </td><td> Requests a new set of identifier results and stores them in the module. </td></tr> <tr><td> [fetchIdentifierResults](./x-components.identifierresultsactions.fetchidentifierresults.md) </td><td> </td><td> (request: IdentifierResultsRequest \| null) =&gt; Result\[\] </td><td> Requests a new set of identifier results for the module query, and returns them. </td></tr> <tr><td> [saveOrigin](./x-components.identifierresultsactions.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> <tr><td> [saveQuery](./x-components.identifierresultsactions.savequery.md) </td><td> </td><td> (query: string) =&gt; void </td><td> Stores the query in the module if it matches the regex. </td></tr> </tbody></table>