UNPKG
@userlab/dx
Version:
latest (1.1.1)
1.1.1
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Build efficient GraphQL backend
userlab/dx
userlab/dx
@userlab/dx
/
lib
/
src
/
gql
/
getMutation.d.ts
3 lines
(2 loc)
•
243 B
TypeScript
View Raw
1
2
3
import
{
MutationConfig
,
Mutation
}
from
'../types'
;
export
declare
const
getMutation
: <
TReturn
,
TInput
,
TContext
=
any
>
(
{ name, description, outputType, inputFields, resolve, }:
MutationConfig
<
TInput
,
TContext
>
) =>
Mutation
<
TReturn
,
TInput
>;