Skip to content

RewriteOptions

RewriteOptions = object

Options for client.thing.rewrite.

eventRequestId: string

Caller-owned UUID retained across an ambiguous rewrite retry.


version: number

The exact version whose body is replaced.


shapes: string[]

The Shapes the version declares after the rewrite: the ones it declares now plus CorrectedThing, the correction marker.


data: Record<string, unknown>

The complete replacement body, validated as a revise’s body is. Its correctionLog keeps every earlier entry and appends one { reason }.