@graphql-tools/wrap
Version:
A set of utils for faster development of GraphQL tools
11 lines (10 loc) • 607 B
text/typescript
import { GraphQLSchema } from 'graphql';
import { SubschemaConfig, Transform } from '@graphql-tools/delegate';
interface RemoveObjectFieldsWithDeprecationTransformationContext extends Record<string, any> {
}
export default class RemoveObjectFieldsWithDeprecation<TContext = Record<string, any>> implements Transform<RemoveObjectFieldsWithDeprecationTransformationContext, TContext> {
private readonly transformer;
constructor(reason: string | RegExp);
transformSchema(originalWrappingSchema: GraphQLSchema, subschemaConfig: SubschemaConfig<any, any, any, TContext>): GraphQLSchema;
}
export {};