Interface: EnumTypeConfig<TInput>

Extends

  • Partial<GraphQLEnumTypeConfig>

Type Parameters

TInput extends string | number

Properties

astNode?

optional astNode: Maybe<EnumTypeDefinitionNode>

Inherited from

Partial.astNode

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:794


description?

optional description: Maybe<string>

Inherited from

Partial.description

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:791


extensionASTNodes?

optional extensionASTNodes: Maybe<readonly EnumTypeExtensionNode[]>

Inherited from

Partial.extensionASTNodes

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:795


extensions?

optional extensions: Maybe<Readonly<GraphQLEnumTypeExtensions>>

Inherited from

Partial.extensions

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:793


name?

optional name: string

Inherited from

Partial.name

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:790


values?

optional values: GraphQLEnumValueConfigMap

Inherited from

Partial.values

Defined in

node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:792


valuesConfig?

optional valuesConfig: TInput extends string | number ? Partial<Record<TInput<TInput>, GraphQLEnumValueConfig>> : Partial<Record<string, GraphQLEnumValueConfig>>

Defined in

packages/valibot/src/metadata.ts:295