From ad3164557075bb1f277966b2240415b5b33cc02a Mon Sep 17 00:00:00 2001 From: Kat Schelonka <34227334+kschelonka@users.noreply.github.com> Date: Thu, 9 Feb 2023 16:01:27 -0800 Subject: [PATCH] fix(apollov4): add export from readme docs (#149) constraintDirectiveTypeDefsGql --- apollo4.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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