@pothos/core
Version:
Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript
13 lines (12 loc) • 531 B
TypeScript
import { outputShapeKey, parentShapeKey, type SchemaTypes, type TypeParam } from '../types/index.js';
import { BaseTypeRef } from './base.js';
export declare class ListRef<Types extends SchemaTypes, T, P = T> extends BaseTypeRef<Types> implements PothosSchemaTypes.ListRef<Types, T, P> {
kind: "List";
$inferType: T;
[outputShapeKey]: T;
[parentShapeKey]: P;
listType: TypeParam<Types>;
nullable: boolean;
constructor(listType: TypeParam<Types>, nullable: boolean);
}
//# sourceMappingURL=list.d.ts.map