mirror of
https://github.com/ilyhalight/voice-over-translation.git
synced 2026-04-28 11:30:27 +00:00
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.
22 lines
595 B
TypeScript
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;
|
|
};
|