UNPKG

428 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { SubschemaConfig, Transform } from '@graphql-tools/delegate';
3export default class FilterObjectFieldDirectives implements Transform {
4 private readonly filter;
5 constructor(filter: (dirName: string, dirValue: any) => boolean);
6 transformSchema(originalWrappingSchema: GraphQLSchema, subschemaConfig: SubschemaConfig, transformedSchema?: GraphQLSchema): GraphQLSchema;
7}