@empathyco/x-components
Version:
Empathy X Components
117 lines (52 loc) • 1.58 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [HistoryQueriesState](./x-components.historyqueriesstate.md)
## HistoryQueriesState interface
HistoryQueries store state.
**Signature:**
```typescript
export interface HistoryQueriesState extends QueryState
```
**Extends:** [QueryState](./x-components.querystate.md)
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[config](./x-components.historyqueriesstate.config.md)
</td><td>
</td><td>
[HistoryQueriesConfig](./x-components.historyqueriesconfig.md)
</td><td>
Configuration for the `HistoryQueries` module.
</td></tr>
<tr><td>
[historyQueries](./x-components.historyqueriesstate.historyqueries.md)
</td><td>
</td><td>
HistoryQuery\[\]
</td><td>
The full list of queries made by the user. This list is persisted along different search sessions.
</td></tr>
<tr><td>
[isEnabled](./x-components.historyqueriesstate.isenabled.md)
</td><td>
</td><td>
boolean
</td><td>
Whether the history queries are enabled or disabled.
</td></tr>
<tr><td>
[sessionTimeStampInMs](./x-components.historyqueriesstate.sessiontimestampinms.md)
</td><td>
</td><td>
number
</td><td>
Timestamp that indicates when the current search session has started.
</td></tr>
</tbody></table>