apollo-server-plugin-base
Advanced tools
Comparing version 0.1.0-alpha.3 to 0.1.0-alpha.4
import { GraphQLServiceContext, GraphQLRequestContext, GraphQLRequest, GraphQLResponse } from 'apollo-server-core/dist/requestPipelineAPI'; | ||
export { GraphQLServiceContext, GraphQLRequestContext, GraphQLRequest, GraphQLResponse, }; | ||
declare type ValueOrPromise<T> = T | Promise<T>; | ||
export declare abstract class ApolloServerPlugin { | ||
export interface ApolloServerPlugin { | ||
serverWillStart?(service: GraphQLServiceContext): ValueOrPromise<void>; | ||
@@ -6,0 +6,0 @@ requestDidStart?<TContext>(requestContext: GraphQLRequestContext<TContext>): GraphQLRequestListener<TContext> | void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class ApolloServerPlugin { | ||
} | ||
exports.ApolloServerPlugin = ApolloServerPlugin; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "apollo-server-plugin-base", | ||
"version": "0.1.0-alpha.3", | ||
"version": "0.1.0-alpha.4", | ||
"description": "Apollo Server plugin base classes", | ||
@@ -14,3 +14,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"apollo-server-core": "2.2.0-alpha.3", | ||
"apollo-server-core": "2.2.0-alpha.4", | ||
"apollo-server-env": "2.1.0-alpha.1" | ||
@@ -21,3 +21,3 @@ }, | ||
}, | ||
"gitHead": "5ca4c07bd5d07e7e753204726983dd7064d18967" | ||
"gitHead": "79fe6bf0bf0187c2a754bbb9d165c612bf0912b4" | ||
} |
@@ -16,3 +16,3 @@ import { | ||
export abstract class ApolloServerPlugin { | ||
export interface ApolloServerPlugin { | ||
serverWillStart?(service: GraphQLServiceContext): ValueOrPromise<void>; | ||
@@ -19,0 +19,0 @@ requestDidStart?<TContext>( |
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
6129
60