Skip to main content

Interface: StatusUpdateSnapshotPayload

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:21

Status update payload used by the renderer to apply an optimistic snapshot update to the site store.

Remarksโ€‹

This payload is intentionally not typed as StatusUpdate because the shared StatusUpdate type intersects an index signature, which causes strict TS configs (e.g. noPropertyAccessFromIndexSignature) and some lint rules to fight normal property access.

Propertiesโ€‹

details?โ€‹

readonly optional details: string

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:26

Optional diagnostic message describing the update (mirrors StatusUpdate.details).


monitor?โ€‹

readonly optional monitor: Monitor

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:28

Optional snapshot of the monitor at update-time.


monitorIdโ€‹

readonly monitorId: string

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:29


previousStatus?โ€‹

readonly optional previousStatus: "degraded" | "down" | "up" | "paused" | "pending"

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:31

Optional previous status; falls back to status when absent.


responseTime?โ€‹

readonly optional responseTime: number

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:32


site?โ€‹

readonly optional site: Site

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:34

Optional snapshot of the site at update-time.


siteIdentifierโ€‹

readonly siteIdentifier: string

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:36


statusโ€‹

readonly status: "degraded" | "down" | "up" | "paused" | "pending"

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:38


timestampโ€‹

readonly timestamp: string | Date

Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:44

Remarksโ€‹

Across IPC boundaries this may arrive as an ISO string, while internal calls may provide a Date. Both are supported.