UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 1.04 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) | | (request: AiSuggestionsSearchRequest \| null) =&gt; void | Requests suggestions search for the module ai. | | [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. |