@vttforge/core / SystemSettingOptions
Interface: SystemSettingOptions<T> ​
Extends ​
Omit<SettingConfig<T>,"default">
Type Parameters ​
T ​
T
Properties ​
choices? ​
readonlyoptionalchoices?:Readonly<Record<string,string>>
Inherited from ​
config? ​
readonlyoptionalconfig?:boolean
Show it in the settings menu. Leave it off for a schema version.
Inherited from ​
default? ​
optionaldefault?:T
The initial value. Omit it and the accessor's own initializer is used: static accessor homebrew = false registers with default: false.
hint? ​
readonlyoptionalhint?:string
Inherited from ​
key? ​
optionalkey?:string
The setting key. Defaults to the accessor's name.
name? ​
readonlyoptionalname?:string
Inherited from ​
namespace ​
namespace:
string
The namespace to register under: your system or module id.
onChange? ​
readonlyoptionalonChange?: (value) =>void
Parameters ​
value ​
T
Returns ​
void
Inherited from ​
Omit.onChange
range? ​
readonlyoptionalrange?:object
max ​
readonlymax:number
min ​
readonlymin:number
step? ​
readonlyoptionalstep?:number
Inherited from ​
Omit.range
requiresReload? ​
readonlyoptionalrequiresReload?:boolean
Inherited from ​
RegisteredSetting.requiresReload
scope ​
readonlyscope:SettingScope
Inherited from ​
type ​
readonlytype:unknown