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