1 | import { GraphQLType, GraphQLSchema } from 'graphql';
|
2 | import { RootFieldFilter } from './Interfaces';
|
3 | export declare function filterSchema({ schema, rootFieldFilter, typeFilter, fieldFilter, }: {
|
4 | schema: GraphQLSchema;
|
5 | rootFieldFilter?: RootFieldFilter;
|
6 | typeFilter?: (typeName: string, type: GraphQLType) => boolean;
|
7 | fieldFilter?: (typeName: string, fieldName: string) => boolean;
|
8 | }): GraphQLSchema;
|