Skip to main content

Interface: StatusAlert

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

Normalized alert payload stored within the queue.

Propertiesโ€‹

idโ€‹

readonly id: string;

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

Unique identifier for the alert.


monitorIdโ€‹

readonly monitorId: string;

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

Identifier of the monitor that triggered the alert.


monitorNameโ€‹

readonly monitorName: string;

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

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:54

Optional previous status for comparison messaging.


siteIdentifierโ€‹

readonly siteIdentifier: string;

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

Identifier of the site associated with the monitor.


siteNameโ€‹

readonly siteName: string;

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

Display name of the source site.


statusโ€‹

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

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

Monitor status after processing the update.


timestampโ€‹

readonly timestamp: number;

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

Epoch milliseconds when the alert was recorded.