data/services/settings_sync_service library
Classes
- ClassifiedError
- Classified HTTP error.
- SettingsSyncController
- Settings sync service controller.
- SettingsSyncFetchResult
- Result from fetching user settings.
- SettingsSyncUploadResult
- Result from uploading user settings.
- SyncKeys
- Keys used for sync entries — mirrors the TS SYNC_KEYS constant.
- UserSyncContent
- Content portion of user sync data — flat key-value storage. Keys are opaque strings (typically file paths). Values are UTF-8 string content (JSON, Markdown, etc).
- UserSyncData
- Full response from GET /api/neomage/user_settings.
Functions
-
classifyHttpError(
Object error) → ClassifiedError - Classify an HTTP error into a category.
-
getRetryDelay(
int attempt) → int - Compute retry delay with exponential backoff.