Skip to main content

ds_sync_contract 0.1.1 copy "ds_sync_contract: ^0.1.1" to clipboard
ds_sync_contract: ^0.1.1 copied to clipboard

Pure type contract for the ds_easy_db sync ecosystem: capabilities, conflict policies, delta and push types, and the remote adapter interface.

0.1.1 #

  • Added a runnable example: an in-memory SyncRemoteAdapter with versioning, delta pull, delta deletes and conflict detection, plus policy configuration.

0.1.0 #

  • Initial contract release — types only, no logic.
  • Errors: SyncErrorKind, SyncError, SyncResolution.
  • Capabilities: SyncCapabilities, CapabilityFallback.
  • Content conflicts: ConflictPolicy (lastWriteWins, serverWins, clientWins, custom, customThreeWay), MergeFn, ThreeWayMergeFn.
  • Delete conflicts: DeleteConflictPolicy (one axis for both directions), DeleteConflictContext, DeleteConflictOutcome.
  • Scoping: UserScope.
  • Delta pull: DeltaResult, RemoteRecord, RemoteAnchor (opaque cursor).
  • Push: PushItem, PushResult, PushStatus — always per record.
  • Remote adapter interface: SyncRemoteAdapter.
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publisherdragon-software.net

Weekly Downloads

Pure type contract for the ds_easy_db sync ecosystem: capabilities, conflict policies, delta and push types, and the remote adapter interface.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on ds_sync_contract