1 | import { GraphQLSchema, GraphQLInputFieldConfig } from 'graphql';
|
2 | import { Transform, Request } from '@graphql-tools/utils';
|
3 | export default class RenameInputObjectFields implements Transform {
|
4 | private readonly renamer;
|
5 | private readonly transformer;
|
6 | private reverseMap;
|
7 | constructor(renamer: (typeName: string, fieldName: string, inputFieldConfig: GraphQLInputFieldConfig) => string);
|
8 | transformSchema(originalSchema: GraphQLSchema): GraphQLSchema;
|
9 | transformRequest(originalRequest: Request, delegationContext?: Record<string, any>): Request;
|
10 | }
|