diff --git a/apollo4.d.ts b/apollo4.d.ts index 60a4025..98e801e 100644 --- a/apollo4.d.ts +++ b/apollo4.d.ts @@ -1,6 +1,8 @@ -import {GraphQLSchema} from "graphql"; +import {DocumentNode, GraphQLSchema} from "graphql"; import {ApolloServerPlugin} from '@apollo/server'; -export const constraintDirectiveTypeDefs: string +export const constraintDirectiveTypeDefs: string; + +export const constraintDirectiveTypeDefsGql: DocumentNode; export function createApollo4QueryValidationPlugin ( options: { schema: GraphQLSchema } ) : ApolloServerPlugin; \ No newline at end of file