Type Alias Data
type Data = {
buttonData?: TJSGameSettingsWithUI.UISetting.ButtonData;
componentType: string;
datafield?: DataField;
defaultValue: any;
filePicker?: string;
folder?: string;
groupConfig: Omit<FormGroupConfig, "input">;
id: string;
initialValue: any;
inputData?: InputData;
key: string;
namespace: string;
range?: { max: number; min: number; step: number };
requiresReload?: boolean;
scope: "client" | "user" | "world";
selectData?: SelectData;
store: MinimalWritable<unknown>;
type: string;
}
buttonData?: TJSGameSettingsWithUI.UISetting.ButtonData;
componentType: string;
datafield?: DataField;
defaultValue: any;
filePicker?: string;
folder?: string;
groupConfig: Omit<FormGroupConfig, "input">;
id: string;
initialValue: any;
inputData?: InputData;
key: string;
namespace: string;
range?: { max: number; min: number; step: number };
requiresReload?: boolean;
scope: "client" | "user" | "world";
selectData?: SelectData;
store: MinimalWritable<unknown>;
type: string;
}
Properties
OptionalbuttonData
componentType
componentType: string
Optionaldatafield
defaultValue
defaultValue: any
Default value of setting.
OptionalfilePicker
filePicker?: string
Optionalfolder
folder?: string
groupConfig
Holds label, hint, units data.
id
id: string
initialValue
initialValue: any
Initial value of setting when UISetting data created.
OptionalinputData
key
key: string
namespace
namespace: string
Optionalrange
range?: { max: number; min: number; step: number }
OptionalrequiresReload
requiresReload?: boolean
Does the setting require a reload of the window?
scope
scope: "client" | "user" | "world"
OptionalselectData
store
type
type: string
Any associated DataField.