Const
Alpha
Schema-aware patching with Sanity Agent Actions.
documentId
targetDocument
async
noWrite
conditionalPaths
Returns a stable callback that triggers the action and resolves a Promise with the patch result.
Schema-aware patching with Sanity Agent Actions.
documentIdortargetDocument(mutually exclusive).async,noWrite,conditionalPaths.Returns a stable callback that triggers the action and resolves a Promise with the patch result.