GitHub

DaffSearchResultCollection

import { DaffSearchResultCollection } from '@daffodil/search'

A dictionary of search results keyed by the search result kind.

type DaffSearchResultCollection<T extends DaffSearchResult = DaffSearchResult> = Record<T['kind'], T[]>