1 | import type { GraphQLType } from './graphql';
|
2 | import type { NamedTypeComposer } from './utils/typeHelpers';
|
3 | import { ListComposer } from './ListComposer';
|
4 | import { NonNullComposer } from './NonNullComposer';
|
5 | import type { SchemaComposer } from './SchemaComposer';
|
6 | export declare class ThunkComposer<T extends NamedTypeComposer<any> = NamedTypeComposer<any>, G extends GraphQLType = GraphQLType> {
|
7 | _thunk: () => T;
|
8 | _typeName: string | undefined;
|
9 | _typeFromThunk: T | undefined;
|
10 | get ofType(): T;
|
11 | constructor(thunk: () => T, typeName?: string);
|
12 | getUnwrappedTC(): T;
|
13 | getType(): G;
|
14 | getTypeName(): string;
|
15 | getTypePlural(): ListComposer<ThunkComposer<T, G>>;
|
16 | getTypeNonNull(): NonNullComposer<ThunkComposer<T, G>>;
|
17 | get List(): ListComposer<ThunkComposer<T, G>>;
|
18 | get NonNull(): NonNullComposer<ThunkComposer<T, G>>;
|
19 | cloneTo(anotherSchemaComposer: SchemaComposer<any>, cloneMap?: Map<any, any>): ThunkComposer<NamedTypeComposer<any>, G>;
|
20 | }
|
21 | //# sourceMappingURL=ThunkComposer.d.ts.map |
\ | No newline at end of file |