Skip to content

Interface: OrSet<T>

Defined in: core/src/schema/crdt.ts:170

T = unknown

readonly adds: Readonly<Record<string, readonly OrTag[]>>

Defined in: core/src/schema/crdt.ts:172

Map: element value → set of tags that have added it.


readonly tombstones: readonly OrTag[]

Defined in: core/src/schema/crdt.ts:174

Tags of any add that has been removed. Cross-referenced to adds.


readonly values: Readonly<Record<string, T>>

Defined in: core/src/schema/crdt.ts:177

Optional value-registry so we don’t lose non-primitive shapes through the string key.