Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add undefined export definitions to make rollup happy #1300

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion error/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.GraphQLError = exports.formatError = exports.printError = undefined;

var _GraphQLError = require('./GraphQLError');

Expand Down Expand Up @@ -47,4 +48,4 @@ Object.defineProperty(exports, 'formatError', {
get: function get() {
return _formatError.formatError;
}
});
});
3 changes: 2 additions & 1 deletion execution/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.execute = exports.defaultFieldResolver = exports.responsePathAsArray = exports.getDirectiveValues = undefined;

var _execute = require('./execute');

Expand Down Expand Up @@ -32,4 +33,4 @@ Object.defineProperty(exports, 'getDirectiveValues', {
get: function get() {
return _values.getDirectiveValues;
}
});
});
3 changes: 2 additions & 1 deletion language/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Source = exports.getLocation = exports.parse = exports.parseValue = exports.parseType = exports.print = exports.visit = exports.visitInParallel = exports.visitWithTypeInfo = exports.getVisitFn = exports.Kind = exports.TokenKind = exports.DirectiveLocation = exports.BREAK = undefined;

var _location = require('./location');

Expand Down Expand Up @@ -116,4 +117,4 @@ Object.defineProperty(exports, 'DirectiveLocation', {
get: function get() {
return _directiveLocation.DirectiveLocation;
}
});
});
3 changes: 2 additions & 1 deletion subscription/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.subscribe = exports.createSourceEventStream = undefined;

var _subscribe = require('./subscribe');

Expand All @@ -17,4 +18,4 @@ Object.defineProperty(exports, 'createSourceEventStream', {
get: function get() {
return _subscribe.createSourceEventStream;
}
});
});
3 changes: 2 additions & 1 deletion type/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.GraphQLSchema = exports.GraphQLScalarType = exports.GraphQLObjectType = exports.GraphQLInterfaceType = exports.GraphQLUnionType = exports.GraphQLEnumType = exports.GraphQLInputObjectType = exports.GraphQLList = exports.GraphQLNonNull = exports.GraphQLDirective = exports.TypeKind = exports.specifiedScalarTypes = exports.GraphQLInt = exports.GraphQLFloat = exports.GraphQLString = exports.GraphQLBoolean = exports.GraphQLID = exports.specifiedDirectives = exports.GraphQLIncludeDirective = exports.GraphQLSkipDirective = exports.GraphQLDeprecatedDirective = exports.SchemaMetaFieldDef = exports.TypeMetaFieldDef = exports.TypeNameMetaFieldDef = exports.introspectionTypes = exports.DEFAULT_DEPRECATION_REASON = exports.__Schema = exports.__Directive = exports.__DirectiveLocation = exports.__Type = exports.__Field = exports.__InputValue = exports.__EnumValue = exports.__TypeKind = exports.isSchema = exports.isDirective = exports.isType = exports.isScalarType = exports.isObjectType = exports.isInterfaceType = exports.isUnionType = exports.isEnumType = exports.isInputObjectType = exports.isListType = exports.isNonNullType = exports.isInputType = exports.isOutputType = exports.isLeafType = exports.isCompositeType = exports.isAbstractType = exports.isWrappingType = exports.isNullableType = exports.isNamedType = exports.isSpecifiedScalarType = exports.isIntrospectionType = exports.isSpecifiedDirective = exports.assertType = exports.assertScalarType = exports.assertObjectType = exports.assertInterfaceType = exports.assertUnionType = exports.assertEnumType = exports.assertInputObjectType = exports.assertListType = exports.assertNonNullType = exports.assertInputType = exports.assertOutputType = exports.assertLeafType = exports.assertCompositeType = exports.assertAbstractType = exports.assertWrappingType = exports.assertNullableType = exports.assertNamedType = exports.getNullableType = exports.getNamedType = exports.validateSchema = exports.assertValidSchema = exports.Source = exports.getLocation = exports.parse = exports.parseValue = exports.parseType = exports.print = exports.visit = exports.visitInParallel = exports.visitWithTypeInfo = exports.getVisitFn = exports.Kind = exports.TokenKind = exports.DirectiveLocation = exports.BREAK = exports.execute = exports.defaultFieldResolver = exports.responsePathAsArray = exports.getDirectiveValues = exports.subscribe = exports.createSourceEventStream = exports.GraphQLError = exports.formatError = exports.printError = exports.getIntrospectionQuery = exports.introspectionQuery = exports.getOperationAST = exports.introspectionFromSchema = exports.buildClientSchema = exports.buildASTSchema = exports.buildSchema = exports.getDescription = exports.extendSchema = exports.lexicographicSortSchema = exports.printSchema = exports.printIntrospectionSchema = exports.printType = exports.typeFromAST = exports.valueFromAST = exports.valueFromASTUntyped = exports.astFromValue = exports.TypeInfo = exports.coerceValue = exports.isValidJSValue = exports.isValidLiteralValue = exports.concatAST = exports.separateOperations = exports.isEqualType = exports.isTypeSubTypeOf = exports.doTypesOverlap = exports.assertValidName = exports.isValidNameError = exports.findBreakingChanges = exports.findDangerousChanges = exports.BreakingChangeType = exports.DangerousChangeType = exports.findDeprecatedUsages = undefined;

var _schema = require('./schema');

Expand Down Expand Up @@ -482,4 +483,4 @@ Object.defineProperty(exports, 'assertValidSchema', {
get: function get() {
return _validate.assertValidSchema;
}
});
});
3 changes: 2 additions & 1 deletion utilities/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getIntrospectionQuery = exports.introspectionQuery = exports.getOperationAST = exports.introspectionFromSchema = exports.buildClientSchema = exports.buildASTSchema = exports.buildSchema = exports.getDescription = exports.extendSchema = exports.lexicographicSortSchema = exports.printSchema = exports.printIntrospectionSchema = exports.printType = exports.typeFromAST = exports.valueFromAST = exports.valueFromASTUntyped = exports.astFromValue = exports.TypeInfo = exports.coerceValue = exports.isValidJSValue = exports.isValidLiteralValue = exports.concatAST = exports.separateOperations = exports.isEqualType = exports.isTypeSubTypeOf = exports.doTypesOverlap = exports.assertValidName = exports.isValidNameError = exports.findBreakingChanges = exports.findDangerousChanges = exports.BreakingChangeType = exports.DangerousChangeType = exports.findDeprecatedUsages = undefined;

var _introspectionQuery = require('./introspectionQuery');

Expand Down Expand Up @@ -266,4 +267,4 @@ Object.defineProperty(exports, 'findDeprecatedUsages', {
get: function get() {
return _findDeprecatedUsages.findDeprecatedUsages;
}
});
});