GitHub

DaffSearchDriverKindedInterface

import { DaffSearchDriverKindedInterface } from '@daffodil/search/driver'

A driver interface for search feature drivers of a specific kind. Search results are chunked per kind and feature drivers should associate themselves with a specific kind.

interface DaffSearchDriverKindedInterface<T extends DaffSearchResult = DaffSearchResult> {
  readonly kind: T["kind"]
}

Properties

kind
T["kind"]

The kind of entity for which this driver can search.