From cb385d1b280551eb16f1f9836a93cc9bcc43da15 Mon Sep 17 00:00:00 2001 From: V Date: Wed, 10 May 2023 23:14:04 +0200 Subject: New Plugin: Translate (#1089) Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> --- src/utils/types.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/utils') 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,8 +147,15 @@ export interface PluginSettingCommon { description: string; placeholder?: string; onChange?(newValue: any): void; + /** + * Whether changing this setting requires a restart + */ restartNeeded?: boolean; componentProps?: Record; + /** + * Hide this setting from the settings UI + */ + hidden?: boolean; /** * Set this if the setting only works on Browser or Desktop, not both */ -- cgit