<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QuerySuggestionsActions](./x-components.querysuggestionsactions.md)

## QuerySuggestionsActions interface

QuerySuggestions store actions.

**Signature:**

```typescript
export interface QuerySuggestionsActions 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [cancelFetchAndSaveSuggestions](./x-components.querysuggestionsactions.cancelfetchandsavesuggestions.md) |  | () =&gt; void | Cancels / interrupt [QuerySuggestionsActions.fetchAndSaveSuggestions](./x-components.querysuggestionsactions.fetchandsavesuggestions.md) synchronous promise. |
|  [fetchAndSaveSuggestions](./x-components.querysuggestionsactions.fetchandsavesuggestions.md) |  | (request: QuerySuggestionsRequest \| null) =&gt; void | Requests and saves to the state a list of suggestions. |
|  [fetchSuggestions](./x-components.querysuggestionsactions.fetchsuggestions.md) |  | (request: QuerySuggestionsRequest \| null) =&gt; Suggestion\[\] | Requests and returns a list of suggestions based on the module state. |
|  [setUrlParams](./x-components.querysuggestionsactions.seturlparams.md) |  | (urlParams: [UrlParams](./x-components.urlparams.md)<!-- -->) =&gt; void | Checks if the url has a query on it and then updates the state with that value. |

