@oomol-lab/open-flow 0.1.0-alpha.9 → 0.1.0-beta.2
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 +5 -1
- package/dist/browser/createResourceDialog-BkZns-oZ.js +504 -0
- package/dist/browser/diagnostics-giPSzyMo.js +9346 -0
- package/dist/browser/{dist-DhsGR_K3.js → dist-3Mj8q8Pr.js} +27 -27
- package/dist/browser/{dist-n9WmBm5w.js → dist-BKuSVKCC.js} +1 -1
- package/dist/browser/{dist-DQVavPcf.js → dist-BMqL-qR5.js} +469 -903
- package/dist/browser/{dist-D5mdziGP.js → dist-BN4ZCyOB.js} +9 -9
- package/dist/browser/{dist-CVtP-E2c.js → dist-BpopSHwP.js} +1 -1
- package/dist/browser/{dist-B0Q2Mn0n.js → dist-CJpzJrLM.js} +191 -191
- package/dist/browser/{dist-DXgEYMFx.js → dist-CPuF50D9.js} +196 -196
- package/dist/browser/{dist-CUkceEvN.js → dist-CUSrALSX.js} +113 -113
- package/dist/browser/dist-CeSZ2xSM.js +444 -0
- package/dist/browser/{dist-Bc9TvHYl.js → dist-DUzA0Ukh.js} +20 -20
- package/dist/browser/{dist-DWzdGVm9.js → dist-DWADUsVB.js} +74 -74
- package/dist/browser/{esm-YIGXG-Js.js → esm-B_PbUobB.js} +13 -13
- package/dist/browser/flow-authoring-node.d.ts +4 -2
- package/dist/browser/flow-authoring.d.ts +2 -1
- package/dist/browser/flow-authoring.js +400 -100
- package/dist/browser/flow-change.d.ts +9 -4
- package/dist/browser/flow-change.js +49 -46
- package/dist/browser/{flowRunInputEditorStore-DXOyyY7o.js → flowRunInputEditorStore-BeyUSWpO.js} +1644 -908
- package/dist/browser/{flowWorkspace-D7-rBA1-.js → flowWorkspace-DAMLVMcF.js} +18416 -16444
- package/dist/browser/getPseudoElementBounds-ESJExRFX.js +7642 -0
- package/dist/browser/languages-DgJehE1g.js +62 -0
- package/dist/browser/lib-C5Ipyfps.js +7856 -0
- package/dist/browser/licenses.md +119 -1
- package/dist/browser/main-DmjVyuWr.js +76 -0
- package/dist/browser/{markdownContent-ColGUxHy.js → markdownContent-DdlIRN3_.js} +4811 -4795
- package/dist/browser/theme.css +63 -0
- package/dist/browser/theme.css.d.ts +1 -0
- package/dist/browser/typeScriptSession-mPCiA9sV.js +2579 -0
- package/dist/browser/workbench-contract.d.ts +2 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +46 -1
- package/dist/browser/workbench.js +1132 -1474
- package/dist/browser/workbenchSelect-B2s1HV-Y.js +1374 -0
- package/dist/common/connector-action.d.ts +6 -0
- package/dist/common/connector-action.js +37 -29
- package/dist/common/control-api-conformance.js +80 -29
- package/dist/common/control-api-errors.d.ts +24 -0
- package/dist/common/control-api.d.ts +54 -7
- package/dist/common/control-api.js +226 -95
- package/dist/common/flow-encoding.d.ts +2 -2
- package/dist/common/flow-encoding.js +4 -1
- package/dist/common/flow-semantics.d.ts +3 -0
- package/dist/common/flow-semantics.js +939 -851
- package/dist/common/integration-trigger.d.ts +1 -0
- package/dist/common/licenses.md +1 -25
- package/dist/common/localization.d.ts +21 -0
- package/dist/common/localization.js +62 -0
- package/dist/common/provider-triggers.js +4 -1
- package/dist/common/scheduler.d.ts +5 -5
- package/dist/common/scheduler.js +250 -236
- package/package.json +10 -1
- package/dist/browser/addNodeOptions-DRndy4EK.js +0 -6910
- package/dist/browser/createLucideIcon-CqjqCezK.js +0 -5537
- package/dist/browser/createResourceDialog-A64dDFCG.js +0 -467
- package/dist/browser/field-CKGQHCIi.js +0 -312
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, d as t,
|
|
1
|
+
import { c as e, d as t, f as n, h as r, l as i, m as a, u as o } from "./dist-BpopSHwP.js";
|
|
2
2
|
//#region ../../node_modules/.bun/@lezer+lr@1.4.10/node_modules/@lezer/lr/dist/index.js
|
|
3
3
|
var s = class e {
|
|
4
4
|
constructor(e, t, n, r, i, a, o, s, c, l = 0, u) {
|
|
@@ -435,12 +435,12 @@ function b(e, t, n, r) {
|
|
|
435
435
|
return i < 0 || y(n, r, e) < i;
|
|
436
436
|
}
|
|
437
437
|
var x = typeof process < "u" && /\bparse\b/.test({}.LOG), S = null;
|
|
438
|
-
function C(t, n
|
|
439
|
-
let
|
|
440
|
-
for (
|
|
441
|
-
if ((
|
|
442
|
-
if (
|
|
443
|
-
if (!
|
|
438
|
+
function C(e, t, n) {
|
|
439
|
+
let r = e.cursor(i.IncludeAnonymous);
|
|
440
|
+
for (r.moveTo(t);;) if (!(n < 0 ? r.childBefore(t) : r.childAfter(t))) for (;;) {
|
|
441
|
+
if ((n < 0 ? r.to < t : r.from > t) && !r.type.isError) return n < 0 ? Math.max(0, Math.min(r.to - 1, t - 25)) : Math.min(e.length, Math.max(r.from + 1, t + 25));
|
|
442
|
+
if (n < 0 ? r.prevSibling() : r.nextSibling()) break;
|
|
443
|
+
if (!r.parent()) return n < 0 ? 0 : e.length;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
var w = class {
|
|
@@ -461,24 +461,24 @@ var w = class {
|
|
|
461
461
|
for (;;) {
|
|
462
462
|
let t = this.trees.length - 1;
|
|
463
463
|
if (t < 0) return this.nextFragment(), null;
|
|
464
|
-
let
|
|
465
|
-
if (
|
|
464
|
+
let n = this.trees[t], i = this.index[t];
|
|
465
|
+
if (i == n.children.length) {
|
|
466
466
|
this.trees.pop(), this.start.pop(), this.index.pop();
|
|
467
467
|
continue;
|
|
468
468
|
}
|
|
469
|
-
let
|
|
469
|
+
let a = n.children[i], s = this.start[t] + n.positions[i];
|
|
470
470
|
if (s > e) return this.nextStart = s, null;
|
|
471
|
-
if (
|
|
471
|
+
if (a instanceof r) {
|
|
472
472
|
if (s == e) {
|
|
473
473
|
if (s < this.safeFrom) return null;
|
|
474
|
-
let e = s +
|
|
474
|
+
let e = s + a.length;
|
|
475
475
|
if (e <= this.safeTo) {
|
|
476
|
-
let t =
|
|
477
|
-
if (!t || e + t < this.fragment.to) return
|
|
476
|
+
let t = a.prop(o.lookAhead);
|
|
477
|
+
if (!t || e + t < this.fragment.to) return a;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
this.index[t]++, s +
|
|
481
|
-
} else this.index[t]++, this.nextStart = s +
|
|
480
|
+
this.index[t]++, s + a.length >= Math.max(this.safeFrom, e) && (this.trees.push(a), this.start.push(s), this.index.push(0));
|
|
481
|
+
} else this.index[t]++, this.nextStart = s + a.length;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
}, T = class {
|
|
@@ -601,28 +601,28 @@ var w = class {
|
|
|
601
601
|
if (this.stoppedAt != null && this.stoppedAt < e) throw RangeError("Can't move stoppedAt forward");
|
|
602
602
|
this.stoppedAt = e;
|
|
603
603
|
}
|
|
604
|
-
advanceStack(e, t,
|
|
605
|
-
let
|
|
606
|
-
if (this.stoppedAt != null &&
|
|
604
|
+
advanceStack(e, t, n) {
|
|
605
|
+
let i = e.pos, { parser: a } = this, s = x ? this.stackID(e) + " -> " : "";
|
|
606
|
+
if (this.stoppedAt != null && i > this.stoppedAt) return e.forceReduce() ? e : null;
|
|
607
607
|
if (this.fragments) {
|
|
608
|
-
let t = e.curContext && e.curContext.tracker.strict,
|
|
609
|
-
for (let c = this.fragments.nodeAt(
|
|
610
|
-
let
|
|
611
|
-
if (
|
|
608
|
+
let t = e.curContext && e.curContext.tracker.strict, n = t ? e.curContext.hash : 0;
|
|
609
|
+
for (let c = this.fragments.nodeAt(i); c;) {
|
|
610
|
+
let i = this.parser.nodeSet.types[c.type.id] == c.type ? a.getGoto(e.state, c.type.id) : -1;
|
|
611
|
+
if (i > -1 && c.length && (!t || (c.prop(o.contextHash) || 0) == n)) return e.useNode(c, i), x && console.log(s + this.stackID(e) + ` (via reuse of ${a.getName(c.type.id)})`), !0;
|
|
612
612
|
if (!(c instanceof r) || c.children.length == 0 || c.positions[0] > 0) break;
|
|
613
613
|
let l = c.children[0];
|
|
614
614
|
if (l instanceof r && c.positions[0] == 0) c = l;
|
|
615
615
|
else break;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
let c =
|
|
619
|
-
if (c > 0) return e.reduce(c), x && console.log(s + this.stackID(e) + ` (via always-reduce ${
|
|
618
|
+
let c = a.stateSlot(e.state, 4);
|
|
619
|
+
if (c > 0) return e.reduce(c), x && console.log(s + this.stackID(e) + ` (via always-reduce ${a.getName(c & 65535)})`), !0;
|
|
620
620
|
if (e.stack.length >= 8400) for (; e.stack.length > 6e3 && e.forceReduce(););
|
|
621
621
|
let l = this.tokens.getActions(e);
|
|
622
|
-
for (let
|
|
623
|
-
let
|
|
624
|
-
if (f.apply(
|
|
625
|
-
f.pos >
|
|
622
|
+
for (let r = 0; r < l.length;) {
|
|
623
|
+
let o = l[r++], c = l[r++], u = l[r++], d = r == l.length || !n, f = d ? e : e.split(), p = this.tokens.mainToken;
|
|
624
|
+
if (f.apply(o, c, p ? p.start : f.pos, u), x && console.log(s + this.stackID(f) + ` (via ${o & 65536 ? `reduce of ${a.getName(o & 65535)}` : "shift"} for ${a.getName(c)} @ ${i}${f == e ? "" : ", split"})`), d) return !0;
|
|
625
|
+
f.pos > i ? t.push(f) : n.push(f);
|
|
626
626
|
}
|
|
627
627
|
return !1;
|
|
628
628
|
}
|
|
@@ -683,42 +683,42 @@ var O = class {
|
|
|
683
683
|
constructor(e) {
|
|
684
684
|
this.start = e.start, this.shift = e.shift || k, this.reduce = e.reduce || k, this.reuse = e.reuse || k, this.hash = e.hash || (() => 0), this.strict = e.strict !== !1;
|
|
685
685
|
}
|
|
686
|
-
}, j = class
|
|
687
|
-
constructor(
|
|
688
|
-
if (super(), this.wrappers = [],
|
|
689
|
-
let
|
|
690
|
-
this.minRepeatTerm =
|
|
691
|
-
for (let
|
|
692
|
-
let
|
|
693
|
-
for (let e = 0; e <
|
|
686
|
+
}, j = class r extends a {
|
|
687
|
+
constructor(r) {
|
|
688
|
+
if (super(), this.wrappers = [], r.version != 14) throw RangeError(`Parser version (${r.version}) doesn't match runtime version (14)`);
|
|
689
|
+
let i = r.nodeNames.split(" ");
|
|
690
|
+
this.minRepeatTerm = i.length;
|
|
691
|
+
for (let e = 0; e < r.repeatNodeCount; e++) i.push("");
|
|
692
|
+
let a = Object.keys(r.topRules).map((e) => r.topRules[e][1]), s = [];
|
|
693
|
+
for (let e = 0; e < i.length; e++) s.push([]);
|
|
694
694
|
function c(e, t, n) {
|
|
695
695
|
s[e].push([t, t.deserialize(String(n))]);
|
|
696
696
|
}
|
|
697
|
-
if (
|
|
698
|
-
let
|
|
699
|
-
typeof
|
|
700
|
-
for (let n = 1; n <
|
|
701
|
-
let r =
|
|
702
|
-
if (r >= 0) c(r,
|
|
697
|
+
if (r.nodeProps) for (let e of r.nodeProps) {
|
|
698
|
+
let t = e[0];
|
|
699
|
+
typeof t == "string" && (t = o[t]);
|
|
700
|
+
for (let n = 1; n < e.length;) {
|
|
701
|
+
let r = e[n++];
|
|
702
|
+
if (r >= 0) c(r, t, e[n++]);
|
|
703
703
|
else {
|
|
704
|
-
let i =
|
|
705
|
-
for (let a = -r; a > 0; a--) c(
|
|
704
|
+
let i = e[n + -r];
|
|
705
|
+
for (let a = -r; a > 0; a--) c(e[n++], t, i);
|
|
706
706
|
n++;
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
this.nodeSet = new
|
|
711
|
-
name:
|
|
712
|
-
id:
|
|
713
|
-
props: s[
|
|
714
|
-
top:
|
|
715
|
-
error:
|
|
716
|
-
skipped:
|
|
717
|
-
}))),
|
|
718
|
-
let l = d(
|
|
719
|
-
this.context =
|
|
710
|
+
this.nodeSet = new t(i.map((e, t) => n.define({
|
|
711
|
+
name: t >= this.minRepeatTerm ? void 0 : e,
|
|
712
|
+
id: t,
|
|
713
|
+
props: s[t],
|
|
714
|
+
top: a.indexOf(t) > -1,
|
|
715
|
+
error: t == 0,
|
|
716
|
+
skipped: r.skippedNodes && r.skippedNodes.indexOf(t) > -1
|
|
717
|
+
}))), r.propSources && (this.nodeSet = this.nodeSet.extend(...r.propSources)), this.strict = !1, this.bufferLength = e;
|
|
718
|
+
let l = d(r.tokenData);
|
|
719
|
+
this.context = r.context, this.specializerSpecs = r.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length);
|
|
720
720
|
for (let e = 0; e < this.specializerSpecs.length; e++) this.specialized[e] = this.specializerSpecs[e].term;
|
|
721
|
-
this.specializers = this.specializerSpecs.map(P), this.states = d(
|
|
721
|
+
this.specializers = this.specializerSpecs.map(P), this.states = d(r.states, Uint32Array), this.data = d(r.stateData), this.goto = d(r.goto), this.maxTerm = r.maxTerm, this.tokenizers = r.tokenizers.map((e) => typeof e == "number" ? new h(l, e) : e), this.topRules = r.topRules, this.dialects = r.dialects || {}, this.dynamicPrecedences = r.dynamicPrecedences || null, this.tokenPrecTable = r.tokenPrec, this.termNames = r.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
|
|
722
722
|
}
|
|
723
723
|
createParse(e, t, n) {
|
|
724
724
|
let r = new E(this, e, t, n);
|
|
@@ -781,22 +781,22 @@ var O = class {
|
|
|
781
781
|
}
|
|
782
782
|
return t;
|
|
783
783
|
}
|
|
784
|
-
configure(
|
|
785
|
-
let
|
|
786
|
-
if (
|
|
787
|
-
let
|
|
788
|
-
if (!
|
|
789
|
-
|
|
790
|
-
}
|
|
791
|
-
return
|
|
792
|
-
let n =
|
|
793
|
-
return n ? n.to :
|
|
794
|
-
})),
|
|
795
|
-
let i =
|
|
796
|
-
if (!i) return
|
|
797
|
-
let a = Object.assign(Object.assign({},
|
|
798
|
-
return
|
|
799
|
-
})),
|
|
784
|
+
configure(e) {
|
|
785
|
+
let t = Object.assign(Object.create(r.prototype), this);
|
|
786
|
+
if (e.props && (t.nodeSet = this.nodeSet.extend(...e.props)), e.top) {
|
|
787
|
+
let n = this.topRules[e.top];
|
|
788
|
+
if (!n) throw RangeError(`Invalid top rule name ${e.top}`);
|
|
789
|
+
t.top = n;
|
|
790
|
+
}
|
|
791
|
+
return e.tokenizers && (t.tokenizers = this.tokenizers.map((t) => {
|
|
792
|
+
let n = e.tokenizers.find((e) => e.from == t);
|
|
793
|
+
return n ? n.to : t;
|
|
794
|
+
})), e.specializers && (t.specializers = this.specializers.slice(), t.specializerSpecs = this.specializerSpecs.map((n, r) => {
|
|
795
|
+
let i = e.specializers.find((e) => e.from == n.external);
|
|
796
|
+
if (!i) return n;
|
|
797
|
+
let a = Object.assign(Object.assign({}, n), { external: i.to });
|
|
798
|
+
return t.specializers[r] = P(a), a;
|
|
799
|
+
})), e.contextTracker && (t.context = e.contextTracker), e.dialect && (t.dialect = this.parseDialect(e.dialect)), e.strict != null && (t.strict = e.strict), e.wrap && (t.wrappers = t.wrappers.concat(e.wrap)), e.bufferLength != null && (t.bufferLength = e.bufferLength), t;
|
|
800
800
|
}
|
|
801
801
|
hasWrappers() {
|
|
802
802
|
return this.wrappers.length > 0;
|
|
@@ -824,8 +824,8 @@ var O = class {
|
|
|
824
824
|
for (let e = 0; e < t.length; e++) if (!n[e]) for (let n = this.dialects[t[e]], i; (i = this.data[n++]) != 65535;) (r ||= new Uint8Array(this.maxTerm + 1))[i] = 1;
|
|
825
825
|
return new O(e, n, r);
|
|
826
826
|
}
|
|
827
|
-
static deserialize(
|
|
828
|
-
return new e
|
|
827
|
+
static deserialize(e) {
|
|
828
|
+
return new r(e);
|
|
829
829
|
}
|
|
830
830
|
};
|
|
831
831
|
function M(e, t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as t } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
import { n as i } from "./flowWorkspace-
|
|
1
|
+
import { s as e } from "./dist-BpopSHwP.js";
|
|
2
|
+
import { r as t } from "./dist-BKuSVKCC.js";
|
|
3
|
+
import { M as n, t as r } from "./dist-CUSrALSX.js";
|
|
4
|
+
import { n as i } from "./flowWorkspace-DAMLVMcF.js";
|
|
5
5
|
//#region ../../node_modules/.bun/@uiw+codemirror-themes@4.25.11/node_modules/@uiw/codemirror-themes/esm/index.js
|
|
6
6
|
var a = (e) => {
|
|
7
7
|
var i = e.theme, a = e.settings, o = a === void 0 ? {} : a, s = e.styles, c = s === void 0 ? [] : s, l = { ".cm-gutters": {} }, u = {};
|
|
@@ -104,21 +104,21 @@ var a = (e) => {
|
|
|
104
104
|
tag: e.invalid,
|
|
105
105
|
color: "#cb2431"
|
|
106
106
|
}
|
|
107
|
-
], c = (
|
|
107
|
+
], c = (e) => {
|
|
108
108
|
var t = e || {}, n = t.theme, r = n === void 0 ? "light" : n, c = t.settings, l = c === void 0 ? {} : c, u = t.styles, d = u === void 0 ? [] : u;
|
|
109
109
|
return a({
|
|
110
110
|
theme: r,
|
|
111
111
|
settings: i({}, o, l),
|
|
112
112
|
styles: [...s, ...d]
|
|
113
113
|
});
|
|
114
|
-
}
|
|
114
|
+
}, l = c(), u = {
|
|
115
115
|
background: "#0d1117",
|
|
116
116
|
foreground: "#c9d1d9",
|
|
117
117
|
caret: "#c9d1d9",
|
|
118
118
|
selection: "#003d73",
|
|
119
119
|
selectionMatch: "#003d73",
|
|
120
120
|
lineHighlight: "#36334280"
|
|
121
|
-
},
|
|
121
|
+
}, d = [
|
|
122
122
|
{
|
|
123
123
|
tag: [e.standard(e.tagName), e.tagName],
|
|
124
124
|
color: "#7ee787"
|
|
@@ -196,13 +196,13 @@ var a = (e) => {
|
|
|
196
196
|
tag: e.invalid,
|
|
197
197
|
color: "#f97583"
|
|
198
198
|
}
|
|
199
|
-
],
|
|
200
|
-
var t = e || {}, n = t.theme, r = n === void 0 ? "dark" : n, o = t.settings, s = o === void 0 ? {} : o, c = t.styles,
|
|
199
|
+
], f = (e) => {
|
|
200
|
+
var t = e || {}, n = t.theme, r = n === void 0 ? "dark" : n, o = t.settings, s = o === void 0 ? {} : o, c = t.styles, l = c === void 0 ? [] : c;
|
|
201
201
|
return a({
|
|
202
202
|
theme: r,
|
|
203
|
-
settings: i({},
|
|
204
|
-
styles: [...
|
|
203
|
+
settings: i({}, u, s),
|
|
204
|
+
styles: [...d, ...l]
|
|
205
205
|
});
|
|
206
|
-
}
|
|
206
|
+
}, p = f();
|
|
207
207
|
//#endregion
|
|
208
|
-
export {
|
|
208
|
+
export { u as defaultSettingsGithubDark, o as defaultSettingsGithubLight, p as githubDark, f as githubDarkInit, d as githubDarkStyle, l as githubLight, c as githubLightInit, s as githubLightStyle };
|
|
@@ -33,7 +33,7 @@ export type TriggerSettings = (TriggerSettingsBase & {
|
|
|
33
33
|
export declare function createCodeTask(target: GraphTarget, identity: {
|
|
34
34
|
readonly moduleId: string;
|
|
35
35
|
readonly nodeId: string;
|
|
36
|
-
}, name: string, module?: Pick<CodeModule, 'imports' | 'source'
|
|
36
|
+
}, name: string, module?: Pick<CodeModule, 'imports' | 'source'> | undefined, ports?: Pick<Extract<TaskDefinition, {
|
|
37
37
|
readonly moduleId: string;
|
|
38
38
|
}>, 'inputs' | 'outputs'>): readonly ChangeOperation[];
|
|
39
39
|
export declare function createManagedTask(target: GraphTarget, identity: {
|
|
@@ -60,7 +60,7 @@ export declare function createProviderTrigger(target: Extract<GraphTarget, {
|
|
|
60
60
|
readonly nodeId: string;
|
|
61
61
|
}, definition: TriggerKeySnapshot, options: {
|
|
62
62
|
readonly config: Readonly<Record<string, JsonValue>>;
|
|
63
|
-
readonly connectionId
|
|
63
|
+
readonly connectionId?: string;
|
|
64
64
|
readonly name?: string;
|
|
65
65
|
readonly schedule?: readonly TriggerSchedule[];
|
|
66
66
|
}): readonly ChangeOperation[];
|
|
@@ -68,6 +68,8 @@ export declare function deleteNodes(content: RevisionContent, target: GraphTarge
|
|
|
68
68
|
export declare function updateSettings(content: RevisionContent, target: GraphTarget, nodeId: string, settings: Settings): readonly ChangeOperation[] | undefined;
|
|
69
69
|
export declare function setInputValue(content: RevisionContent, target: GraphTarget, nodeId: string, handle: string, value: JsonValue | undefined): readonly ChangeOperation[] | undefined;
|
|
70
70
|
export declare function setInputValues(content: RevisionContent, target: GraphTarget, nodeId: string, values: Readonly<Record<string, JsonValue | undefined>>): readonly ChangeOperation[] | undefined;
|
|
71
|
+
export declare function setInputVariable(content: RevisionContent, target: GraphTarget, nodeId: string, handle: string, name: string, bindingId: string): readonly ChangeOperation[] | undefined;
|
|
72
|
+
export declare function cleanVariableBindings(content: RevisionContent, operations: readonly ChangeOperation[]): readonly ChangeOperation[];
|
|
71
73
|
export declare function setConnectorConnection(content: RevisionContent, taskId: string, connectionId: string): readonly ChangeOperation[] | undefined;
|
|
72
74
|
export declare function updateTrigger(content: RevisionContent, target: {
|
|
73
75
|
readonly kind: 'flow';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const createAuthoringId: (size?: number) => string;
|
|
1
2
|
export { connect, disconnect } from './flow-authoring-edge.js';
|
|
2
3
|
export { imports as moduleImports, rename as renameModule, replaceSource as replaceModuleSource } from './flow-authoring-module.js';
|
|
3
|
-
export { createBuiltinTrigger, createCodeTask, createCondition, createLlmTask, createManagedTask, createProviderTrigger, createValue, deleteNodes, setConnectorConnection, setInputValues, setTriggerConnection, updateSettings, updateTrigger, } from './flow-authoring-node.js';
|
|
4
|
+
export { createBuiltinTrigger, createCodeTask, createCondition, createLlmTask, createManagedTask, createProviderTrigger, createValue, deleteNodes, cleanVariableBindings, setConnectorConnection, setInputVariable, setInputValues, setTriggerConnection, updateSettings, updateTrigger, } from './flow-authoring-node.js';
|