UNPKG

763 BTypeScriptView Raw
1import { BaseSelectionSetProcessor, ProcessResult, LinkField, PrimitiveAliasedFields, SelectionSetProcessorConfig, PrimitiveField } from '@graphql-codegen/visitor-plugin-common';
2import { GraphQLObjectType, GraphQLInterfaceType } from 'graphql';
3export declare class TypeScriptSelectionSetProcessor extends BaseSelectionSetProcessor<SelectionSetProcessorConfig> {
4 transformPrimitiveFields(schemaType: GraphQLObjectType | GraphQLInterfaceType, fields: PrimitiveField[]): ProcessResult;
5 transformTypenameField(type: string, name: string): ProcessResult;
6 transformAliasesPrimitiveFields(schemaType: GraphQLObjectType | GraphQLInterfaceType, fields: PrimitiveAliasedFields[]): ProcessResult;
7 transformLinkFields(fields: LinkField[]): ProcessResult;
8}