@pothos/core
Version:
Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript
11 lines (10 loc) • 491 B
TypeScript
import { outputShapeKey, parentShapeKey, type SchemaTypes } from '../types/index.js';
import { BaseTypeRef } from './base.js';
export declare class OutputTypeRef<Types extends SchemaTypes, T, P = T> extends BaseTypeRef<Types> {
kind: "Enum" | "Scalar" | "Object" | "Interface" | "Union";
$inferType: T;
[outputShapeKey]: T;
[parentShapeKey]: P;
constructor(kind: "Enum" | "Interface" | "Object" | "Scalar" | "Union", name: string);
}
//# sourceMappingURL=output.d.ts.map