1 | import { GraphQLCompositeType, GraphQLInterfaceType, GraphQLObjectType, GraphQLUnionType } from 'graphql';
|
2 | import { Field } from 'graphql-tool-utilities';
|
3 | export declare class ObjectStack {
|
4 | private type;
|
5 | private field;
|
6 | private parent;
|
7 | private isFragment;
|
8 | private seenFields;
|
9 | readonly name: string;
|
10 | constructor(type?: GraphQLObjectType<any, any, {
|
11 | [key: string]: any;
|
12 | }> | GraphQLInterfaceType | GraphQLUnionType | undefined, field?: Field | undefined, parent?: ObjectStack | undefined, isFragment?: boolean);
|
13 | nested(field: Field, type: GraphQLCompositeType): ObjectStack;
|
14 | fragment(type?: GraphQLCompositeType): ObjectStack;
|
15 | sawField(field: Field): void;
|
16 | hasSeenField(field: Field): boolean;
|
17 | }
|