Skip to main content
Module

x/pothos/packages/core/mod.ts>EnumTypeOptions

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

Type Parameters

Types extends SchemaTypes
Param extends EnumParam
Values extends EnumValues<Types>
definition: Param extends BaseEnum ? Merge<Omit<PothosSchemaTypes.EnumTypeOptions<Types, Values>, "values"> & { name: string; values?: Partial<Record<keyof Param, Omit<PothosSchemaTypes.EnumValueConfig<Types>, "value">>>; }> : PothosSchemaTypes.EnumTypeOptions<Types, Values>