Sanity Library Reference Docs
Preparing search index...
@sanity/workflow-engine
index
gdrRef
Function gdrRef
gdrRef
<
TType
extends
string
=
string
>
(
__namedParameters
:
{
documentId
:
string
;
res
:
WorkflowResource
;
type
:
TType
;
}
,
)
:
GlobalDocumentReference
<
TType
>
Build a GDR (id + type) pointing at a document within a workflow resource.
Type Parameters
TType
extends
string
=
string
Parameters
__namedParameters
:
{
documentId
:
string
;
res
:
WorkflowResource
;
type
:
TType
}
Returns
GlobalDocumentReference
<
TType
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
Build a GDR (id + type) pointing at a document within a workflow resource.