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

    Interface InitResponse

    interface InitResponse {
        env?: "production" | "development";
        exclude?: string[];
        locale?: string;
        platform?: { name: "android" | "windows" | "ios" | "macos" };
        region?: string;
        stepDefinitions?: StepDefinitions;
        steps?: string[];
    }
    Index
    env?: "production" | "development"

    Optional override for the running environment

    exclude?: string[]

    Steps to remove from the default order. Ignored when steps is sent.

    locale?: string
    platform?: { name: "android" | "windows" | "ios" | "macos" }
    region?: string

    The OS region as an ISO 3166-1 alpha-2 code (e.g. "GB"). The Top Sites picker uses it to look up each site's urlByRegion entry. A site keeps its url when the region is missing or has no entry.

    stepDefinitions?: StepDefinitions
    steps?: string[]

    Step IDs (see StepID) to show, in the page's own order. Unknown IDs are ignored. Takes precedence over exclude.