Skip to content

Commit d7210ec

Browse files
committed
Update index import paths to be more explicit
1 parent 316a69e commit d7210ec

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/index.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export {
125125
// Validate GraphQL schema.
126126
validateSchema,
127127
assertValidSchema,
128-
} from './type';
128+
} from './type/index';
129129

130130
export type {
131131
GraphQLType,
@@ -168,7 +168,7 @@ export type {
168168
GraphQLScalarSerializer,
169169
GraphQLScalarValueParser,
170170
GraphQLScalarLiteralParser,
171-
} from './type';
171+
} from './type/index';
172172

173173
// Parse and operate on GraphQL language source files.
174174
export {
@@ -204,7 +204,7 @@ export {
204204
isTypeDefinitionNode,
205205
isTypeSystemExtensionNode,
206206
isTypeExtensionNode,
207-
} from './language';
207+
} from './language/index';
208208

209209
export type {
210210
ParseOptions,
@@ -276,7 +276,7 @@ export type {
276276
UnionTypeExtensionNode,
277277
EnumTypeExtensionNode,
278278
InputObjectTypeExtensionNode,
279-
} from './language';
279+
} from './language/index';
280280

281281
// Execute GraphQL queries.
282282
export {
@@ -285,12 +285,12 @@ export {
285285
defaultTypeResolver,
286286
responsePathAsArray,
287287
getDirectiveValues,
288-
} from './execution';
288+
} from './execution/index';
289289

290-
export type { ExecutionArgs, ExecutionResult } from './execution';
290+
export type { ExecutionArgs, ExecutionResult } from './execution/index';
291291

292-
export { subscribe, createSourceEventStream } from './subscription';
293-
export type { SubscriptionArgs } from './subscription';
292+
export { subscribe, createSourceEventStream } from './subscription/index';
293+
export type { SubscriptionArgs } from './subscription/index';
294294

295295
// Validate GraphQL documents.
296296
export {
@@ -324,9 +324,9 @@ export {
324324
ValuesOfCorrectTypeRule,
325325
VariablesAreInputTypesRule,
326326
VariablesInAllowedPositionRule,
327-
} from './validation';
327+
} from './validation/index';
328328

329-
export type { ValidationRule } from './validation';
329+
export type { ValidationRule } from './validation/index';
330330

331331
// Create, format, and print GraphQL errors.
332332
export {
@@ -335,9 +335,9 @@ export {
335335
locatedError,
336336
printError,
337337
formatError,
338-
} from './error';
338+
} from './error/index';
339339

340-
export type { GraphQLFormattedError } from './error';
340+
export type { GraphQLFormattedError } from './error/index';
341341

342342
// Utilities for operating on GraphQL type schema and parsed sources.
343343
export {
@@ -406,7 +406,7 @@ export {
406406
findDangerousChanges,
407407
// Report all deprecated usage within a GraphQL document.
408408
findDeprecatedUsages,
409-
} from './utilities';
409+
} from './utilities/index';
410410

411411
export type {
412412
IntrospectionOptions,
@@ -434,4 +434,4 @@ export type {
434434
BuildSchemaOptions,
435435
BreakingChange,
436436
DangerousChange,
437-
} from './utilities';
437+
} from './utilities/index';

0 commit comments

Comments
 (0)