@empathyco/x-components
Version:
Empathy X Components
116 lines (51 loc) • 1.61 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [HistoryQueriesConfig](./x-components.historyqueriesconfig.md)
## HistoryQueriesConfig interface
Configuration options for the [HistoryQueriesXModule](./x-components.historyqueriesxmodule.md)<!-- -->.
**Signature:**
```typescript
export interface HistoryQueriesConfig
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[debounceInMs](./x-components.historyqueriesconfig.debounceinms.md)
</td><td>
</td><td>
number
</td><td>
Time in milliseconds for applying a debounce when setting the module query.
</td></tr>
<tr><td>
[hideIfEqualsQuery](./x-components.historyqueriesconfig.hideifequalsquery.md)
</td><td>
</td><td>
boolean
</td><td>
Hides a history query if it is equal to the current query of the module.
</td></tr>
<tr><td>
[maxItemsToStore](./x-components.historyqueriesconfig.maxitemstostore.md)
</td><td>
</td><td>
number
</td><td>
Maximum number of history queries to save in the browser.
</td></tr>
<tr><td>
[sessionTTLInMs](./x-components.historyqueriesconfig.sessionttlinms.md)
</td><td>
</td><td>
number
</td><td>
Time in milliseconds to keep the session alive. After this time has passed with no user interaction, the session will be cleared.
</td></tr>
</tbody></table>