Skip to content
English

GCounterMapJson

GCounterMapJson = object

Defined in: src/crdt/GCounterMap.ts:151

readonly counters: Record<string, GCounterJson>

Defined in: src/crdt/GCounterMap.ts:154

Per-key counter state, keyed by identity-function output.


readonly optional keyValues?: Record<string, string>

Defined in: src/crdt/GCounterMap.ts:157

Per-key JSON-stringified original key. Optional for backwards compat — when missing, JSON.parse(identity-string) is used.


readonly kind: "GCounterMap"

Defined in: src/crdt/GCounterMap.ts:152