File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 11import type {
2- GraphQLNonNull ,
32 GraphQLNamedOutputType ,
4- GraphQLScalarType ,
5- GraphQLObjectType ,
63 GraphQLFieldConfigArgumentMap ,
74 GraphQLFieldConfigMap ,
85 GraphQLFieldResolver ,
96 Thunk ,
107} from 'graphql' ;
118
12- interface ForwardConnectionArgs {
13- after : { type : GraphQLScalarType } ;
14- first : { type : GraphQLScalarType } ;
15- }
16-
179/**
1810 * Returns a GraphQLFieldConfigArgumentMap appropriate to include on a field
1911 * whose return type is a connection type with forward pagination.
2012 */
21- export const forwardConnectionArgs : GraphQLFieldConfigArgumentMap &
22- ForwardConnectionArgs ;
23-
24- interface BackwardConnectionArgs {
25- before : { type : GraphQLScalarType } ;
26- last : { type : GraphQLScalarType } ;
27- }
13+ export const forwardConnectionArgs : GraphQLFieldConfigArgumentMap ;
2814
2915/**
3016 * Returns a GraphQLFieldConfigArgumentMap appropriate to include on a field
3117 * whose return type is a connection type with backward pagination.
3218 */
33- export const backwardConnectionArgs : GraphQLFieldConfigArgumentMap &
34- BackwardConnectionArgs ;
19+ export const backwardConnectionArgs : GraphQLFieldConfigArgumentMap ;
3520
3621/**
3722 * Returns a GraphQLFieldConfigArgumentMap appropriate to include on a field
You can’t perform that action at this time.
0 commit comments