1 | import { GraphQLField, GraphQLSchema } from 'graphql';
|
2 | import { Transform } from './transforms';
|
3 | export declare type RootFilter = (operation: 'Query' | 'Mutation' | 'Subscription', fieldName: string, field: GraphQLField<any, any>) => boolean;
|
4 | export default class FilterRootFields implements Transform {
|
5 | private transformer;
|
6 | constructor(filter: RootFilter);
|
7 | transformSchema(originalSchema: GraphQLSchema): GraphQLSchema;
|
8 | }
|