@coopenomics/sdk
Preparing search index...
Zeus
Thunder
Function Thunder
Thunder
<
SCLR
extends
ScalarDefinition
>
(
fn
:
FetchFunction
,
thunderGraphQLOptions
?:
ThunderGraphQLOptions
<
SCLR
>
,
)
:
<
O
extends
"query"
|
"mutation"
,
OVERRIDESCLR
extends
ScalarDefinition
,
R
extends
keyof
ValueTypes
=
GenericOperation
<
O
>
,
>
(
operation
:
O
,
graphqlOptions
?:
ThunderGraphQLOptions
<
OVERRIDESCLR
>
,
)
=>
<
Z
extends
unknown
>
(
o
:
Z
&
{
[
P
in
string
|
number
|
symbol
]
:
P
extends
keyof
ValueTypes
[
R
]
?
Z
[
P
]
:
never
}
,
ops
?:
OperationOptions
&
{
variables
?:
Record
<
string
,
unknown
>
}
,
)
=>
Promise
<
InputType
<
GraphQLTypes
[
R
]
,
Z
,
UnionOverrideKeys
<
SCLR
,
OVERRIDESCLR
>
>
,
>
Type Parameters
SCLR
extends
ScalarDefinition
Parameters
fn
:
FetchFunction
Optional
thunderGraphQLOptions
:
ThunderGraphQLOptions
<
SCLR
>
Returns
<
O
extends
"query"
|
"mutation"
,
OVERRIDESCLR
extends
ScalarDefinition
,
R
extends
keyof
ValueTypes
=
GenericOperation
<
O
>
,
>
(
operation
:
O
,
graphqlOptions
?:
ThunderGraphQLOptions
<
OVERRIDESCLR
>
,
)
=>
<
Z
extends
unknown
>
(
o
:
Z
&
{
[
P
in
string
|
number
|
symbol
]
:
P
extends
keyof
ValueTypes
[
R
]
?
Z
[
P
]
:
never
}
,
ops
?:
OperationOptions
&
{
variables
?:
Record
<
string
,
unknown
>
}
,
)
=>
Promise
<
InputType
<
GraphQLTypes
[
R
]
,
Z
,
UnionOverrideKeys
<
SCLR
,
OVERRIDESCLR
>
>
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@coopenomics/sdk
Loading...