UNPKG

820 BTypeScriptView Raw
1import { GraphQLNonNull } from './graphql';
2import { AnyTypeComposer, NamedTypeComposer } from './utils/typeHelpers';
3import { ListComposer } from './ListComposer';
4import type { SchemaComposer } from './SchemaComposer';
5export declare class NonNullComposer<T extends AnyTypeComposer<any> = AnyTypeComposer<any>> {
6 ofType: T;
7 constructor(type: T);
8 getType(): GraphQLNonNull<any>;
9 getTypeName(): string;
10 getUnwrappedTC(): NamedTypeComposer<any>;
11 getTypePlural(): ListComposer<NonNullComposer<T>>;
12 getTypeNonNull(): NonNullComposer<T>;
13 get List(): ListComposer<NonNullComposer<T>>;
14 get NonNull(): NonNullComposer<T>;
15 cloneTo(anotherSchemaComposer: SchemaComposer<any>, cloneMap?: Map<any, any>): NonNullComposer<AnyTypeComposer<any>>;
16}
17//# sourceMappingURL=NonNullComposer.d.ts.map
\No newline at end of file