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