Function: rowToSite()
Defined in: electron/services/database/utils/siteMapper.ts:84
Convert a database row to a Site object (without monitors).
Parameters
row
Raw database row to convert
Returns
Site object with validated fields
Remarks
Handles type conversion and ensures consistent data transformation across all site-related database operations. Validates that the identifier is present and valid before creating the site object.
Throws
When the database row lacks a valid identifier