Move menu IDs to reduce bundle size + misc config fixes

This commit is contained in:
hensm
2022-06-03 18:25:11 +01:00
parent f98f860034
commit 079adc2f68
6 changed files with 25 additions and 30 deletions

View File

@@ -5,23 +5,15 @@ import messaging, { Port, Message } from "../messaging";
import options from "../lib/options";
import { TypedEventTarget } from "../lib/TypedEventTarget";
import { SessionRequest } from "../cast/sdk/classes";
import {
ReceiverDevice,
ReceiverSelectionActionType,
ReceiverSelectorMediaType
ReceiverSelectorMediaType,
ReceiverSelectorPageInfo
} from "../types";
const POPUP_URL = browser.runtime.getURL("ui/popup/index.html");
/** Info about sender page context. */
export interface ReceiverSelectorPageInfo {
url: string;
tabId: number;
frameId: number;
sessionRequest?: SessionRequest;
}
export interface ReceiverSelectionCast {
actionType: ReceiverSelectionActionType.Cast;
receiverDevice: ReceiverDevice;