<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueriesPreviewActions](./x-components.queriespreviewactions.md)

## QueriesPreviewActions interface

QueriesPreview store actions.

**Signature:**

```typescript
export interface QueriesPreviewActions 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [fetchAndSaveQueryPreview](./x-components.queriespreviewactions.fetchandsavequerypreview.md) |  | (request: SearchRequest) =&gt; void | Requests the results for a cacheable query preview and saves them in the state. |
|  [fetchQueryPreview](./x-components.queriespreviewactions.fetchquerypreview.md) |  | (request: SearchRequest) =&gt; SearchResponse \| null | Requests the results for a query preview, limited by [QueriesPreviewConfig.maxItemsToRequest](./x-components.queriespreviewconfig.maxitemstorequest.md)<!-- -->. |

