Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pothos/packages/core/mod.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-1670043728/packages/core/mod.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