aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/types.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts
index 60dc4d4..5c7a85c 100644
--- a/src/utils/types.ts
+++ b/src/utils/types.ts
@@ -147,9 +147,16 @@ export interface PluginSettingCommon {
description: string;
placeholder?: string;
onChange?(newValue: any): void;
+ /**
+ * Whether changing this setting requires a restart
+ */
restartNeeded?: boolean;
componentProps?: Record<string, any>;
/**
+ * Hide this setting from the settings UI
+ */
+ hidden?: boolean;
+ /**
* Set this if the setting only works on Browser or Desktop, not both
*/
target?: "WEB" | "DESKTOP" | "BOTH";