File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import {
21
21
GraphQLList ,
22
22
GraphQLNonNull ,
23
23
} from '../type/definition' ;
24
- import type { GraphQLFieldArgument , GraphQLType } from '../type/definition' ;
24
+ import type { GraphQLArgument , GraphQLType } from '../type/definition' ;
25
25
import type { GraphQLSchema } from '../type/schema' ;
26
26
import type {
27
27
Argument ,
@@ -55,7 +55,7 @@ export function getVariableValues(
55
55
* definitions and list of argument AST nodes.
56
56
*/
57
57
export function getArgumentValues (
58
- argDefs : Array < GraphQLFieldArgument > ,
58
+ argDefs : Array < GraphQLArgument > ,
59
59
argASTs : ?Array < Argument > ,
60
60
variables : { [ key : string ] : any }
61
61
) : { [ key : string ] : any } {
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ export type GraphQLFieldDefinition = {
364
364
name : string ;
365
365
description: ?string ;
366
366
type: GraphQLOutputType ;
367
- args: Array < GraphQLFieldArgument > ;
367
+ args: Array < GraphQLArgument > ;
368
368
resolve ?: (
369
369
source ? : any ,
370
370
args ?: ?{ [ argName : string ] : any } ,
@@ -377,7 +377,7 @@ export type GraphQLFieldDefinition = {
377
377
deprecationReason ?: ?string ;
378
378
}
379
379
380
- export type GraphQLFieldArgument = {
380
+ export type GraphQLArgument = {
381
381
name : string ;
382
382
type : GraphQLInputType ;
383
383
defaultValue ?: any ;
Original file line number Diff line number Diff line change 9
9
*/
10
10
11
11
import { GraphQLNonNull } from './definition' ;
12
- import type { GraphQLFieldArgument } from './definition' ;
12
+ import type { GraphQLArgument } from './definition' ;
13
13
import { GraphQLBoolean } from './scalars' ;
14
14
15
15
@@ -20,7 +20,7 @@ import { GraphQLBoolean } from './scalars';
20
20
export class GraphQLDirective {
21
21
name : string ;
22
22
description: ?string ;
23
- args: Array < GraphQLFieldArgument > ;
23
+ args: Array < GraphQLArgument > ;
24
24
onOperation: boolean ;
25
25
onFragment: boolean ;
26
26
onField: boolean ;
@@ -38,7 +38,7 @@ export class GraphQLDirective {
38
38
type GraphQLDirectiveConfig = {
39
39
name : string ;
40
40
description ? : string ;
41
- args: Array < GraphQLFieldArgument > ;
41
+ args: Array < GraphQLArgument > ;
42
42
onOperation: boolean ;
43
43
onFragment: boolean ;
44
44
onField: boolean ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import type {
26
26
GraphQLOutputType ,
27
27
GraphQLCompositeType ,
28
28
GraphQLFieldDefinition ,
29
- GraphQLFieldArgument
29
+ GraphQLArgument
30
30
} from '../type/definition' ;
31
31
import type { GraphQLDirective } from '../type/directives' ;
32
32
import {
@@ -52,7 +52,7 @@ export default class TypeInfo {
52
52
_inputTypeStack : Array < ?GraphQLInputType > ;
53
53
_fieldDefStack : Array < ?GraphQLFieldDefinition > ;
54
54
_directive : ?GraphQLDirective ;
55
- _argument : ?GraphQLFieldArgument ;
55
+ _argument : ?GraphQLArgument ;
56
56
57
57
constructor ( schema : GraphQLSchema ) {
58
58
this . _schema = schema ;
@@ -92,7 +92,7 @@ export default class TypeInfo {
92
92
return this . _directive ;
93
93
}
94
94
95
- getArgument ( ) : ?GraphQLFieldArgument {
95
+ getArgument ( ) : ?GraphQLArgument {
96
96
return this . _argument ;
97
97
}
98
98
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import type {
23
23
GraphQLOutputType ,
24
24
GraphQLCompositeType ,
25
25
GraphQLFieldDefinition ,
26
- GraphQLFieldArgument
26
+ GraphQLArgument
27
27
} from '../type/definition' ;
28
28
import type { GraphQLDirective } from '../type/directives' ;
29
29
import TypeInfo from '../utils/TypeInfo' ;
@@ -263,7 +263,7 @@ export class ValidationContext {
263
263
return this . _typeInfo . getDirective ( ) ;
264
264
}
265
265
266
- getArgument ( ) : ?GraphQLFieldArgument {
266
+ getArgument ( ) : ?GraphQLArgument {
267
267
return this . _typeInfo . getArgument ( ) ;
268
268
}
269
269
}
You can’t perform that action at this time.
0 commit comments