Module

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

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias ShapeFromTypeParam
import { type ShapeFromTypeParam } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/core/index.ts";

Type Parameters

Types extends SchemaTypes
Param extends TypeParam<Types>
Nullable extends FieldNullability<Param>
definition: Param extends [OutputType<Types>] ? ShapeFromListTypeParam<Types, Param, Nullable> : FieldNullability<Param> extends Nullable ? Types["DefaultFieldNullability"] extends true ? OutputShape<Types, Param> | null | undefined : OutputShape<Types, Param> : Nullable extends true ? OutputShape<Types, Param> | null | undefined : OutputShape<Types, Param>
import ShapeFromTypeParam
import { ShapeFromTypeParam } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/core/index.ts";