Skip to content

Commit

Permalink
fix: remove no-longer-needed plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Mar 22, 2020
1 parent 2dcb599 commit baca496
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions packages/api/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
GraphQLScalarType,
GraphQLFieldResolver as BaseGraphQLFieldResolver,
GraphQLSchema
} from "graphql";
import { GraphQLScalarType, GraphQLFieldResolver as BaseGraphQLFieldResolver } from "graphql";
import { GraphQLSchemaModule } from "apollo-graphql";
import { Plugin, PluginsContainer } from "@webiny/plugins/types";

Expand Down Expand Up @@ -38,16 +34,6 @@ export type GraphQLScalarPlugin = Plugin & {
scalar: GraphQLScalarType;
};

export type CreateApolloHandlerPlugin = Plugin & {
create(params: {
plugins: PluginsContainer;
}): { handler: Function | Promise<Function>; schema: GraphQLSchema };
};

export type CreateApolloGatewayPlugin = Plugin & {
createGateway(params: { plugins: PluginsContainer }): Promise<Function>;
};

export type GraphQLFieldResolver<
TSource = any,
TArgs = any,
Expand Down

0 comments on commit baca496

Please sign in to comment.