@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 762 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) > [setQueryPreviewCached](./x-components.queriespreviewmutations.setquerypreviewcached.md)
## QueriesPreviewMutations.setQueryPreviewCached() method
Adds a new entry to the cached queries preview's dictionary.
**Signature:**
```typescript
setQueryPreviewCached(queryPreview: QueryPreviewItem): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| queryPreview | [QueryPreviewItem](./x-components.querypreviewitem.md) | The query preview item to add. |
**Returns:**
void