Sanity Library Reference Docs
Preparing search index...
@sanity/workflow-blueprint
generate
runtimeNeeds
Function runtimeNeeds
runtimeNeeds
(
deployment
:
{
definitions
:
DefinedWorkflow
[]
;
expectedMinReaderModel
?:
number
;
name
:
string
;
resourceAliases
?:
{
name
:
string
;
resource
:
|
{
id
:
string
;
type
:
"dataset"
}
|
{
id
:
string
;
type
:
"canvas"
}
|
{
id
:
string
;
type
:
"media-library"
}
|
{
id
:
string
;
type
:
"dashboard"
}
;
}
[]
;
runtime
?:
RuntimeBlock
;
tag
:
string
;
workflowResource
:
|
{
id
:
string
;
type
:
"dataset"
}
|
{
id
:
string
;
type
:
"canvas"
}
|
{
id
:
string
;
type
:
"media-library"
}
|
{
id
:
string
;
type
:
"dashboard"
}
;
}
,
)
:
RuntimeNeeds
Performs no I/O.
Parameters
deployment
:
{
definitions
:
DefinedWorkflow
[]
;
expectedMinReaderModel
?:
number
;
name
:
string
;
resourceAliases
?:
{
name
:
string
;
resource
:
|
{
id
:
string
;
type
:
"dataset"
}
|
{
id
:
string
;
type
:
"canvas"
}
|
{
id
:
string
;
type
:
"media-library"
}
|
{
id
:
string
;
type
:
"dashboard"
}
;
}
[]
;
runtime
?:
RuntimeBlock
;
tag
:
string
;
workflowResource
:
|
{
id
:
string
;
type
:
"dataset"
}
|
{
id
:
string
;
type
:
"canvas"
}
|
{
id
:
string
;
type
:
"media-library"
}
|
{
id
:
string
;
type
:
"dashboard"
}
;
}
Returns
RuntimeNeeds
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
Performs no I/O.