Interface: StatusUpdateSnapshotPayload
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:42
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:47
Optional diagnostic message describing the update (mirrors StatusUpdate.details).
monitor?โ
readonly optional monitor?: Monitor;
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:49
Optional snapshot of the monitor at update-time.
monitorIdโ
readonly monitorId: string;
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:50
previousStatus?โ
readonly optional previousStatus?: "degraded" | "down" | "paused" | "pending" | "up";
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:52
Optional previous status; falls back to status when absent.
responseTime?โ
readonly optional responseTime?: number;
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:53
site?โ
readonly optional site?: Site;
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:55
Optional snapshot of the site at update-time.
siteIdentifierโ
readonly siteIdentifier: string;
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:57
statusโ
readonly status: "degraded" | "down" | "paused" | "pending" | "up";
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:59
timestampโ
readonly timestamp:
| string
| Date;
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:65
Remarksโ
Across IPC boundaries this may arrive as an ISO string, while internal calls may provide a Date. Both are supported.