File tree Expand file tree Collapse file tree 6 files changed +13
-12
lines changed
Expand file tree Collapse file tree 6 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 88node_modules
99npm-debug.log
1010coverage
11+ * .iml
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import {
2121 GraphQLList ,
2222 GraphQLNonNull ,
2323} from '../type/definition' ;
24- import type { GraphQLFieldArgument , GraphQLType } from '../type/definition' ;
24+ import type { GraphQLArgument , GraphQLType } from '../type/definition' ;
2525import type { GraphQLSchema } from '../type/schema' ;
2626import type {
2727 Argument ,
@@ -55,7 +55,7 @@ export function getVariableValues(
5555 * definitions and list of argument AST nodes.
5656 */
5757export function getArgumentValues (
58- argDefs : Array < GraphQLFieldArgument > ,
58+ argDefs : Array < GraphQLArgument > ,
5959 argASTs : ?Array < Argument > ,
6060 variables : { [ key : string ] : any }
6161) : { [ key : string ] : any } {
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ export type GraphQLFieldDefinition = {
364364 name : string ;
365365 description: ?string ;
366366 type: GraphQLOutputType ;
367- args: Array < GraphQLFieldArgument > ;
367+ args: Array < GraphQLArgument > ;
368368 resolve ?: (
369369 source ? : any ,
370370 args ?: ?{ [ argName : string ] : any } ,
@@ -377,7 +377,7 @@ export type GraphQLFieldDefinition = {
377377 deprecationReason ?: ?string ;
378378}
379379
380- export type GraphQLFieldArgument = {
380+ export type GraphQLArgument = {
381381 name : string ;
382382 type : GraphQLInputType ;
383383 defaultValue ?: any ;
Original file line number Diff line number Diff line change 99 */
1010
1111import { GraphQLNonNull } from './definition' ;
12- import type { GraphQLFieldArgument } from './definition' ;
12+ import type { GraphQLArgument } from './definition' ;
1313import { GraphQLBoolean } from './scalars' ;
1414
1515
@@ -20,7 +20,7 @@ import { GraphQLBoolean } from './scalars';
2020export class GraphQLDirective {
2121 name : string ;
2222 description: ?string ;
23- args: Array < GraphQLFieldArgument > ;
23+ args: Array < GraphQLArgument > ;
2424 onOperation: boolean ;
2525 onFragment: boolean ;
2626 onField: boolean ;
@@ -38,7 +38,7 @@ export class GraphQLDirective {
3838type GraphQLDirectiveConfig = {
3939 name : string ;
4040 description ? : string ;
41- args: Array < GraphQLFieldArgument > ;
41+ args: Array < GraphQLArgument > ;
4242 onOperation: boolean ;
4343 onFragment: boolean ;
4444 onField: boolean ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import type {
2626 GraphQLOutputType ,
2727 GraphQLCompositeType ,
2828 GraphQLFieldDefinition ,
29- GraphQLFieldArgument
29+ GraphQLArgument
3030} from '../type/definition' ;
3131import type { GraphQLDirective } from '../type/directives' ;
3232import {
@@ -52,7 +52,7 @@ export default class TypeInfo {
5252 _inputTypeStack : Array < ?GraphQLInputType > ;
5353 _fieldDefStack : Array < ?GraphQLFieldDefinition > ;
5454 _directive : ?GraphQLDirective ;
55- _argument : ?GraphQLFieldArgument ;
55+ _argument : ?GraphQLArgument ;
5656
5757 constructor ( schema : GraphQLSchema ) {
5858 this . _schema = schema ;
@@ -92,7 +92,7 @@ export default class TypeInfo {
9292 return this . _directive ;
9393 }
9494
95- getArgument ( ) : ?GraphQLFieldArgument {
95+ getArgument ( ) : ?GraphQLArgument {
9696 return this . _argument ;
9797 }
9898
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import type {
2323 GraphQLOutputType ,
2424 GraphQLCompositeType ,
2525 GraphQLFieldDefinition ,
26- GraphQLFieldArgument
26+ GraphQLArgument
2727} from '../type/definition' ;
2828import type { GraphQLDirective } from '../type/directives' ;
2929import TypeInfo from '../utils/TypeInfo' ;
@@ -263,7 +263,7 @@ export class ValidationContext {
263263 return this . _typeInfo . getDirective ( ) ;
264264 }
265265
266- getArgument ( ) : ?GraphQLFieldArgument {
266+ getArgument ( ) : ?GraphQLArgument {
267267 return this . _typeInfo . getArgument ( ) ;
268268 }
269269}
You can’t perform that action at this time.
0 commit comments