The subset of @sanity/client the engine actually needs. The
@sanity-labs/client-fake-for-test TestClient is
structurally assignable to this, as is the real @sanity/client
SanityClient.
Optimistic concurrency: only proceed if the target document's
current _rev matches. On mismatch the underlying client throws.
Pass the _rev loaded alongside the doc you're about to write back.
The subset of
@sanity/clientthe engine actually needs. The@sanity-labs/client-fake-for-testTestClient is structurally assignable to this, as is the real@sanity/clientSanityClient.