Interface: MutationEnvelope
Interface: MutationEnvelope
Section titled “Interface: MutationEnvelope”Defined in: core/src/protocol/sync.ts:30
A single client mutation the client wants the server to canonicalize.
args is opaque JSON — the mutator function on the server destructures
it, so its shape is enforced by the mutator’s own input type (typically
a Zod schema in the mutator definition).
Properties
Section titled “Properties”
readonlyid:number
Defined in: core/src/protocol/sync.ts:31
readonlyname:string
Defined in: core/src/protocol/sync.ts:32
readonlyargs:unknown
Defined in: core/src/protocol/sync.ts:33
timestamp
Section titled “timestamp”
readonlytimestamp:number
Defined in: core/src/protocol/sync.ts:34