UNPKG

@empathyco/x-components

Version:
78 lines (35 loc) 1.17 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SemanticQueriesActions](./x-components.semanticqueriesactions.md) ## SemanticQueriesActions interface SemanticQueries store actions. **Signature:** ```typescript export interface SemanticQueriesActions ``` ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [fetchAndSaveSemanticQuery](./x-components.semanticqueriesactions.fetchandsavesemanticquery.md) </td><td> </td><td> (request: SemanticQueriesRequest \| null) =&gt; void </td><td> Requests the semantic queries similar to the requested query and saves them in the state. </td></tr> <tr><td> [fetchSemanticQuery](./x-components.semanticqueriesactions.fetchsemanticquery.md) </td><td> </td><td> (request: SemanticQueriesRequest \| null) =&gt; SemanticQueriesResponse \| null </td><td> . Requests the results for a semantic query, </td></tr> </tbody></table>