deno.land / x / pothos@release-1713397530 / packages / core / refs / input.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
// @ts-nocheckimport { inputShapeKey } from '../types/index.ts';import BaseTypeRef from './base.ts';export default class InputTypeRef<T> extends BaseTypeRef { override kind; $inferInput!: T; [inputShapeKey]!: T; constructor(kind: "Enum" | "InputObject" | "Scalar", name: string) { super(kind, name); this.kind = kind; }}
pothos

Version Info

Tagged at
a year ago