Aller au contenu
Français

ORSetJson

Ce contenu n’est pas encore disponible dans votre langue.

ORSetJson = object

Defined in: src/crdt/ORSet.ts:296

Wire shape.

A counters field used to sit here, carrying the per-replica sequence the old tags were minted from. Tags no longer come off a counter, so it is gone rather than kept empty — a field nothing maintains reads as state and is one refactor away from being trusted again. A frame from a pre-#722 peer still carries it; it is simply not read. The reverse does not hold: such a peer requires the field and rejects a frame without it, which is what makes this a breaking wire change rather than an additive one.

readonly elements: Record<string, string[]>

Defined in: src/crdt/ORSet.ts:299

Per-element-key tag list.


readonly optional elementValues?: Record<string, string>

Defined in: src/crdt/ORSet.ts:302

Per-element-key JSON-stringified element value. Optional for backwards-compat with v0 wire shape (default identity only).


readonly kind: "ORSet"

Defined in: src/crdt/ORSet.ts:297


readonly tombstones: Record<string, string[]>

Defined in: src/crdt/ORSet.ts:303