A tool for parsing traffic on the jetstream and applying a moderation workstream based on regexp based rules
at main 620 B view raw
1import type { AccountThresholdConfig } from "../src/types.js"; 2 3/** 4 * Account threshold configurations for automatic labeling 5 * 6 * This file contains example values. Copy to accountThreshold.ts and configure with your thresholds. 7 */ 8export const ACCOUNT_THRESHOLD_CONFIGS: AccountThresholdConfig[] = [ 9 // Example configuration: 10 // { 11 // labels: ["example-label"], 12 // threshold: 3, 13 // accountLabel: "repeat-offender", 14 // accountComment: "Account exceeded threshold", 15 // window: 5, 16 // windowUnit: "hours", 17 // reportAcct: false, 18 // commentAcct: false, 19 // toLabel: true, 20 // }, 21];