Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Type Parameters

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