diff options
| author | V <vendicated@riseup.net> | 2023-05-10 23:14:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 23:14:04 +0200 |
| commit | cb385d1b280551eb16f1f9836a93cc9bcc43da15 (patch) | |
| tree | 87897b84fe78d4d10686981c8bd1c31a5326b46d /src/utils | |
| parent | 195f1a032fc63d4fd35564a9d11f8ed4afbcac4d (diff) | |
| download | Vencord-cb385d1b280551eb16f1f9836a93cc9bcc43da15.tar.gz Vencord-cb385d1b280551eb16f1f9836a93cc9bcc43da15.tar.bz2 Vencord-cb385d1b280551eb16f1f9836a93cc9bcc43da15.zip | |
New Plugin: Translate (#1089)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/types.ts | 7 |
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"; |
