Skip to content

Commit

Permalink
fix(apollov4): add export from readme docs (#149)
Browse files Browse the repository at this point in the history
constraintDirectiveTypeDefsGql
  • Loading branch information
kschelonka authored Feb 10, 2023
1 parent 0ca756b commit ad31645
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apollo4.d.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit ad31645

Please sign in to comment.