DaffSearchDriverResponse
import { DaffSearchDriverResponse } from '@daffodil/search/driver'
interface DaffSearchDriverResponse<T extends DaffSearchResult = DaffSearchResult> {
collection: DaffSearchResultCollection<T>
metadata: unknown
}
Properties
Name | Type | Description |
---|---|---|
collection | DaffSearchResultCollection<T> | The collection of search result entities. |
metadata | unknown | A place for specific drivers to return extra info that applies to the entire response. For example, this could be pagination, sorting, or filtering. |