Documentation
    Preparing search index...

    Interface ContentMatcher

    Declarative content matcher — matched against an Observation before rate checks.

    All fields except id and action are optional predicates; a matcher fires when ALL present predicates are satisfied (AND semantics).

    Stable unique identifier for this matcher rule.

    Restrict match to a specific operation class.

    Match if observation.kind is in this set (e.g. [5] for delete-spam).

    Match if observation.size >= minSize.

    Match if observation.focused equals this value.

    Match if observation.msSinceFocusGain <= maxMsSinceFocusGain.

    Action to apply when this matcher fires.

    interface ContentMatcher {
        action: Action;
        focused?: boolean;
        id: string;
        kinds?: readonly number[];
        maxMsSinceFocusGain?: number;
        minSize?: number;
        opClass?: string;
    }
    Index

    Properties

    action: Action
    focused?: boolean
    id: string
    kinds?: readonly number[]
    maxMsSinceFocusGain?: number
    minSize?: number
    opClass?: string