Skip to main content

Function: normalizeCloudSyncState()

function normalizeCloudSyncState(state: CloudSyncState): CloudSyncState;

Defined in: electron/services/sync/syncEngineState.ts:229

Stabilizes merged sync state by filling required default fields that may be missing from remote operations.

Parameters​

state​

CloudSyncState

Returns​

CloudSyncState

Remarks​

Cloud sync operations may only record "changed" fields. If default monitor fields were never explicitly written (e.g. checkInterval/timeout), other devices can observe partial configs that fail validation.