Type Alias EnumType

EnumType: Message<"moddef.v1.EnumType"> & {
    description: string;
    name: string;
    typeId: string;
    values: EnumValue[];
}

§12 Enum type definition (reusable, referenced by points/fields).

Type declaration

  • description: string

    from field: string description = 3;

  • name: string

    from field: string name = 2;

  • typeId: string

    from field: string type_id = 1;

  • values: EnumValue[]

    from field: repeated moddef.v1.EnumValue values = 4;

from message moddef.v1.EnumType