Skip to main content

Interface: UpdateSitesCacheOptions

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

Optional configuration for updateSitesCache.

Properties​

action?​

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

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

Action emitted with the optional state-sync payload.


emitSyncEvent?​

readonly optional emitSyncEvent?: boolean;

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

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


siteIdentifier?​

readonly optional siteIdentifier?: string;

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

Identifier correlated with the emitted sync event.


sites?​

readonly optional sites?: Site[];

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

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:54

Source attributed to the emitted sync event.


timestamp?​

readonly optional timestamp?: number;

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

Timestamp applied to the emitted sync event.