SettingsModule
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SettingsModule(
client):SettingsModule
Parameters
Section titled “Parameters”client
Section titled “client”Returns
Section titled “Returns”SettingsModule
Methods
Section titled “Methods”getSettings()
Section titled “getSettings()”getSettings(
group?):Promise<Record<string,any>>
Fetch all settings, optionally filtered by group.
Parameters
Section titled “Parameters”group?
Section titled “group?”string
Optional group name (e.g., ‘site’, ‘system’)
Returns
Section titled “Returns”Promise<Record<string, any>>
updateSettings()
Section titled “updateSettings()”updateSettings(
payload):Promise<any>
Update multiple settings via upsert.
Parameters
Section titled “Parameters”payload
Section titled “payload”Record<string, any>
Key-value pairs of settings to update
Returns
Section titled “Returns”Promise<any>