<!-- 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

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[fetchAndSaveQueryPreview](./x-components.queriespreviewactions.fetchandsavequerypreview.md)


</td><td>


</td><td>

(request: SearchRequest) =&gt; void


</td><td>

Requests the results for a cacheable query preview and saves them in the state.


</td></tr>
<tr><td>

[fetchAndSaveQueryPreviewResultsEnrichment](./x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md)


</td><td>


</td><td>

(queryPreviewItem: [QueryPreviewItem](./x-components.querypreviewitem.md)<!-- -->) =&gt; void


</td><td>

Requests and stores the enrichment results for the query preview results.


</td></tr>
<tr><td>

[fetchQueryPreview](./x-components.queriespreviewactions.fetchquerypreview.md)


</td><td>


</td><td>

(request: SearchRequest) =&gt; SearchResponse \| null


</td><td>

Requests the results for a query preview, limited by [QueriesPreviewConfig.maxItemsToRequest](./x-components.queriespreviewconfig.maxitemstorequest.md)<!-- -->.


</td></tr>
</tbody></table>

