Interface: UpdateSitesCacheOptions
Defined in: electron/managers/siteManager/updateSitesCache.ts:16
Optional configuration for updateSitesCache.
Properties
action?
readonlyoptionalaction:"bulk-sync"|"delete"|"update"
Defined in: electron/managers/siteManager/updateSitesCache.ts:18
Action emitted with the optional state-sync payload.
emitSyncEvent?
readonlyoptionalemitSyncEvent:boolean
Defined in: electron/managers/siteManager/updateSitesCache.ts:20
Whether to emit a sites:state-synchronized event after updating cache.
siteIdentifier?
readonlyoptionalsiteIdentifier:string
Defined in: electron/managers/siteManager/updateSitesCache.ts:22
Identifier correlated with the emitted sync event.
sites?
readonlyoptionalsites:Site[]
Defined in: electron/managers/siteManager/updateSitesCache.ts:27
Sites to use for the sync event payload (defaults to sanitized cache snapshot).
source?
readonlyoptionalsource:"cache"|"database"|"frontend"|"import"|"monitor-update"
Defined in: electron/managers/siteManager/updateSitesCache.ts:29
Source attributed to the emitted sync event.
timestamp?
readonlyoptionaltimestamp:number
Defined in: electron/managers/siteManager/updateSitesCache.ts:31
Timestamp applied to the emitted sync event.