voice-over-translation/src/types/uiManager.ts
NullVerdict 34e54405c8 Release v1.11.5: UI rewrite and bugfixes
Bump release to 1.11.5 with several fixes and refactors: rewrite of UI mounting, simplified audio loading, and multiple site compatibility fixes (VKVideo subtitles, mobile audio downloads, archive.org, Coursehunter, Yandex.Disk /d, Reddit, Odysee, YouTube Embed, proxy auto-enable logic). Update changelog, bump userscript/extension versions and publish new Chrome/Firefox build artifacts; update firefox updates manifest. Add shadow DOM mount support and other UI/module improvements across source files, plus general dependency and build updates.
2026-04-12 01:57:06 +04:00

22 lines
595 B
TypeScript

import type { VideoHandler } from "..";
import type { IntervalIdleChecker } from "../utils/intervalIdleChecker";
import type { Direction, Position } from "./components/votButton";
import type { StorageData } from "./storage";
export type ButtonLayout = {
direction: Direction;
position: Position;
};
export type OverlayMount = {
root: HTMLElement;
portalContainer: HTMLElement;
subtitlesMountContainer: HTMLElement;
};
export type UIManagerProps = {
mount: OverlayMount;
data?: Partial<StorageData>;
videoHandler?: VideoHandler;
intervalIdleChecker: IntervalIdleChecker;
};