Function: normalizeAppSettings()
normalizeAppSettings(
candidate:Partial<AppSettings>):AppSettings
Defined in: src/stores/settings/state.ts:86
Normalizes persisted or partial settings objects into a complete AppSettings structure.
Parametersโ
candidateโ
Partial<AppSettings> = {}
Partial settings snapshot.
Returnsโ
A fully normalized settings object.
Remarksโ
Missing properties are filled with defaultSettings to guarantee a fully-populated settings object.