From 309d606f1c51168c0ef30ccf7850d483429fa35b Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 27 May 2024 15:25:45 -0400 Subject: [PATCH] Add additional JSON schema validation for registered settings. --- binaryninjaapi.h | 2 +- python/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 0e7f2db25..55bb3b44b 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", } 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 fa7cc275f..2f23bde8e 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", } Informs the UI to add a button to open a selection dialog or run a registered UIAction =================== ====================================== ================== ======== =======================================================================