Skip to main content

Type Alias: MonitorLifecycleEventData

MonitorLifecycleEventData = StatusUpdate & { monitor: Monitor; site: Site; }

Defined in: shared/types/events.ts:481

Canonical payload shared by monitor lifecycle events.

Type Declarationโ€‹

monitorโ€‹

monitor: Monitor

Monitor entity associated with the lifecycle transition.

siteโ€‹

site: Site

Site entity associated with the lifecycle transition.

Remarksโ€‹

Builds on StatusUpdate by guaranteeing the presence of fully hydrated monitor and site entities. The timestamp field mirrors the real-time status contract, using an ISO-8601 string for consistency across renderer, preload, and backend consumers.