@empathyco/x-components
Version:
Empathy X Components
22 lines (13 loc) • 1.05 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
| Method | Modifiers | Description |
| --- | --- | --- |
| [addQueryToHistory({ state, dispatch }, query)](./x-components.addquerytohistoryaction.addquerytohistory.md) | | Default implementation for the [HistoryQueriesActions.addQueryToHistory](./x-components.historyqueriesactions.addquerytohistory.md)<!-- -->. |