Documentation - v7.8.0
    Preparing search index...
    EnumField:
        | { allowAll?: true; type: "enum"; values: readonly string[] } & Optionality & Multiple & Strict
        | { allowAll?: true; type: "enum"; values: Record<string, string> } & Optionality & Multiple & Strict

    Restricts the value to one of a fixed set of values, given either as an array of strings or as an object mapping (e.g. a TypeScript const object used as an enum). allowAll: true (only meaningful combined with multiple: true) accepts the string 'all' as shorthand for every value in the set.