Interface: HistoryRow
Defined in: shared/types/database.ts:45
Represents a row in the history table.
Remarksโ
Used for storing monitor status change history and related metadata.
Hierarchyโ
Extendsโ
Propertiesโ
id?โ
optional id?: string | number;
Defined in: shared/types/database.ts:34
Unique identifier for the row.
Remarksโ
May be a number (autoincrement) or string (custom).
Inherited fromโ
details?โ
optional details?: string;
Defined in: shared/types/database.ts:49
Additional details about the history entry.
monitorId?โ
optional monitorId?: string;
Defined in: shared/types/database.ts:53
The identifier of the monitor associated with this history entry.
responseTime?โ
optional responseTime?: number;
Defined in: shared/types/database.ts:57
The response time recorded for this entry, in milliseconds.
status?โ
optional status?: "degraded" | "down" | "up";
Defined in: shared/types/database.ts:61
The status of the monitor at this point in history.
timestamp?โ
optional timestamp?: number;
Defined in: shared/types/database.ts:65
The timestamp (epoch milliseconds) when this entry was recorded.