Plumile JS API
    Preparing search index...

    Interface FieldDescriptorBase<TKind, TValue>

    Base descriptor shared by number and string fields.

    interface FieldDescriptorBase<TKind extends PrimitiveKind, TValue> {
        kind: TKind;
        operators: readonly (
            | "gt"
            | "gte"
            | "lt"
            | "lte"
            | "eq"
            | "neq"
            | "contains"
            | "sw"
            | "ew"
            | "between"
            | "in"
            | "nin"
        )[];
        parse?: (raw: string) => TValue | undefined;
        serialize?: (value: TValue) => string;
    }

    Type Parameters

    Index

    Properties

    kind: TKind
    operators: readonly (
        | "gt"
        | "gte"
        | "lt"
        | "lte"
        | "eq"
        | "neq"
        | "contains"
        | "sw"
        | "ew"
        | "between"
        | "in"
        | "nin"
    )[]
    parse?: (raw: string) => TValue | undefined
    serialize?: (value: TValue) => string