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

x/pothos/packages/plugin-relay/mod.ts>NodeListFieldOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias NodeListFieldOptions
import { type NodeListFieldOptions } from "https://deno.land/x/pothos@release-1695354039/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>], { list: false; items: true; }, Args, Kind, ParentShape, ResolveReturnShape>, "nullable" | "resolve" | "type"> & { ids: Resolver<ParentShape, InputShapeFromFields<Args>, Types["Context"], ShapeFromTypeParam<Types, [OutputRefShape<GlobalIDShape<Types> | string>], { list: false; items: true; }>, ResolveReturnShape>; }