import { type InputRef, inputShapeKey, type OutputRef, outputShapeKey, type PothosScalarTypeConfig, parentShapeKey, type SchemaTypes, } from '../types'; import { BaseTypeRef } from './base'; export class ScalarRef extends BaseTypeRef implements OutputRef, InputRef, PothosSchemaTypes.ScalarRef { override kind = 'Scalar' as const; $inferType!: T; $inferInput!: U; [outputShapeKey]!: T; [parentShapeKey]!: P; [inputShapeKey]!: U; constructor(name: string, config?: PothosScalarTypeConfig) { super('Scalar', name, config); } }