Current section

Files

Jump to
common_graphql_client priv npm node_modules graphql-tools delegate createRequest.d.ts
Raw

priv/npm/node_modules/graphql-tools/delegate/createRequest.d.ts

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