@empathyco/x-components
Version:
Empathy X Components
135 lines (59 loc) • 2.12 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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>
() => 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) => 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) => 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)<!-- -->) => 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) => void
</td><td>
Stores the query in the module if it matches the regex.
</td></tr>
</tbody></table>