aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data/options-schema.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-08 16:25:07 -0500
committerGitHub <noreply@github.com>2020-11-08 16:25:07 -0500
commit16321a1f8c9902be100b01067e1593694fa51341 (patch)
tree2cb25c4fe0447e58c91338cdce69e7b370518d25 /ext/bg/data/options-schema.json
parent4e3040941038acc4f739e4077aee14cb64d3aa81 (diff)
Add duplicate check option (#1012)
* Add anki.checkForDuplicates option * Use checkForDuplicates for button display * Add property to card creation
Diffstat (limited to 'ext/bg/data/options-schema.json')
-rw-r--r--ext/bg/data/options-schema.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index 159ca009..edb30074 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -671,6 +671,7 @@
"terms",
"kanji",
"duplicateScope",
+ "checkForDuplicates",
"fieldTemplates"
],
"properties": {
@@ -771,6 +772,10 @@
"default": "collection",
"enum": ["collection", "deck", "deck-root"]
},
+ "checkForDuplicates": {
+ "type": "boolean",
+ "default": true
+ },
"fieldTemplates": {
"type": ["string", "null"],
"default": null