import { DaffSearchDriverResponse } from '@daffodil/search/driver'
interface DaffSearchDriverResponse<T extends DaffSearchResult = DaffSearchResult> {
collection: Record<T["kind"], T[]>
metadata: unknown
}
collection Record<T["kind"], 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. |