Skip to main content
Module

x/pothos/packages/core/index.ts>ObjectTypeOptions

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

Type Parameters

Types extends SchemaTypes
Param extends ObjectParam<Types>
Shape
Interfaces extends InterfaceParam<Types>[]
definition: Normalize<(Param extends string ? { } : Param extends ObjectRef<unknown> ? { name?: string; } : { name: string; }) & (PothosSchemaTypes.ObjectTypeOptions<Types, Shape> | PothosSchemaTypes.ObjectTypeWithInterfaceOptions<Types, Shape, Interfaces>)>