mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Merge Global settings and Stream settings into one dialog
This commit is contained in:
19
src/types/setting-definition.d.ts
vendored
Normal file
19
src/types/setting-definition.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
export type SettingDefinition = {
|
||||
default: any;
|
||||
optionsGroup?: string;
|
||||
options?: {[index: string]: string};
|
||||
multipleOptions?: {[index: string]: string};
|
||||
unsupported?: string | boolean;
|
||||
note?: string | HTMLElement;
|
||||
type?: SettingElementType;
|
||||
ready?: (setting: SettingDefinition) => void;
|
||||
// migrate?: (this: Preferences, savedPrefs: any, value: any) => void;
|
||||
min?: number;
|
||||
max?: number;
|
||||
steps?: number;
|
||||
experimental?: boolean;
|
||||
params?: any;
|
||||
label?: string;
|
||||
};
|
||||
|
||||
export type SettingDefinitions = {[index in PrefKey]: SettingDefinition};
|
Reference in New Issue
Block a user