Function: deleteSiteWithAdapters()
deleteSiteWithAdapters(
options:SiteDeletionOperationOptions):SiteDeletionOperationResult
Defined in: electron/utils/database/siteDeletion.ts:95
Removes a site and its monitors using transaction-scoped repository adapters.
Parameters
options
Context required to execute the deletion.
Returns
Metadata describing the outcome of the deletion.
Remarks
Encapsulates the canonical repository operations for site deletion so that
higher level services (for example, SiteManager and SiteWriterService)
share the same implementation. This prevents divergent logic that could
introduce nested transaction attempts or inconsistent cache behavior.