feat: add resumable per-user sync pipeline

This commit is contained in:
Bastian Wagner
2026-08-15 15:53:27 +02:00
parent 1d5bbdb2a2
commit c4e986e3f8
7 changed files with 581 additions and 0 deletions

12
app/sync/states.py Normal file
View File

@@ -0,0 +1,12 @@
from dataclasses import dataclass
@dataclass(frozen=True)
class SyncOutcome:
user_id: int
status: str
discovered: int
imported: int
skipped: int
failed: int
message: str | None = None