UNPKG

@empathyco/x-components

Version:
27 lines (15 loc) 906 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesGetter](./x-components.historyqueriesgetter.md) &gt; [historyQueries](./x-components.historyqueriesgetter.historyqueries.md) ## HistoryQueriesGetter.historyQueries() method Default implementation for the [HistoryQueriesGetters.historyQueries](./x-components.historyqueriesgetters.historyqueries.md) getter. **Signature:** ```typescript historyQueries({ query, historyQueries, config }: HistoryQueriesState): HistoryQuery[]; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | { query, historyQueries, config } | [HistoryQueriesState](./x-components.historyqueriesstate.md) | | **Returns:** HistoryQuery\[\] The filtered subset of queries, matching with the current query.