Interface: SiteSyncDependencies
Defined in: src/stores/sites/useSiteSync.ts:164
Dependencies required for site synchronization operations.
Remarksโ
These dependencies are injected into the sync actions to maintain separation of concerns and enable easier testing. The dependencies provide access to the site state without direct coupling to the Zustand store implementation.
Propertiesโ
getSites()โ
getSites: () =>
Site
[]
Defined in: src/stores/sites/useSiteSync.ts:166
Function to get current sites from the store
Returnsโ
Site
[]
setSites()โ
setSites: (
sites
:Site
[]) =>void
Defined in: src/stores/sites/useSiteSync.ts:168
Function to update sites in the store
Parametersโ
sitesโ
Site
[]
Returnsโ
void