rueder frontend
    Preparing search index...

    Type Alias Rule

    A rule as the API takes and gives it.

    GET /api/rules answers with a list of them. POST /api/rules, PUT /api/rules/{id} and POST /api/rules/preview read one; there the id counts for nothing, and a rule without enabled is enabled.

    type Rule = {
        action: RuleAction;
        enabled: boolean;
        field: RuleField;
        id: number;
        match: RuleMatch;
        pattern: string;
        scope: RuleScope;
    }
    Index
    action: RuleAction
    enabled: boolean
    field: RuleField
    id: number
    match: RuleMatch
    pattern: string
    scope: RuleScope