Skip to content

Documentation / @super-line/core / DocChange

Interface: DocChange

Defined in: packages/core/src/crdt-collections.ts:21

What the backend emits/ingests when a doc mutates: an opaque base64 Yjs delta, attributed by origin for echo-break.

Properties

id

id: string

Defined in: packages/core/src/crdt-collections.ts:25

Document id.


n

n: string

Defined in: packages/core/src/crdt-collections.ts:23

Collection name.


origin

origin: string

Defined in: packages/core/src/crdt-collections.ts:29

Per-writer id for echo-break — never the principal, never the CRDT actor id.


update

update: string

Defined in: packages/core/src/crdt-collections.ts:27

Opaque base64 Yjs delta.

Released under the MIT License.