@duckduckgo/content-scope-scripts
    Preparing search index...

    Evaluate a set of expectations and report back the actions to run when they pass (the caller decides whether to execute them).

    interface ConditionAction {
        actions: PirAction[];
        actionType: "condition";
        dataSource?: string;
        expectations: Expectation[];
        id: string;
        retry?: RetryConfig;
    }
    Index

    Properties

    actions: PirAction[]

    actions returned for execution when all expectations pass

    actionType: "condition"
    dataSource?: string
    expectations: Expectation[]
    id: string
    retry?: RetryConfig