@seamapi/react-query - v0.2.1
GitHub
Preparing search index...
useSeamMutation
Function useSeamMutation
useSeamMutation
<
T
extends
SeamHttpEndpointMutationPaths
>
(
endpointPath
:
T
,
options
?:
Parameters
<
SeamHttpEndpoints
[
T
]
>
[
1
]
&
MutationOptions
<
Awaited
<
ReturnType
<
SeamHttpEndpoints
[
T
]
>
>
,
MutationError
<
T
>
,
UseSeamMutationVariables
<
T
>
,
>
,
)
:
UseSeamMutationResult
<
T
>
Type Parameters
T
extends
SeamHttpEndpointMutationPaths
Parameters
endpointPath
:
T
options
:
Parameters
<
SeamHttpEndpoints
[
T
]
>
[
1
]
&
MutationOptions
<
Awaited
<
ReturnType
<
SeamHttpEndpoints
[
T
]
>
>
,
MutationError
<
T
>
,
UseSeamMutationVariables
<
T
>
,
>
= {}
Returns
UseSeamMutationResult
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@seamapi/react-query - v0.2.1
Loading...