UNPKG

473 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { SubschemaConfig, Transform } from '@graphql-tools/delegate';
3export default class RemoveObjectFieldsWithDirective implements Transform {
4 private readonly directiveName;
5 private readonly args;
6 constructor(directiveName: string | RegExp, args?: Record<string, any>);
7 transformSchema(originalWrappingSchema: GraphQLSchema, subschemaConfig: SubschemaConfig, transformedSchema?: GraphQLSchema): GraphQLSchema;
8}