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?โ
readonlyoptionaldetails:string
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:26
Optional diagnostic message describing the update (mirrors StatusUpdate.details).
monitor?โ
readonlyoptionalmonitor:Monitor
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:28
Optional snapshot of the monitor at update-time.
monitorIdโ
readonlymonitorId:string
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:29
previousStatus?โ
readonlyoptionalpreviousStatus:"degraded"|"down"|"up"|"paused"|"pending"
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:31
Optional previous status; falls back to status when absent.
responseTime?โ
readonlyoptionalresponseTime:number
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:32
site?โ
readonlyoptionalsite:Site
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:34
Optional snapshot of the site at update-time.
siteIdentifierโ
readonlysiteIdentifier:string
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:36
statusโ
readonlystatus:"degraded"|"down"|"up"|"paused"|"pending"
Defined in: src/stores/sites/utils/statusUpdateSnapshot.ts:38
timestampโ
readonlytimestamp: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.