@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    A single filter rule — one row in the predicate builder.

    interface FilterRule {
        field: string;
        id: number;
        operator: FilterOperator;
        unit?: DateUnit;
        value: string;
        valueTo?: string;
    }
    Index

    Properties

    field: string

    The field key to filter on.

    id: number

    Unique id for @for tracking.

    operator: FilterOperator

    The comparison operator.

    unit?: DateUnit

    Time unit — used by inTheLast date operator.

    value: string

    Primary comparison value (string-encoded for form compatibility).

    valueTo?: string

    Secondary value — used by between operators.