GitHub

DaffSearchDriverKindedInterface

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.

import { DaffSearchDriverKindedInterface } from '@daffodil/search/driver'
interface DaffSearchDriverKindedInterface<T extends DaffSearchResult = DaffSearchResult> {
  readonly kind: T['kind']
}

Properties

Name Type Description
kind T['kind']

The kind of entity for which this driver can search.