Handle data reset with cloud sync

The prompt requests clarification on whether data reset should also delete cloud data when the user is logged in.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 10:18:16 +00:00
parent f2a941c3da
commit cbe931ecb3
4 changed files with 146 additions and 17 deletions

View File

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