Function: isValidHistoryRow()
isValidHistoryRow(
row
:HistoryRow
):boolean
Defined in: electron/services/database/utils/historyMapper.ts:146
Validates that a database row contains the minimum required fields for a history entry.
Parameters
row
The database row to validate.
Returns
boolean
true
if the row is valid for a history entry, otherwise false
.
Remarks
Ensures that the row has a valid monitor ID, status, and timestamp.
Example
if (isValidHistoryRow(row)) { ... }