Sanity Library Reference Docs
Preparing search index...
@sanity/workflow-engine
index
contextMap
Function contextMap
contextMap
(
instance
:
Pick
<
WorkflowInstance
,
"context"
>
)
:
Record
<
string
,
unknown
>
$context
: the context bag as a map by name;
json
entries decode to their object form.
Parameters
instance
:
Pick
<
WorkflowInstance
,
"context"
>
Returns
Record
<
string
,
unknown
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
$context: the context bag as a map by name;jsonentries decode to their object form.