UNPKG

804 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { DelegationContext, SubschemaConfig, Transform } from '@graphql-tools/delegate';
3import { ExecutionResult, Request } from '@graphql-tools/utils';
4export declare function applySchemaTransforms(originalWrappingSchema: GraphQLSchema, subschemaConfig: SubschemaConfig, transformedSchema: GraphQLSchema, transforms: Transform[]): GraphQLSchema;
5export declare function applyRequestTransforms(originalRequest: Request, delegationContext: DelegationContext, transformationContext: Record<string, any>, transforms: Transform[]): Request;
6export declare function applyResultTransforms(originalResult: ExecutionResult, delegationContext: DelegationContext, transformationContext: Record<string, any>, transforms: Transform[]): ExecutionResult<Record<string, any>>;