Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617/** * Increment counter. * * An `incr` operation carries a `delta` (an integer, possibly negative) to add * to the running value. When a stream of ops is folded (see `apply` in * `reducer.ts`), an `incr` adds its delta to the current value if it is a * number, otherwise it builds up from zero. */export interface IncrOperation { $type: "local.crdt.ops#incr"; opId: string; previousOpIds: string[]; /** The value-object id this op writes to. */ target: string; delta: number;}