graphql-server-express
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -1,4 +0,3 @@ | ||
import { apolloExpress, graphiqlExpress } from './expressApollo'; | ||
declare const apolloConnect: typeof apolloExpress; | ||
declare const graphiqlConnect: typeof graphiqlExpress; | ||
export { apolloConnect, graphiqlConnect }; | ||
import { graphqlExpress, graphiqlExpress } from './expressApollo'; | ||
export declare const graphqlConnect: typeof graphqlExpress; | ||
export declare const graphiqlConnect: typeof graphiqlExpress; |
"use strict"; | ||
const expressApollo_1 = require('./expressApollo'); | ||
const apolloConnect = expressApollo_1.apolloExpress; | ||
exports.apolloConnect = apolloConnect; | ||
const graphiqlConnect = expressApollo_1.graphiqlExpress; | ||
exports.graphiqlConnect = graphiqlConnect; | ||
exports.graphqlConnect = expressApollo_1.graphqlExpress; | ||
exports.graphiqlConnect = expressApollo_1.graphiqlExpress; | ||
//# sourceMappingURL=connectApollo.js.map |
@@ -10,3 +10,3 @@ import * as express from 'express'; | ||
} | ||
export declare function apolloExpress(options: ApolloOptions | ExpressApolloOptionsFunction): ExpressHandler; | ||
export declare function graphqlExpress(options: ApolloOptions | ExpressApolloOptionsFunction): ExpressHandler; | ||
export declare function graphiqlExpress(options: GraphiQL.GraphiQLData): (req: express.Request, res: express.Response, next: any) => void; |
@@ -14,3 +14,3 @@ "use strict"; | ||
const GraphiQL = require('graphql-server-module-graphiql'); | ||
function apolloExpress(options) { | ||
function graphqlExpress(options) { | ||
if (!options) { | ||
@@ -115,3 +115,3 @@ throw new Error('Apollo Server requires options.'); | ||
} | ||
exports.apolloExpress = apolloExpress; | ||
exports.graphqlExpress = graphqlExpress; | ||
function isOptionsFunction(arg) { | ||
@@ -118,0 +118,0 @@ return typeof arg === 'function'; |
@@ -1,2 +0,2 @@ | ||
export { ExpressApolloOptionsFunction, ExpressHandler, apolloExpress, graphiqlExpress } from './expressApollo'; | ||
export { apolloConnect, graphiqlConnect } from './connectApollo'; | ||
export { ExpressApolloOptionsFunction, ExpressHandler, graphqlExpress, graphiqlExpress } from './expressApollo'; | ||
export { graphqlConnect, graphiqlConnect } from './connectApollo'; |
"use strict"; | ||
var expressApollo_1 = require('./expressApollo'); | ||
exports.apolloExpress = expressApollo_1.apolloExpress; | ||
exports.graphqlExpress = expressApollo_1.graphqlExpress; | ||
exports.graphiqlExpress = expressApollo_1.graphiqlExpress; | ||
var connectApollo_1 = require('./connectApollo'); | ||
exports.apolloConnect = connectApollo_1.apolloConnect; | ||
exports.graphqlConnect = connectApollo_1.graphqlConnect; | ||
exports.graphiqlConnect = connectApollo_1.graphiqlConnect; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "graphql-server-express", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Production-ready Node.js GraphQL server for Express and Connect", | ||
@@ -29,3 +29,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"graphql-server-core": "^0.4.0", | ||
"graphql-server-core": "^0.4.1", | ||
"graphql-server-module-graphiql": "^0.4.0" | ||
@@ -38,3 +38,3 @@ }, | ||
"@types/multer": "0.0.32", | ||
"graphql-server-integration-testsuite": "^0.4.0", | ||
"graphql-server-integration-testsuite": "^0.4.1", | ||
"body-parser": "^1.15.2", | ||
@@ -41,0 +41,0 @@ "connect": "^3.4.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13275
163
Updatedgraphql-server-core@^0.4.1