From 380e5667eda8a3554f063d1f7bd21e24020e5cd2 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sun, 26 Nov 2023 16:05:58 -0500 Subject: Change password setting types to use new 'hidden' property. --- binaryninjaapi.h | 3 ++- python/settings.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/binaryninjaapi.h b/binaryninjaapi.h index f3ca80b2..d73c4a2b 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -15010,7 +15010,7 @@ namespace BinaryNinja { Property JSON Data Type Prerequisite Optional {Allowed Values} and Notes ================== ====================================== ====================================== ======== ======================================================================= "title" string None No Concise Setting Title - "type" string None No {"array", "boolean", "number", "object", "password", "string"} + "type" string None No {"array", "boolean", "number", "object", "string"} "elementType" string "type" is "array" or type is "object" No {"string"} "enum" array : {string} "type" is "array" Yes Enumeration definitions "enumDescriptions" array : {string} "type" is "array" Yes Enumeration descriptions that match "enum" array @@ -15024,6 +15024,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 "requiresRestart bool None Yes Enable restart notification in the UI upon change ================== ====================================== ====================================== ======== ======================================================================= diff --git a/python/settings.py b/python/settings.py index f7bee686..163a96c0 100644 --- a/python/settings.py +++ b/python/settings.py @@ -79,6 +79,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 "requiresRestart boolean None Yes Enable restart notification in the UI upon change ================== ====================================== ================== ======== ======================================================================= -- cgit v1.3.1