Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pothos/packages/plugin-add-graphql/types.ts>AddGraphQLEnumTypeOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
interface AddGraphQLEnumTypeOptions
implements Omit<PothosSchemaTypes.EnumTypeOptions<Types, Values>, "values">
import { type AddGraphQLEnumTypeOptions } from "https://deno.land/x/pothos@release-1695354039/packages/plugin-add-graphql/types.ts";

Type Parameters

Types extends SchemaTypes
optional
Values extends EnumValues<Types> = EnumValues<Types>

Properties

optional
name: string
optional
values: Values