feat: streamline Kiku duplicate grouping and popup flow (#38)

This commit is contained in:
2026-04-01 00:04:03 -07:00
parent ec64eebb80
commit 006ff22d42
29 changed files with 1218 additions and 34 deletions

View File

@@ -147,7 +147,7 @@ async function main(): Promise<void> {
{ forceOverride: true },
);
const noteId = await addYomitanNoteViaSearch(
const addResult = await addYomitanNoteViaSearch(
word!,
{
getYomitanExt: () => yomitanExt,
@@ -168,6 +168,7 @@ async function main(): Promise<void> {
logger,
);
const noteId = addResult.noteId;
if (typeof noteId !== 'number') {
throw new Error('Yomitan failed to create note.');
}