UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

121 lines (109 loc) 2.93 kB
/** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ // The primary entry point into fulfilling a GraphQL request. 'use strict'; var _Object$defineProperty = require('babel-runtime/core-js/object/define-property')['default']; _Object$defineProperty(exports, '__esModule', { value: true }); var _graphql = require('./graphql'); Object.defineProperty(exports, 'graphql', { enumerable: true, get: function get() { return _graphql.graphql; } }); // Produce a GraphQL type schema. var _typeSchema = require('./type/schema'); Object.defineProperty(exports, 'GraphQLSchema', { enumerable: true, get: function get() { return _typeSchema.GraphQLSchema; } }); var _typeDefinition = require('./type/definition'); Object.defineProperty(exports, 'GraphQLScalarType', { enumerable: true, get: function get() { return _typeDefinition.GraphQLScalarType; } }); Object.defineProperty(exports, 'GraphQLObjectType', { enumerable: true, get: function get() { return _typeDefinition.GraphQLObjectType; } }); Object.defineProperty(exports, 'GraphQLInterfaceType', { enumerable: true, get: function get() { return _typeDefinition.GraphQLInterfaceType; } }); Object.defineProperty(exports, 'GraphQLUnionType', { enumerable: true, get: function get() { return _typeDefinition.GraphQLUnionType; } }); Object.defineProperty(exports, 'GraphQLEnumType', { enumerable: true, get: function get() { return _typeDefinition.GraphQLEnumType; } }); Object.defineProperty(exports, 'GraphQLInputObjectType', { enumerable: true, get: function get() { return _typeDefinition.GraphQLInputObjectType; } }); Object.defineProperty(exports, 'GraphQLList', { enumerable: true, get: function get() { return _typeDefinition.GraphQLList; } }); Object.defineProperty(exports, 'GraphQLNonNull', { enumerable: true, get: function get() { return _typeDefinition.GraphQLNonNull; } }); var _typeScalars = require('./type/scalars'); Object.defineProperty(exports, 'GraphQLInt', { enumerable: true, get: function get() { return _typeScalars.GraphQLInt; } }); Object.defineProperty(exports, 'GraphQLFloat', { enumerable: true, get: function get() { return _typeScalars.GraphQLFloat; } }); Object.defineProperty(exports, 'GraphQLString', { enumerable: true, get: function get() { return _typeScalars.GraphQLString; } }); Object.defineProperty(exports, 'GraphQLBoolean', { enumerable: true, get: function get() { return _typeScalars.GraphQLBoolean; } }); Object.defineProperty(exports, 'GraphQLID', { enumerable: true, get: function get() { return _typeScalars.GraphQLID; } });