Retrieves sync configuration, using defaults if not found.
The saved sync configuration or default.
export function getSyncConfig(): SyncConfig { try { const config = storage.getItem(STORAGE_KEYS.SYNC_CONFIG); return config ? JSON.parse(config) : DEFAULT_SYNC_CONFIG; } catch (error) { console.error("[Storage] Error retrieving sync config from storage", error); return DEFAULT_SYNC_CONFIG; }} Copy
export function getSyncConfig(): SyncConfig { try { const config = storage.getItem(STORAGE_KEYS.SYNC_CONFIG); return config ? JSON.parse(config) : DEFAULT_SYNC_CONFIG; } catch (error) { console.error("[Storage] Error retrieving sync config from storage", error); return DEFAULT_SYNC_CONFIG; }}
Retrieves sync configuration, using defaults if not found.