File tree 4 files changed +8
-2
lines changed 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export type {
138
138
GraphQLNullableType ,
139
139
GraphQLNamedType ,
140
140
Thunk ,
141
+ GraphQLSchemaConfig ,
141
142
GraphQLArgument ,
142
143
GraphQLArgumentConfig ,
143
144
GraphQLEnumTypeConfig ,
@@ -163,6 +164,7 @@ export type {
163
164
GraphQLScalarTypeConfig ,
164
165
GraphQLTypeResolver ,
165
166
GraphQLUnionTypeConfig ,
167
+ GraphQLDirectiveConfig ,
166
168
} from './type' ;
167
169
168
170
// Parse and operate on GraphQL language source files.
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export class GraphQLDirective {
76
76
}
77
77
}
78
78
79
- type GraphQLDirectiveConfig = {
79
+ export type GraphQLDirectiveConfig = {
80
80
name : string ,
81
81
description ?: ?string ,
82
82
locations : Array < DirectiveLocationEnum > ,
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ export {
14
14
GraphQLSchema ,
15
15
} from './schema' ;
16
16
17
+ export type { GraphQLSchemaConfig } from './schema' ;
18
+
17
19
export {
18
20
// Predicates
19
21
isType ,
@@ -84,6 +86,8 @@ export {
84
86
DEFAULT_DEPRECATION_REASON ,
85
87
} from './directives' ;
86
88
89
+ export type { GraphQLDirectiveConfig } from './directives' ;
90
+
87
91
// Common built-in scalar instances.
88
92
export {
89
93
isSpecifiedScalarType ,
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export class GraphQLSchema {
220
220
221
221
type TypeMap = ObjMap < GraphQLNamedType > ;
222
222
223
- type GraphQLSchemaConfig = {
223
+ export type GraphQLSchemaConfig = {
224
224
query ?: ?GraphQLObjectType ,
225
225
mutation ?: ?GraphQLObjectType ,
226
226
subscription ?: ?GraphQLObjectType ,
You can’t perform that action at this time.
0 commit comments