Function: updateMonitorAndSave()
updateMonitorAndSave(
siteIdentifier:string,monitorId:string,updates:Partial<Site["monitors"][0]>,deps:SiteOperationsDependencies):Promise<void>
Defined in: src/stores/sites/utils/operationHelpers.ts:299
Updates a monitor within a site and saves it. Common pattern for monitor update operations.
Parametersโ
siteIdentifierโ
string
The site identifier.
monitorIdโ
string
The monitor identifier.
updatesโ
Monitor updates to apply.
depsโ
Site operation dependencies.
Returnsโ
Promise<void>
Promise that resolves when the monitor update completes.