rueder frontend
    Preparing search index...

    Interface RuleBook

    The filter rules of the account and what they catch.

    interface RuleBook {
        rules: FilterRule[];
        countHits(): void;
        deleteRule(id: string): void;
        hidingRule(article: Article): FilterRule | null;
        hitsOf(rule: FilterRule): number | null;
        newRuleId(): string;
        preview(rule: FilterRule): RulePreview | Promise<RulePreview>;
        saveRule(rule: FilterRule): void;
    }
    Index
    rules: FilterRule[]
    • Counts what the saved rules find, where that has to be asked for.

      Returns void