summaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-12-06 03:53:16 +0000
committerGitHub <noreply@github.com>2023-12-06 03:53:16 +0000
commitbd5bc1a5db29903bc098995cd9262c4576bf76af (patch)
treec9214189e0214480fcf6539ad1c6327aef6cbd1c /ext/data
parentfd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff)
parent23e6fb76319c9ed7c9bcdc3efba39bc5dd38f288 (diff)
Merge pull request #339 from toasted-nutbread/type-annotations
Type annotations
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"
],