Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Type Parameters

T extends PothosTypeKind
definition: { Object: GraphQLObjectType; Interface: GraphQLInterfaceType; Union: GraphQLUnionType; Enum: GraphQLEnumType; Scalar: GraphQLScalarType; InputObject: GraphQLInputObjectType; }[PothosSchemaTypes.PothosKindToGraphQLType[T]]