Module

x/pothos/packages/plugin-simple-objects/types.ts>OutputShapeFromFields

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias OutputShapeFromFields
import { type OutputShapeFromFields } from "https://dotland.deno.dev/x/pothos@release-1713397530/packages/plugin-simple-objects/types.ts";
definition: NullableToOptional<[K in keyof Fields]: Fields[K] extends FieldRef<infer T> ? T : never>