UNPKG

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