Skip to content

Documentation / @super-line/core / StoreChange

Interface: StoreChange

Defined in: packages/core/src/store.ts:39

What a Store emits when a Resource mutates — and the symmetric shape a write carries IN. update is a store-DEFINED opaque payload (a CRDT delta, or a full JSON value for last-writer-wins); core relays it without parsing (base64 it if it's bytes under the JSON serializer). origin is the per-writer id used for echo-break — never the Principal, never the CRDT actor id.

Properties

id

id: string

Defined in: packages/core/src/store.ts:40


origin

origin: string

Defined in: packages/core/src/store.ts:42


update

update: unknown

Defined in: packages/core/src/store.ts:41

Released under the MIT License.