Skip to main content

Interface: StatusAlert

Defined in: src/stores/alerts/useAlertStore.ts:61

Normalized alert payload stored within the queue.

Propertiesโ€‹

idโ€‹

readonly id: string

Defined in: src/stores/alerts/useAlertStore.ts:63

Unique identifier for the alert.


monitorIdโ€‹

readonly monitorId: string

Defined in: src/stores/alerts/useAlertStore.ts:65

Identifier of the monitor that triggered the alert.


monitorNameโ€‹

readonly monitorName: string

Defined in: src/stores/alerts/useAlertStore.ts:67

Display name of the monitor, falling back to type-specific labeling.


previousStatus?โ€‹

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

Defined in: src/stores/alerts/useAlertStore.ts:69

Optional previous status for comparison messaging.


siteIdentifierโ€‹

readonly siteIdentifier: string

Defined in: src/stores/alerts/useAlertStore.ts:71

Identifier of the site associated with the monitor.


siteNameโ€‹

readonly siteName: string

Defined in: src/stores/alerts/useAlertStore.ts:73

Display name of the source site.


statusโ€‹

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

Defined in: src/stores/alerts/useAlertStore.ts:75

Monitor status after processing the update.


timestampโ€‹

readonly timestamp: number

Defined in: src/stores/alerts/useAlertStore.ts:77

Epoch milliseconds when the alert was recorded.