Preparing search index...
The search index is not available
@coopenomics/coopjs
@coopenomics/coopjs
Zeus
ExtractVariables
Type alias ExtractVariables<Query>
Extract
Variables
<
Query
>
:
Query
extends
Variable
<
infer
VType
,
infer
VName
>
?
{
[
key
in
VName
]
:
GetVariableType
<
VType
>
}
:
Query
extends
[
infer
Inputs
,
infer
Outputs
]
?
ExtractVariablesDeep
<
Inputs
>
&
ExtractVariables
<
Outputs
>
:
Query
extends
string
|
number
|
boolean
|
(
string
|
number
|
boolean
)
[]
?
{}
:
UnionToIntersection
<
{
[
K
in
keyof
Query
]
:
WithOptionalNullables
<
ExtractVariables
<
Query
[
K
]
>
>
}
[
keyof
Query
]
>
Type Parameters
Query
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@coopenomics/coopjs
Loading...