Module

x/pothos/packages/plugin-relay/types.ts>NodeFieldOptions

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

Type Parameters

Types extends SchemaTypes
ParentShape
Args extends InputFieldMap
ResolveReturnShape
optional
Kind extends FieldKind = FieldKind
definition: Omit<FieldOptionsFromKind<Types, ParentShape, OutputRefShape<GlobalIDShape<Types> | string>, true, Args, Kind, ParentShape, ResolveReturnShape>, "nullable" | "resolve" | "type"> & { id: Resolver<ParentShape, InputShapeFromFields<Args>, Types["Context"], ShapeFromTypeParam<Types, OutputRefShape<GlobalIDShape<Types> | string>, true>, ResolveReturnShape>; }