@squeed/flow-sdk 2.0.3 → 2.0.4

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.
package/README.md CHANGED
@@ -220,6 +220,11 @@ These ports work in Auto and Properties modes. Omitting
220
220
 
221
221
  Built-in views accept the same declarations in `data.config.ports` or JSON
222
222
  `$ports`, for example `[{ "id": "prompt", "role": "target", "side": "top" }]`.
223
+ An optional `label` changes a port's display text without changing its `id`:
224
+ `{ "id": "output:resource", "label": "output", "role": "source", "side": "right" }`.
225
+ The same `label` prop is supported by `FlowPort`. Workflow interfaces can declare
226
+ it with `/** @port output resource "output" */`; the optional label is a quoted
227
+ JSON string. Connections continue to use `sourceProperty: "output:resource"`.
223
228
  Connections identify these ports using `sourceProperty` and `targetProperty`.
224
229
  Read-only mode and disabled edge handles continue to prevent dragging.
225
230