Creates an instance of AppDataSection.
Readonly
defaultThe default values for the section.
Readonly
fileThe parent JsonFile instance.
Protected
isIndicates whether the section has been initialized.
Protected
Readonly
keysIndicates whether the keys in the section are fixed.
Protected
Readonly
nameThe name of the section.
Readonly
prefixThe base string used as a prefix for the section.
The CommandBuilder associated with the section.
Gets the keys in the section.
The keys in the section.
Asserts that a key-value pair is valid.
The key to assert.
The preset options to validate.
Defines a property for the section.
The key of the property.
The options for the property.
Gets the object path prefix as dot-separated keys for this section of the JSON file database.
Optional
key: stringAn optional key to append to the prefix path.
The object path prefix.
An error if the keys are fixed and the specified key does not exist in the default values.
Sets the value associated with the specified key.
The key to set the value for.
The value to set.
Indicates whether to save the section after setting the value.
Sets all the values in the section.
Indicates whether to save the section after setting the values.
Generated using TypeDoc
A class that represents the user-presets section of the JSON file used as simple database.