UNPKG

376 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { Transform } from '@graphql-tools/utils';
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(originalSchema: GraphQLSchema): GraphQLSchema;
8}