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

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// @ts-nocheckimport { InputRef, inputShapeKey, OutputRef, outputShapeKey, parentShapeKey } from '../types/index.ts';import BaseTypeRef from './base.ts';export default class ScalarRef<T, U, P = T> extends BaseTypeRef implements OutputRef, InputRef, PothosSchemaTypes.ScalarRef<T, U, P> { override kind = "Scalar" as const; $inferType!: T; $inferInput!: U; [outputShapeKey]!: T; [parentShapeKey]!: P; [inputShapeKey]!: U; constructor(name: string) { super("Scalar", name); }}
pothos

Version Info

Tagged at
a year ago