Adds a value to an EnumType. This update action can be used to update an EnumType FieldDefinition and a SetType FieldDefinition of EnumType.

interface TypeAddEnumValueAction {
    action: "addEnumValue";
    fieldName: string;
    value: CustomFieldEnumValue;
}

Properties

action: "addEnumValue"
fieldName: string

name of the Field Definition to update.

Value to append to the array.

Generated using TypeDoc