super-productivity/packages/super-sync-server/src/sync
Johannes Millan 07589dd67f refactor(sync): extract DeviceService and OperationDownloadService
Continue SyncService extraction with two more services:

- DeviceService: device ownership and online status queries
  (isDeviceOwner, getAllUserIds, getOnlineDeviceCount)
- OperationDownloadService: operation retrieval with gap detection
  and snapshot optimization (getOpsSince, getOpsSinceWithSeq, getLatestSeq)

SyncService now delegates to 6 extracted services:
- ValidationService
- RateLimitService
- RequestDeduplicationService
- DeviceService
- OperationDownloadService

All 236 tests passing.
2025-12-27 20:43:25 +01:00
..
services refactor(sync): extract DeviceService and OperationDownloadService 2025-12-27 20:43:25 +01:00
cleanup.ts fix(sync): refresh storage cache after cleanup and add serverTime to response 2025-12-23 18:31:57 +01:00
index.ts feat(sync-server): implement operation log sync API 2025-12-12 20:46:12 +01:00
sync.routes.ts fix(sync): iteratively cleanup storage until quota satisfied 2025-12-25 10:18:35 +01:00
sync.service.ts refactor(sync): extract DeviceService and OperationDownloadService 2025-12-27 20:43:25 +01:00
sync.types.ts feat(migration): implement pre-migration dialog and backup functionality 2025-12-24 13:49:37 +01:00