Sanity Library Reference Docs
Preparing search index...
@sanity/workflow-engine
index
WorkflowPatch
Interface WorkflowPatch
interface
WorkflowPatch
{
commit
:
(
options
?:
WorkflowCommitOptions
)
=>
Promise
<
SanityDocument
>
;
ifRevisionId
:
(
rev
:
string
)
=>
WorkflowPatch
;
set
:
(
props
:
Record
<
string
,
unknown
>
)
=>
WorkflowPatch
;
setIfMissing
:
(
props
:
Record
<
string
,
unknown
>
)
=>
WorkflowPatch
;
unset
:
(
paths
:
string
[]
)
=>
WorkflowPatch
;
}
Index
Properties
commit
if
Revision
Id
set
set
If
Missing
unset
Properties
commit
commit
:
(
options
?:
WorkflowCommitOptions
)
=>
Promise
<
SanityDocument
>
if
Revision
Id
ifRevisionId
:
(
rev
:
string
)
=>
WorkflowPatch
set
set
:
(
props
:
Record
<
string
,
unknown
>
)
=>
WorkflowPatch
set
If
Missing
setIfMissing
:
(
props
:
Record
<
string
,
unknown
>
)
=>
WorkflowPatch
unset
unset
:
(
paths
:
string
[]
)
=>
WorkflowPatch
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
commit
if
Revision
Id
set
set
If
Missing
unset
Sanity Library Reference Docs
Loading...