@@ -91,10 +91,6 @@ export const __Directive: GraphQLObjectType = new GraphQLObjectType({
91
91
type : GraphQLString ,
92
92
resolve : ( directive ) => directive . description ,
93
93
} ,
94
- isRepeatable : {
95
- type : new GraphQLNonNull ( GraphQLBoolean ) ,
96
- resolve : ( directive ) => directive . isRepeatable ,
97
- } ,
98
94
locations : {
99
95
type : new GraphQLNonNull (
100
96
new GraphQLList ( new GraphQLNonNull ( __DirectiveLocation ) ) ,
@@ -117,6 +113,10 @@ export const __Directive: GraphQLObjectType = new GraphQLObjectType({
117
113
: field . args . filter ( ( arg ) => arg . deprecationReason == null ) ;
118
114
} ,
119
115
} ,
116
+ isRepeatable : {
117
+ type : new GraphQLNonNull ( GraphQLBoolean ) ,
118
+ resolve : ( directive ) => directive . isRepeatable ,
119
+ } ,
120
120
} ) as GraphQLFieldConfigMap < GraphQLDirective , unknown > ,
121
121
} ) ;
122
122
@@ -257,11 +257,6 @@ export const __Type: GraphQLObjectType = new GraphQLObjectType({
257
257
/* c8 ignore next */
258
258
'description' in type ? type . description : undefined ,
259
259
} ,
260
- specifiedByURL : {
261
- type : GraphQLString ,
262
- resolve : ( obj ) =>
263
- 'specifiedByURL' in obj ? obj . specifiedByURL : undefined ,
264
- } ,
265
260
fields : {
266
261
type : new GraphQLList ( new GraphQLNonNull ( __Field ) ) ,
267
262
args : {
@@ -333,6 +328,11 @@ export const __Type: GraphQLObjectType = new GraphQLObjectType({
333
328
type : __Type ,
334
329
resolve : ( type ) => ( 'ofType' in type ? type . ofType : undefined ) ,
335
330
} ,
331
+ specifiedByURL : {
332
+ type : GraphQLString ,
333
+ resolve : ( obj ) =>
334
+ 'specifiedByURL' in obj ? obj . specifiedByURL : undefined ,
335
+ } ,
336
336
isOneOf : {
337
337
type : GraphQLBoolean ,
338
338
resolve : ( type ) => {
0 commit comments