deno.land / x / pothos@release-1713397530 / packages / core / refs / input-list.ts
12345678910111213141516// @ts-nocheckimport { inputShapeKey, InputTypeParam, SchemaTypes } from '../types/index.ts';import BaseTypeRef from './base.ts';export default class InputListRef<Types extends SchemaTypes, T> extends BaseTypeRef implements PothosSchemaTypes.InputListRef<Types, T> { override kind = "InputList" as const; [inputShapeKey]!: T; $inferInput!: T; listType: InputTypeParam<Types>; required: boolean; constructor(listType: InputTypeParam<Types>, required: boolean) { super("InputList", `InputList<${String(listType)}>`); this.listType = listType; this.required = required; }}
Version Info