Changes the order of EnumValues in an EnumType FieldDefinition. This update action can be used to update an EnumType FieldDefinition and a SetType FieldDefinition of EnumType.

interface TypeChangeEnumValueOrderAction {
    action: "changeEnumValueOrder";
    fieldName: string;
    keys: string[];
}

Properties

Properties

action: "changeEnumValueOrder"
fieldName: string

name of the FieldDefinition to update.

keys: string[]

Must match the set of keys of the EnumValues in the FieldDefinition (apart from their order).

Generated using TypeDoc