aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
Diffstat (limited to 'types')
-rw-r--r--types/ext/settings.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/ext/settings.d.ts b/types/ext/settings.d.ts
index 8075476b..4e3b185a 100644
--- a/types/ext/settings.d.ts
+++ b/types/ext/settings.d.ts
@@ -281,6 +281,7 @@ export type AnkiOptions = {
kanji: AnkiNoteOptions;
duplicateScope: AnkiDuplicateScope;
duplicateScopeCheckAllModels: boolean;
+ duplicateBehavior: AnkiDuplicateBehavior;
checkForDuplicates: boolean;
fieldTemplates: string | null;
suspendNewCards: boolean;
@@ -394,6 +395,8 @@ export type AnkiScreenshotFormat = 'png' | 'jpeg';
export type AnkiDuplicateScope = 'collection' | 'deck' | 'deck-root';
+export type AnkiDuplicateBehavior = 'prevent' | 'new';
+
export type AnkiDisplayTags = 'never' | 'always' | 'non-standard';
export type AnkiNoteGuiMode = 'browse' | 'edit';