aboutsummaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 12:48:14 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 12:48:14 -0500
commit4da4827bcbcdd1ef163f635d9b29416ff272b0bb (patch)
treea8a0f1a8befdb78a554e1be91f2c6059ca3ad5f9 /ext/data
parentfd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff)
Add JSDoc type annotations to project (rebased)
Diffstat (limited to 'ext/data')
-rw-r--r--ext/data/schemas/dictionary-term-bank-v3-schema.json4
-rw-r--r--ext/data/schemas/options-schema.json3
2 files changed, 7 insertions, 0 deletions
diff --git a/ext/data/schemas/dictionary-term-bank-v3-schema.json b/ext/data/schemas/dictionary-term-bank-v3-schema.json
index 7d0b4868..1df99135 100644
--- a/ext/data/schemas/dictionary-term-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-bank-v3-schema.json
@@ -155,6 +155,10 @@
"type": "string",
"description": "Hover text for the image."
},
+ "description": {
+ "type": "string",
+ "description": "Description of the image."
+ },
"pixelated": {
"type": "boolean",
"description": "Whether or not the image should appear pixelated at sizes larger than the image's native resolution.",
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 8ccbfa94..7c131ecc 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -541,9 +541,12 @@
"searchKanji",
"scanOnTouchMove",
"scanOnTouchPress",
+ "scanOnTouchRelease",
"scanOnPenMove",
"scanOnPenHover",
"scanOnPenReleaseHover",
+ "scanOnPenPress",
+ "scanOnPenRelease",
"preventTouchScrolling",
"preventPenScrolling"
],