@duckduckgo/privacy-dashboard
    Preparing search index...

    Interface ExtensionMessageGetPrivacyDashboardData

    This describes the data that the extension needs to provide

    interface ExtensionMessageGetPrivacyDashboardData {
        messageType: "getPrivacyDashboardData";
        options: { tabId?: number | null };
    }
    Index

    Properties

    Properties

    messageType: "getPrivacyDashboardData"
    options: { tabId?: number | null }

    Type Declaration

    • OptionaltabId?: number | null

      If we send a tabId, it's likely because the dashboard was loaded for debugging. But if we send null we expect the extension to figure out the correct tab