poe-code 3.0.423-beta.2 → 3.0.423-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6154,6 +6154,12 @@ function appendHelpMetadata(description, metadata) {
6154
6154
  function formatHelpFieldDescription(field) {
6155
6155
  const description = field.description ?? field.displayPath;
6156
6156
  const metadata = [];
6157
+ if (field.schema.kind === "enum" && field.schema.values.length <= 8) {
6158
+ const values = field.schema.values.map((value) => String(value)).join(", ");
6159
+ if (values.length <= 120) {
6160
+ metadata.push(`values: ${values}`);
6161
+ }
6162
+ }
6157
6163
  if (!field.optional && !field.hasDefault) {
6158
6164
  metadata.push("required");
6159
6165
  }