Files
Job_App/node_modules/graphql-tools/dist/transforms/ReplaceFieldWithFragment.d.ts
2025-03-28 12:30:19 +11:00

13 lines
421 B
TypeScript

import { GraphQLSchema } from 'graphql';
import { Request } from '../Interfaces';
import { Transform } from './transforms';
export default class ReplaceFieldWithFragment implements Transform {
private targetSchema;
private mapping;
constructor(targetSchema: GraphQLSchema, fragments: Array<{
field: string;
fragment: string;
}>);
transformRequest(originalRequest: Request): Request;
}