summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-05-27 15:25:45 -0400
committerBrian Potchik <brian@vector35.com>2024-05-27 15:25:45 -0400
commit309d606f1c51168c0ef30ccf7850d483429fa35b (patch)
tree145ee44e1a2c605bb8f7da92d3c159b715323e1a
parent7146494fbe0035317eefa2aba75312ba78e87bc4 (diff)
Add additional JSON schema validation for registered settings.
-rw-r--r--binaryninjaapi.h2
-rw-r--r--python/settings.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 0e7f2db2..55bb3b44 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -15840,7 +15840,7 @@ namespace BinaryNinja {
"message" string None Yes An optional message with additional emphasis
"readOnly" bool None Yes Only enforced by UI elements
"optional" bool None Yes Indicates setting can be null
- "hidden" bool "type" is "string" Yes Indicates the UI should conceal the content
+ "hidden" bool "type" is "string" Yes Indicates the UI should conceal the content. The "ignore" property is required to specify the applicable storage scopes
"requiresRestart bool None Yes Enable restart notification in the UI upon change
"uiSelectionAction" string "type" is "string" Yes {"file", "directory", <Registered UIAction Name>} Informs the UI to add a button to open a selection dialog or run a registered UIAction
================== ====================================== ================== ======== =======================================================================
diff --git a/python/settings.py b/python/settings.py
index fa7cc275..2f23bde8 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -77,7 +77,7 @@ class Settings:
"message" string None Yes An optional message with additional emphasis
"readOnly" boolean None Yes Only enforced by UI elements
"optional" boolean None Yes Indicates setting can be null
- "hidden" bool "type" is "string" Yes Indicates the UI should conceal the content
+ "hidden" bool "type" is "string" Yes Indicates the UI should conceal the content. The "ignore" property is required to specify the applicable storage scopes
"requiresRestart boolean None Yes Enable restart notification in the UI upon change
"uiSelectionAction" string "type" is "string" Yes {"file", "directory", <Registered UIAction Name>} Informs the UI to add a button to open a selection dialog or run a registered UIAction
=================== ====================================== ================== ======== =======================================================================