packages: the editor's schema attributes on every .lres-bound record (@Ref, @OneOf, @Asset, @Unit, @Range, @Color, @Text, @Derived, @Key; @AppendOnly/@ByKey) - annotation only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
48bf705ca4
commit
5197cf4cb8
11 changed files with 56 additions and 49 deletions
|
|
@ -7,9 +7,9 @@ export const SETTING_TEXT: int = 3
|
|||
|
||||
export property SettingDef {
|
||||
key: string = "" # its name in the file; a registry fills it with the entry's own name
|
||||
kind: int = 0 # SETTING_*
|
||||
@OneOf(SETTING_) kind: int = 0 # SETTING_*
|
||||
num: float = 0.0 # the default: 0 or 1 for a switch, a whole number, a float
|
||||
text: string = "" # the default of a text setting
|
||||
@Text text: string = "" # the default of a text setting
|
||||
lo: float = 0.0 # the range, inclusive; a value outside it is the default again
|
||||
hi: float = -1.0 # hi below lo: any value
|
||||
rescue: bool = false # a rescue start puts it back to its default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue