diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2024-04-22 21:58:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 19:58:32 +0000 |
commit | c6d93a965a5536979221fda856903356c10c1603 (patch) | |
tree | 7511f7c3b432f00e704c62f8eaefc19c252b9dc4 /types | |
parent | 808ddef82a8eabc77ba20a0da89a392926550e76 (diff) |
add duplicate behavior dropdown (#853)
* duplicate behavior dropdown
* allow duplicate for existing users
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* remove suggestion comment
---------
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
Diffstat (limited to 'types')
-rw-r--r-- | types/ext/settings.d.ts | 3 |
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'; |