UNPKG

@empathyco/x-components

Version:
24 lines (15 loc) 1.23 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [AiActions](./x-components.aiactions.md) ## AiActions interface Ai module actions. **Signature:** ```typescript export interface AiActions ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [fetchAndSaveAiSuggestions](./x-components.aiactions.fetchandsaveaisuggestions.md) | | (request: AiSuggestionsRequest \| null) =&gt; void | Requests suggestions for the module ai. | | [fetchAndSaveAiSuggestionsSearch](./x-components.aiactions.fetchandsaveaisuggestionssearch.md) | | (expanded: boolean) =&gt; void | Requests suggestions search for the module AI. | | [saveOrigin](./x-components.aiactions.saveorigin.md) | | (originInit: [QueryOriginInit](./x-components.queryorigininit.md)<!-- -->) =&gt; void | Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. | | [setUrlParams](./x-components.aiactions.seturlparams.md) | | (urlParams: [UrlParams](./x-components.urlparams.md)<!-- -->) =&gt; void | Checks if the URL has params on it and then updates the state with these values. |