sync/sync_types library
Common sync-related types shared across features.
Classes
-
Delta<
T, Id> - Delta returned by remote: upserts and deletions since a point in time.
-
HasId<
Id> - Marker interface for models that expose a stable identifier.
- HasSoftDelete
- Optional marker for models that support soft delete semantics.
- HasUpdatedAt
-
Marker interface for models that carry an
updatedAt
timestamp. - SyncScope
- Scope identifies a logical subset for syncing, e.g., per user or template.