This describes the data that the extension needs to provide

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

Properties

Properties

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

Type declaration

  • OptionaltabId?: null | number

    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