Skip to main content

Function: createSiteSyncActions()

createSiteSyncActions(deps: SiteSyncDependencies): SiteSyncActions

Defined in: src/stores/sites/useSiteSync.ts:198

Creates site synchronization actions with injected dependencies.

Parametersโ€‹

depsโ€‹

SiteSyncDependencies

Dependencies required for synchronization operations

Returnsโ€‹

SiteSyncActions

Complete set of synchronization actions

Remarksโ€‹

Factory function that creates all site synchronization actions with proper dependency injection. This pattern allows for easier testing and maintains separation of concerns between the sync logic and store state management.

The created actions handle: