import { type InputTypeParam, inputShapeKey, type SchemaTypes } from '../types'; import { BaseTypeRef } from './base'; export class InputListRef extends BaseTypeRef implements PothosSchemaTypes.InputListRef { override kind = 'InputList' as const; [inputShapeKey]!: T; $inferInput!: T; listType: InputTypeParam; required: boolean; constructor(listType: InputTypeParam, required: boolean) { super('InputList', `InputList<${String(listType)}>`); this.listType = listType; this.required = required; } }