feat(dictionary): add Hachidori backend support (#266)

This commit is contained in:
sudacode authored and GitHub committed 2026-10-24 21:08:18 -07:00
1 parent e690ffba07
commit cbaa4626e1
143 files changed
+5564 -305

No files matched your search

+4
View File
@@ -140,7 +140,10 @@ export interface RawShortcutsConfig extends ShortcutsConfig {
openAnimetosho?: string | null;
}
export type DictionaryBackend = 'yomitan' | 'hachidori';
export interface Config {
dictionaryBackend?: DictionaryBackend;
subtitlePosition?: SubtitlePosition;
keybindings?: Keybinding[];
websocket?: WebSocketConfig;
@@ -183,6 +186,7 @@ export interface Config {
export type RawConfig = Config;
export interface ResolvedConfig {
dictionaryBackend: DictionaryBackend;
subtitlePosition: SubtitlePosition;
keybindings: Keybinding[];
websocket: Required<WebSocketConfig>;