UNPKG

651 BTypeScriptView Raw
1import { GraphQLSchema, GraphQLObjectType, OperationTypeNode } from 'graphql';
2import { ICreateRequestFromInfo, Request, ICreateRequest } from '../Interfaces';
3export declare function getDelegatingOperation(parentType: GraphQLObjectType, schema: GraphQLSchema): OperationTypeNode;
4export declare function createRequestFromInfo({ info, operation, fieldName, selectionSet, fieldNodes, }: ICreateRequestFromInfo): Request;
5export declare function createRequest({ sourceSchema, sourceParentType, sourceFieldName, fragments, variableDefinitions, variableValues, targetOperation, targetFieldName, selectionSet, fieldNodes, }: ICreateRequest): Request;