Skip to main content

Interface: StatusAlert

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

Normalized alert payload stored within the queue.

Propertiesโ€‹

idโ€‹

readonly id: string

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

Unique identifier for the alert.


monitorIdโ€‹

readonly monitorId: string

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

Identifier of the monitor that triggered the alert.


monitorNameโ€‹

readonly monitorName: string

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

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


previousStatus?โ€‹

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

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

Optional previous status for comparison messaging.


siteIdentifierโ€‹

readonly siteIdentifier: string

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

Identifier of the site associated with the monitor.


siteNameโ€‹

readonly siteName: string

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

Display name of the source site.


statusโ€‹

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

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

Monitor status after processing the update.


timestampโ€‹

readonly timestamp: number

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

Epoch milliseconds when the alert was recorded.