Interface: StatusUpdateSnapshotPayload
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:23
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?โ
readonlyoptionaldetails:string
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:28
Optional diagnostic message describing the update (mirrors StatusUpdate.details).
monitor?โ
readonlyoptionalmonitor:Monitor
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:30
Optional snapshot of the monitor at update-time.
monitorIdโ
readonlymonitorId:string
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:31
previousStatus?โ
readonlyoptionalpreviousStatus:"degraded"|"down"|"up"|"paused"|"pending"
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:33
Optional previous status; falls back to status when absent.
responseTime?โ
readonlyoptionalresponseTime:number
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:34
site?โ
readonlyoptionalsite:Site
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:36
Optional snapshot of the site at update-time.
siteIdentifierโ
readonlysiteIdentifier:string
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:38
statusโ
readonlystatus:"degraded"|"down"|"up"|"paused"|"pending"
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:40
timestampโ
readonlytimestamp:string|Date
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:46
Remarksโ
Across IPC boundaries this may arrive as an ISO string, while internal calls may provide a Date. Both are supported.