Function: mergeSiteSnapshots()
mergeSiteSnapshots(
canonicalSite:Site,overlaySource?:Site|SiteSnapshotOverlay):Site
Defined in: shared/utils/siteSnapshots.ts:413
Combines a canonical site snapshot with overlay details, including the set of monitor overlays provided by the source payload.
Parametersโ
canonicalSiteโ
Primary site snapshot used as the base state.
overlaySource?โ
Overlay or partial site snapshot providing updated monitoring flags or monitor snapshots.
Returnsโ
Site snapshot enriched with overlay data when available.