Skip to main content
Module

x/pothos/packages/core/index.ts>InputShape

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias InputShape
import { type InputShape } from "https://deno.land/x/pothos@release-1713397530/packages/core/index.ts";
definition: T extends { [inputShapeKey]: infer U; } ? U : T extends new (...args: any[]) => infer U ? U extends { [inputShapeKey]: infer V; } ? V : U : T extends keyof Types["inputShapes"] ? Types["inputShapes"][T] : T extends BaseEnum ? ValuesFromEnum<T> : never