UNPKG

@empathyco/x-components

Version:
25 lines (16 loc) 1.76 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesGetters](./x-components.historyqueriesgetters.md) ## HistoryQueriesGetters interface HistoryQueries store getters. **Signature:** ```typescript export interface HistoryQueriesGetters ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [historyQueries](./x-components.historyqueriesgetters.historyqueries.md) | | HistoryQuery\[\] | A sub-set of the [HistoryQueriesState.historyQueries](./x-components.historyqueriesstate.historyqueries.md)<!-- -->. If the query property is not empty, this list will only contain suggestions whose query matches with it. | | [historyQueriesWithResults](./x-components.historyqueriesgetters.historyquerieswithresults.md) | | HistoryQuery\[\] | A sub-set of the [HistoryQueriesGetters.historyQueries](./x-components.historyqueriesgetters.historyqueries.md) including only the queries with results at the moment they were requested. | | [normalizedQuery](./x-components.historyqueriesgetters.normalizedquery.md) | | string | The normalized module's query. | | [sessionHistoryQueries](./x-components.historyqueriesgetters.sessionhistoryqueries.md) | | HistoryQuery\[\] | A list of the queries that have been made in the last period of time specified by [HistoryQueriesConfig.sessionTTLInMs](./x-components.historyqueriesconfig.sessionttlinms.md)<!-- -->. | | [storageKey](./x-components.historyqueriesgetters.storagekey.md) | | string | The key for saving the [HistoryQueriesState.historyQueries](./x-components.historyqueriesstate.historyqueries.md) in the browser storage. |