Skip to main content

Interface: SettingsApiInterface

Defined in: electron/preload/domains/settingsApi.ts:33

Interface defining the settings domain API operations.

Hierarchy

View Summary

Extends

Properties

getHistoryLimit

getHistoryLimit: IpcBridgeMethod<"get-history-limit">

Defined in: electron/preload/domains/settingsApi.ts:39

Gets the current history retention limit

Returns

Promise resolving to the current history limit in days

Overrides

SettingsChannelMap.getHistoryLimit


resetSettings

resetSettings: IpcBridgeMethod<"reset-settings">

Defined in: electron/preload/domains/settingsApi.ts:46

Resets all persisted application settings to their defaults

Returns

Promise that resolves when the reset completes

Overrides

SettingsChannelMap.resetSettings


updateHistoryLimit

updateHistoryLimit: IpcBridgeMethod<"update-history-limit">

Defined in: electron/preload/domains/settingsApi.ts:53

Updates the history retention limit

Returns

Promise resolving to the updated history limit value

Overrides

SettingsChannelMap.updateHistoryLimit