summaryrefslogtreecommitdiff
path: root/ext/data/schemas
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-04-22 21:58:32 +0200
committerGitHub <noreply@github.com>2024-04-22 19:58:32 +0000
commitc6d93a965a5536979221fda856903356c10c1603 (patch)
tree7511f7c3b432f00e704c62f8eaefc19c252b9dc4 /ext/data/schemas
parent808ddef82a8eabc77ba20a0da89a392926550e76 (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 'ext/data/schemas')
-rw-r--r--ext/data/schemas/options-schema.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 660961a8..f9d11dcf 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -988,6 +988,11 @@
"type": "boolean",
"default": true
},
+ "duplicateBehavior": {
+ "type": "string",
+ "enum": ["prevent", "new"],
+ "default": "prevent"
+ },
"fieldTemplates": {
"type": ["string", "null"],
"default": null