Skip to main content
Module

x/pothos/packages/plugin-relay/mod.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://deno.land/x/pothos@release-1723512702/packages/plugin-relay/mod.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" | "type" | InferredFieldOptionKeys> & { id: Resolver<ParentShape, InputShapeFromFields<Args>, Types["Context"], ShapeFromTypeParam<Types, OutputRefShape<GlobalIDShape<Types> | string>, true>, ResolveReturnShape>; }