@empathyco/x-components
Version:
Empathy X Components
22 lines (13 loc) • 884 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewActions](./x-components.queriespreviewactions.md)
## QueriesPreviewActions interface
QueriesPreview store actions.
**Signature:**
```typescript
export interface QueriesPreviewActions
```
## Methods
| Method | Description |
| --- | --- |
| [fetchAndSaveQueryPreview(request)](./x-components.queriespreviewactions.fetchandsavequerypreview.md) | Requests the results for a cacheable query preview and saves them in the state. |
| [fetchQueryPreview(request)](./x-components.queriespreviewactions.fetchquerypreview.md) | Requests the results for a query preview, limited by [QueriesPreviewConfig.maxItemsToRequest](./x-components.queriespreviewconfig.maxitemstorequest.md)<!-- -->. |