@vnodes/graphql
    Preparing search index...

    Interface EnumOptions<T>

    Interface defining options that can be passed to registerEnumType function.

    interface EnumOptions<T extends object = any> {
        description?: string;
        name: string;
        valuesMap?: Partial<Record<keyof T, EnumMetadataValuesMapOptions>>;
    }

    Type Parameters

    • T extends object = any
    Index

    Properties

    description?: string

    Description of the enum.

    name: string

    Name of the enum.

    valuesMap?: Partial<Record<keyof T, EnumMetadataValuesMapOptions>>

    A map of options for the values of the enum.