@pothos/core
Version:
Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript
12 lines • 631 B
TypeScript
import { type InputRef, inputShapeKey, type OutputRef, outputShapeKey, type PothosScalarTypeConfig, parentShapeKey, type SchemaTypes } from '../types';
import { BaseTypeRef } from './base';
export declare class ScalarRef<Types extends SchemaTypes, T, U, P = T> extends BaseTypeRef<Types, PothosScalarTypeConfig> implements OutputRef<T>, InputRef<U>, PothosSchemaTypes.ScalarRef<Types, T, U, P> {
kind: "Scalar";
$inferType: T;
$inferInput: U;
[outputShapeKey]: T;
[parentShapeKey]: P;
[inputShapeKey]: U;
constructor(name: string, config?: PothosScalarTypeConfig);
}
//# sourceMappingURL=scalar.d.ts.map