mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
StoreStorage (Durable's storage on Chord v2's store, @earendil-works/pi-durable/storage/store) passes Durable's storage conformance suite and runs Durable's harness tests (npm run test:store). The store gets owner names and claims, one id allocator, Durable's Storage semantics for refused steps, history none/latest/rewindable with reads at a point, archive revisions and applyBatch. self.follow follows Durable's synchronous observers as Chord sources. Persisted jobs: records and state in the owner's store, restarts as Durable's tasks, abort stored, deferred state. Chord's ./next export returns for the adapter surface.
5 lines
293 B
TypeScript
5 lines
293 B
TypeScript
// Documents for apps: definitions, handles and transactions.
|
|
|
|
export { type CommitPersistence, defineState, type JsonObject, type StateDefinition } from "./definition.ts";
|
|
export type { HandleOf, KeyedHandle, SingletonHandle } from "./handles.ts";
|
|
export type { Tx } from "./transaction.ts";
|