ORSetJson
이 콘텐츠는 아직 번역되지 않았습니다.
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.
Properties
Section titled “Properties”elements
Section titled “elements”
readonlyelements:Record<string,string[]>
Defined in: src/crdt/ORSet.ts:299
Per-element-key tag list.
elementValues?
Section titled “elementValues?”
readonlyoptionalelementValues?: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).
readonlykind:"ORSet"
Defined in: src/crdt/ORSet.ts:297
tombstones
Section titled “tombstones”
readonlytombstones:Record<string,string[]>
Defined in: src/crdt/ORSet.ts:303
