Type alias PaginatedSearchFunction<SearchData, SearchResult>

PaginatedSearchFunction<SearchData, SearchResult>: ((searchData, options) => Promise<PaginatedSearchResults<SearchResult>>)

The signature of the search function required by components that use the LisPaginatedSearchMixin mixin.

Type Parameters

  • SearchData extends PaginatedSearchData

    The type of data that will be given to the search function.

  • SearchResult

    The type that is expected to be in the results array of the PaginatedSearchResults instance resolved by the Promise returned by the search function.

Type declaration

Generated using TypeDoc