graphql-server-express
Advanced tools
Comparing version 0.4.1 to 0.4.2
import * as express from 'express'; | ||
import { ApolloOptions } from 'graphql-server-core'; | ||
import { GraphQLOptions } from 'graphql-server-core'; | ||
import * as GraphiQL from 'graphql-server-module-graphiql'; | ||
export interface ExpressApolloOptionsFunction { | ||
(req?: express.Request, res?: express.Response): ApolloOptions | Promise<ApolloOptions>; | ||
export interface ExpressGraphQLOptionsFunction { | ||
(req?: express.Request, res?: express.Response): GraphQLOptions | Promise<GraphQLOptions>; | ||
} | ||
@@ -10,3 +10,3 @@ export interface ExpressHandler { | ||
} | ||
export declare function graphqlExpress(options: ApolloOptions | ExpressApolloOptionsFunction): ExpressHandler; | ||
export declare function graphqlExpress(options: GraphQLOptions | ExpressGraphQLOptionsFunction): ExpressHandler; | ||
export declare function graphiqlExpress(options: GraphiQL.GraphiQLData): (req: express.Request, res: express.Response, next: any) => void; |
@@ -1,2 +0,2 @@ | ||
export { ExpressApolloOptionsFunction, ExpressHandler, graphqlExpress, graphiqlExpress } from './expressApollo'; | ||
export { ExpressGraphQLOptionsFunction, ExpressHandler, graphqlExpress, graphiqlExpress } from './expressApollo'; | ||
export { graphqlConnect, graphiqlConnect } from './connectApollo'; |
{ | ||
"name": "graphql-server-express", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"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.1", | ||
"graphql-server-core": "^0.4.2", | ||
"graphql-server-module-graphiql": "^0.4.0" | ||
@@ -38,3 +38,3 @@ }, | ||
"@types/multer": "0.0.32", | ||
"graphql-server-integration-testsuite": "^0.4.1", | ||
"graphql-server-integration-testsuite": "^0.4.2", | ||
"body-parser": "^1.15.2", | ||
@@ -41,0 +41,0 @@ "connect": "^3.4.1", |
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
13282
Updatedgraphql-server-core@^0.4.2