user/settings

Methods

(static) LoadGlobals() → {void}

Load global settings from registry

Returns:
Type: 
void

(static) Save(name, value) → {void}

Save setting to content node with type conversion

Parameters:
NameTypeDescription
namestring
valuedynamic
Returns:
Type: 
void

(static) SaveDefaults() → {void}

Load all default settings from settings.json

Returns:
Type: 
void

(static) TransformDisplaySettings(registryData) → {object}

Transform display settings from registry flat format to nested structure Registry stores: "display.libraryId.key" = "value" Returns: displaySettings[libraryId][key] = value

Parameters:
NameTypeDescription
registryDataobject
Returns:
Type: 
object

(static) loadDefaultsRecursive(configItems) → {void}

Recursively traverse config tree (unlimited depth)

Parameters:
NameTypeDescription
configItemsobject
Returns:
Type: 
void