aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-14 22:42:11 -0500
committerGitHub <noreply@github.com>2021-01-14 22:42:11 -0500
commit1dcfbf6ba6516d05f756d26bf84049d94776ab14 (patch)
tree538a1a4346a4f98ba366949eda33b4e981e58766 /ext/bg/data
parentd9f5d21d15a8239ecf349d254606be2c8fa70d31 (diff)
Support suspending new anki cards (#1240)
* Add new option: anki.suspendNewCards * Update Anki APIs * Suspend card based on options * Add setting * Disable wrap for toggle property
Diffstat (limited to 'ext/bg/data')
-rw-r--r--ext/bg/data/options-schema.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index 44bff10a..8c00d455 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -739,7 +739,8 @@
"kanji",
"duplicateScope",
"checkForDuplicates",
- "fieldTemplates"
+ "fieldTemplates",
+ "suspendNewCards"
],
"properties": {
"enable": {
@@ -841,6 +842,10 @@
"fieldTemplates": {
"type": ["string", "null"],
"default": null
+ },
+ "suspendNewCards": {
+ "type": "boolean",
+ "default": false
}
}
},