Skip to main content

Interface: HistoryRow

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

Represents a row in the history table.

Remarksโ€‹

Used for storing monitor status change history and related metadata.

Hierarchyโ€‹

View Summary

Extendsโ€‹

Propertiesโ€‹

id?โ€‹

optional id?: string | number

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

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

Additional details about the history entry.


monitorId?โ€‹

optional monitorId?: string

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

The identifier of the monitor associated with this history entry.


responseTime?โ€‹

optional responseTime?: number

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

The response time recorded for this entry, in milliseconds.


status?โ€‹

optional status?: string

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

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


timestamp?โ€‹

optional timestamp?: number

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

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