Interface: MutatorOrigin
Interface: MutatorOrigin
Section titled “Interface: MutatorOrigin”Defined in: core/src/mutators.ts:62
Runtime origin information available to a mutator body — the per-tab clientID and the mutation’s monotonic id. Optional on the type so both client-side optimistic invocation and server-side canonical replay can pass compatible params (server-side wiring lands in Phase 4). CRDT primitives that need a stable “who incremented?” identifier (e.g. G-Counter / PN-Counter) read this off the mutator params instead of forcing users to plumb clientID from outside — Alpha (dogfood) called out the missing exposure as a hard blocker for building any CRDT-backed feature.
Properties
Section titled “Properties”clientID?
Section titled “clientID?”
readonlyoptionalclientID?:string
Defined in: core/src/mutators.ts:63
mutationID?
Section titled “mutationID?”
readonlyoptionalmutationID?:number
Defined in: core/src/mutators.ts:64