@particle-academy/fancy-flow 0.75.0 → 0.76.0
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/dist/{chunk-2H5H2DDP.js → chunk-4KYW5BT4.js} +4 -4
- package/dist/{chunk-2H5H2DDP.js.map → chunk-4KYW5BT4.js.map} +1 -1
- package/dist/{chunk-XZFLPKO2.js → chunk-CYVVUKHH.js} +3 -3
- package/dist/{chunk-XZFLPKO2.js.map → chunk-CYVVUKHH.js.map} +1 -1
- package/dist/{chunk-LKEDPVR3.js → chunk-G4GKDJG5.js} +3 -3
- package/dist/{chunk-LKEDPVR3.js.map → chunk-G4GKDJG5.js.map} +1 -1
- package/dist/{chunk-4BPCA3ZO.js → chunk-M34S7XUM.js} +3 -3
- package/dist/{chunk-4BPCA3ZO.js.map → chunk-M34S7XUM.js.map} +1 -1
- package/dist/{chunk-T7E7QPHI.js → chunk-PXVISCSC.js} +4 -4
- package/dist/{chunk-T7E7QPHI.js.map → chunk-PXVISCSC.js.map} +1 -1
- package/dist/{chunk-W7DMO3H7.js → chunk-V2657EQG.js} +6 -5
- package/dist/chunk-V2657EQG.js.map +1 -0
- package/dist/{chunk-ZBHIEKCN.js → chunk-ZKAPSUTL.js} +3 -3
- package/dist/{chunk-ZBHIEKCN.js.map → chunk-ZKAPSUTL.js.map} +1 -1
- package/dist/durable.cjs +4 -3
- package/dist/durable.cjs.map +1 -1
- package/dist/durable.js +1 -1
- package/dist/engine.cjs +4 -3
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.js +4 -4
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -12
- package/dist/registry.cjs +4 -3
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/runtime.cjs +4 -3
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +3 -3
- package/dist/schema.cjs +4 -3
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +3 -3
- package/dist/screens.cjs +4 -3
- package/dist/screens.cjs.map +1 -1
- package/dist/screens.js +4 -4
- package/dist/ux.cjs +4 -3
- package/dist/ux.cjs.map +1 -1
- package/dist/ux.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-W7DMO3H7.js.map +0 -1
package/dist/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-
|
|
2
|
-
export { runCohort } from './chunk-
|
|
1
|
+
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-ZKAPSUTL.js';
|
|
2
|
+
export { runCohort } from './chunk-G4GKDJG5.js';
|
|
3
3
|
import './chunk-OWENS2H5.js';
|
|
4
|
-
export { RunIdentity, escapeSegment, runFlow } from './chunk-
|
|
4
|
+
export { RunIdentity, escapeSegment, runFlow } from './chunk-V2657EQG.js';
|
|
5
5
|
import './chunk-2QXKDLGT.js';
|
|
6
6
|
//# sourceMappingURL=runtime.js.map
|
|
7
7
|
//# sourceMappingURL=runtime.js.map
|
package/dist/schema.cjs
CHANGED
|
@@ -523,8 +523,9 @@ function possiblePortIds(node) {
|
|
|
523
523
|
if (!kind) return ["out"];
|
|
524
524
|
const config = nodeConfig(node);
|
|
525
525
|
const representative = typeof kind.outputs === "function" && !configDeclaresPorts(kind.name, config);
|
|
526
|
-
const
|
|
527
|
-
|
|
526
|
+
const resolved = resolvePortSpec(kind.outputs, representative ? defaultConfigFor(kind) : config);
|
|
527
|
+
if (resolved === void 0) return ["out"];
|
|
528
|
+
return resolved.map((p) => p.id);
|
|
528
529
|
}
|
|
529
530
|
function configDeclaresPorts(kindName, config) {
|
|
530
531
|
const bare = kindName.startsWith("@") ? kindName.slice(kindName.lastIndexOf("/") + 1) : kindName;
|
|
@@ -850,7 +851,7 @@ function activatedPorts(node, result) {
|
|
|
850
851
|
}
|
|
851
852
|
const kind = getNodeKind(node.data?.kind ?? node.type ?? "") ?? void 0;
|
|
852
853
|
const declared = resolveNodePorts(node, kind).outputs?.map((p) => p.id);
|
|
853
|
-
return { ports: declared
|
|
854
|
+
return { ports: declared ?? ["out"], value: result };
|
|
854
855
|
}
|
|
855
856
|
function portValueOf(activated, portId) {
|
|
856
857
|
return activated.values && Object.prototype.hasOwnProperty.call(activated.values, portId) ? activated.values[portId] : activated.value;
|