Refactor transaction sync module

Refactors the transaction sync module for better organization.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 10:05:06 +00:00
parent e3e29d6ebe
commit 74e7ea19fd
7 changed files with 264 additions and 231 deletions

View File

@@ -1,6 +1,6 @@
import { isSyncEnabled, setSyncEnabled, getLastSyncTime, setLastSyncTime, initSyncSettings } from './sync/syncSettings';
import { uploadTransactions, downloadTransactions } from './sync/transactionSync';
import { uploadTransactions, downloadTransactions, deleteTransactionFromServer } from './sync/transactionSync';
import { uploadBudgets, downloadBudgets } from './sync/budgetSync';
// Export all utility functions to maintain the same public API
@@ -9,6 +9,7 @@ export {
setSyncEnabled,
uploadTransactions,
downloadTransactions,
deleteTransactionFromServer,
uploadBudgets,
downloadBudgets,
getLastSyncTime,