From c26680fd7399e8e1fb5e3c10a3f72f592d59e370 Mon Sep 17 00:00:00 2001 From: Birudo un Date: Mon, 18 Mar 2024 20:29:53 +0800 Subject: feat: support skipping already import dictionaries (#769) --- types/ext/dictionary-importer.d.ts | 2 +- types/ext/dictionary-worker.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'types') diff --git a/types/ext/dictionary-importer.d.ts b/types/ext/dictionary-importer.d.ts index 17bd1bb4..3a320f96 100644 --- a/types/ext/dictionary-importer.d.ts +++ b/types/ext/dictionary-importer.d.ts @@ -45,7 +45,7 @@ export type ProgressData = { }; export type ImportResult = { - result: Summary; + result: Summary | null; errors: Error[]; }; diff --git a/types/ext/dictionary-worker.d.ts b/types/ext/dictionary-worker.d.ts index f10ed4a5..215ff94c 100644 --- a/types/ext/dictionary-worker.d.ts +++ b/types/ext/dictionary-worker.d.ts @@ -59,12 +59,12 @@ export type MessageGetImageDetailsParams = { export type MessageData = MessageCompleteData | MessageProgressData | MessageGetImageDetailsData; export type MessageCompleteResultSerialized = { - result: DictionaryImporter.Summary; + result: DictionaryImporter.Summary | null; errors: Core.SerializedError[]; }; export type MessageCompleteResult = { - result: DictionaryImporter.Summary; + result: DictionaryImporter.Summary | null; errors: Error[]; }; -- cgit v1.2.3