ArangoDB: Remove import of graphql (#42430)

* Remove import of graphql

* Oops

* Oh come on
This commit is contained in:
Alan Plum 2020-02-18 20:43:13 +01:00 committed by GitHub
parent c31a127798
commit 31ca8b6c52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1531,9 +1531,17 @@ declare module "@arangodb/foxx/queues" {
}
declare module "@arangodb/foxx/graphql" {
import { formatError, GraphQLSchema } from "graphql";
type GraphQLModule = object;
type GraphQLFormatErrorFunction = typeof formatError;
type GraphQLSchema = object;
type GraphQLFormatErrorFunction = (error: any) => any;
interface GraphQLModule {
formatError: GraphQLFormatErrorFunction;
Source: any;
parse: any;
validate: any;
specifiedRules: any;
getOperationAST: any;
execute: any;
}
interface GraphQLOptions {
schema: GraphQLSchema;
context?: any;