Skip to content

ReviseInput

ReviseInput = ShapesChoice | { keepShapes: true; shapes?: never; shapeless?: never; } & object

Input to OperationBuilder.revise(name, input).

readonly data: unknown

The full replacement data (not a patch).

readonly optional affirmedTargets?: readonly string[]

The complete affirmation set for the changed claim.

readonly optional expectedVersion?: number

Apply only if the Thing is still at this version; a stale value is a CONFLICT with details.reason = 'expected_version_mismatch'.

readonly optional leaseId?: string

Read-lease token from thing.getWithLease.