ISearchResponse

Interface

Defines a generic search response interface with parameterized result type for different types of searches

total - total number of results results - potentially paginated list of results hasNext - boolean flag for if there are any more pages ofresults next - invokable function for obtaining next page of results

Properties

Property Type Notes
hasNext boolean
next function(params: any) : Promise<ISearchResponse<>>
results []
total number

Interface defined in packages/search/src/types/common.ts:38