Skip to main content

Interface: UpdateSitesCacheOptions

Defined in: electron/managers/siteManager/updateSitesCache.ts:16

Optional configuration for updateSitesCache.

Properties

action?

readonly optional action: "bulk-sync" | "delete" | "update"

Defined in: electron/managers/siteManager/updateSitesCache.ts:18

Action emitted with the optional state-sync payload.


emitSyncEvent?

readonly optional emitSyncEvent: boolean

Defined in: electron/managers/siteManager/updateSitesCache.ts:20

Whether to emit a sites:state-synchronized event after updating cache.


siteIdentifier?

readonly optional siteIdentifier: string

Defined in: electron/managers/siteManager/updateSitesCache.ts:22

Identifier correlated with the emitted sync event.


sites?

readonly optional sites: Site[]

Defined in: electron/managers/siteManager/updateSitesCache.ts:27

Sites to use for the sync event payload (defaults to sanitized cache snapshot).


source?

readonly optional source: "cache" | "database" | "frontend" | "import" | "monitor-update"

Defined in: electron/managers/siteManager/updateSitesCache.ts:29

Source attributed to the emitted sync event.


timestamp?

readonly optional timestamp: number

Defined in: electron/managers/siteManager/updateSitesCache.ts:31

Timestamp applied to the emitted sync event.