1 | import { GraphQLSchema } from 'graphql';
|
2 | import { SubschemaConfig, Transform } from '@graphql-tools/delegate';
|
3 | export 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 | }
|