@squeed/flow-sdk 2.0.2 → 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 +7 -2
- package/dist/index.cjs +11 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -2
- package/dist/index.d.ts +37 -2
- package/dist/index.js +6512 -6425
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
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
|
|
|
@@ -977,9 +982,9 @@ const hex = getChakraColorHex("blue.500"); // → "#3182ce"
|
|
|
977
982
|
|
|
978
983
|
## Development Checks
|
|
979
984
|
|
|
980
|
-
See [CONTRIBUTING.md](https://github.com/sciphergfx/flow-sdk/blob/main/CONTRIBUTING.md)
|
|
985
|
+
See [CONTRIBUTING.md](https://github.com/sciphergfx/squeed-flow-sdk/blob/main/CONTRIBUTING.md)
|
|
981
986
|
for local setup and pull-request guidance, and
|
|
982
|
-
[SECURITY.md](https://github.com/sciphergfx/flow-sdk/blob/main/SECURITY.md)
|
|
987
|
+
[SECURITY.md](https://github.com/sciphergfx/squeed-flow-sdk/blob/main/SECURITY.md)
|
|
983
988
|
for private vulnerability reporting.
|
|
984
989
|
|
|
985
990
|
```bash
|