Module

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

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

Type Parameters

Types extends SchemaTypes
Param extends InterfaceParam<Types>
Shape
optional
Interfaces extends InterfaceParam<Types>[] = InterfaceParam<Types>[]
optional
ResolveType = unknown
definition: PothosSchemaTypes.InterfaceTypeOptions<Types, Shape, Interfaces, ResolveType> & (Param extends string ? { } : Param extends InterfaceRef<unknown> ? { name?: string; } : { name: string; })