aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
authorBirudo un <cokoryuu@gmail.com>2024-03-18 20:29:53 +0800
committerGitHub <noreply@github.com>2024-03-18 12:29:53 +0000
commitc26680fd7399e8e1fb5e3c10a3f72f592d59e370 (patch)
treef088a7b06c3ef0440b8aea0d0dff772435a48601 /types/ext
parent7ee76d708934adeef06479f7757beb22c6c01d14 (diff)
feat: support skipping already import dictionaries (#769)
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/dictionary-importer.d.ts2
-rw-r--r--types/ext/dictionary-worker.d.ts4
2 files changed, 3 insertions, 3 deletions
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<TResponseRaw = unknown> = MessageCompleteData<TResponseRaw> | 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[];
};