Skip to main content

Interface: HistoryRow

Defined in: shared/types/database.ts:34

Represents a row in the history table.

Remarksโ€‹

Used for storing monitor status change history and related metadata.

Extendsโ€‹

Propertiesโ€‹

id?โ€‹

optional id: string | number

Defined in: shared/types/database.ts:25

Unique identifier for the row.

Remarksโ€‹

May be a number (autoincrement) or string (custom).

Inherited fromโ€‹

BaseRow.id


details?โ€‹

optional details: string

Defined in: shared/types/database.ts:38

Additional details about the history entry.


monitorId?โ€‹

optional monitorId: string

Defined in: shared/types/database.ts:42

The identifier of the monitor associated with this history entry.


responseTime?โ€‹

optional responseTime: number

Defined in: shared/types/database.ts:46

The response time recorded for this entry, in milliseconds.


status?โ€‹

optional status: string

Defined in: shared/types/database.ts:50

The status of the monitor at this point in history ("up" or "down").


timestamp?โ€‹

optional timestamp: number

Defined in: shared/types/database.ts:54

The timestamp (epoch milliseconds) when this entry was recorded.