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