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

    Assert a set of expectations about the page. When they all pass, optionally run further actions.

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

    Properties

    actions?: PirAction[]

    actions to run next when all expectations pass

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