@empathyco/x-components
Version:
Empathy X Components
50 lines (24 loc) • 1.18 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [AddQueryToHistoryAction](./x-components.addquerytohistoryaction.md)
## AddQueryToHistoryAction class
Class implementation for the [HistoryQueriesActions.addQueryToHistory](./x-components.historyqueriesactions.addquerytohistory.md) action.
**Signature:**
```typescript
export declare class AddQueryToHistoryAction implements ActionsClass<HistoryQueriesXStoreModule>
```
**Implements:** [ActionsClass](./x-components.actionsclass.md)<!-- --><[HistoryQueriesXStoreModule](./x-components.historyqueriesxstoremodule.md)<!-- -->>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[addQueryToHistory({ state, dispatch }, query)](./x-components.addquerytohistoryaction.addquerytohistory.md)
</td><td>
</td><td>
Default implementation for the [HistoryQueriesActions.addQueryToHistory](./x-components.historyqueriesactions.addquerytohistory.md)<!-- -->.
</td></tr>
</tbody></table>