The gambit registry. A map of resource types to gambit classes that should be used to filter resources of that type. Gambits are automatically converted to API filters when requesting resources. Gambits must be applied on a filter object that has a q property containing the search query.

Hierarchy

  • GambitManager

Constructors

Properties

Methods

Constructors

Properties

gambits: Record<string, (new () => IGambit<GambitType>)[]> = ...

Methods

  • Parameters

    • type: string
    • query: string
    • onmatch: ((gambit, matches, negate, bit) => void)
        • (gambit, matches, negate, bit): void
        • Parameters

          Returns void

    Returns string

Generated using TypeDoc v0.24.8