UNPKG

@empathyco/x-components

Version:
135 lines (59 loc) 2.19 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 <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [historyQueries](./x-components.historyqueriesgetters.historyqueries.md) </td><td> </td><td> HistoryQuery\[\] </td><td> 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. </td></tr> <tr><td> [historyQueriesWithResults](./x-components.historyqueriesgetters.historyquerieswithresults.md) </td><td> </td><td> HistoryQuery\[\] </td><td> A sub-set of the [HistoryQueriesGetters.historyQueries](./x-components.historyqueriesgetters.historyqueries.md) including only the queries with results at the moment they were requested. </td></tr> <tr><td> [normalizedQuery](./x-components.historyqueriesgetters.normalizedquery.md) </td><td> </td><td> string </td><td> The normalized module's query. </td></tr> <tr><td> [sessionHistoryQueries](./x-components.historyqueriesgetters.sessionhistoryqueries.md) </td><td> </td><td> HistoryQuery\[\] </td><td> A list of the queries that have been made in the last period of time specified by [HistoryQueriesConfig.sessionTTLInMs](./x-components.historyqueriesconfig.sessionttlinms.md)<!-- -->. </td></tr> <tr><td> [storageKey](./x-components.historyqueriesgetters.storagekey.md) </td><td> </td><td> string </td><td> The key for saving the [HistoryQueriesState.historyQueries](./x-components.historyqueriesstate.historyqueries.md) in the browser storage. </td></tr> </tbody></table>