mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
ArangoDB: Remove import of graphql (#42430)
* Remove import of graphql * Oops * Oh come on
This commit is contained in:
parent
c31a127798
commit
31ca8b6c52
14
types/arangodb/index.d.ts
vendored
14
types/arangodb/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user