UNPKG

734 BTypeScriptView Raw
1import { ClientSideBaseVisitor, ClientSideBasePluginConfig, LoadedFragment } from '@graphql-codegen/visitor-plugin-common';
2import { GraphQLSchema, OperationDefinitionNode } from 'graphql';
3import { Config, Info } from '.';
4export declare class GraphQLRequestVisitor extends ClientSideBaseVisitor<Config, ClientSideBasePluginConfig> {
5 private _operationsToInclude;
6 private _info;
7 constructor(schema: GraphQLSchema, fragments: LoadedFragment[], rawConfig: Config, info: Info);
8 protected buildOperation(node: OperationDefinitionNode, documentVariableName: string, operationType: string, operationResultType: string, operationVariablesTypes: string): string;
9 get definition(): string;
10 get cliContent(): string;
11}