Function: buildCanonicalLocalState()
function buildCanonicalLocalState(
sites: Site[],
settings: Record<string, string>
): CanonicalLocalState;
Defined in: electron/services/sync/syncEngineState.ts:456
Builds a canonical representation of the current local state.
Parameters
sites
Site[]
Current sites including nested monitors.
settings
Record<string, string>
Full key/value settings map.
Returns
Remarks
This canonical form is used to diff against the persisted baseline when generating local operation log entries.