feat(reader): add dictionary lookup to epub reader selection popup

This commit is contained in:
neon
2026-05-14 05:46:43 +00:00
parent 35396ecfdd
commit d1d0b7b2c1
9 changed files with 1259 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
export interface DictionaryDefinition {
definition: string;
example?: string | null;
}
export interface DictionaryEntry {
partOfSpeech: string;
definitions: DictionaryDefinition[];
}
export interface DictionaryResult {
word: string;
phonetic: string | null;
audioUrl: string | null;
entries: DictionaryEntry[];
provider: "free-dictionary" | "wiktionary";
}
+1
View File
@@ -34,3 +34,4 @@ export * from "./table-layout";
export * from "./series-collapse";
export * from "./entity-manager";
export * from "./font";
export * from "./dictionary";