@burdenoff/fluidgrids-fe-sdk 2026.1029.7 → 2026.1030.1
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/ExecutionDetailPage-GWBKNRLH.js +22 -0
- package/dist/{ExecutionsListPage-7NMW6S5A.js → ExecutionsListPage-XWHKPZ4I.js} +8 -8
- package/dist/{WorkflowBuilder-RXVUBDZJ.js → WorkflowBuilder-G7BNJ2PN.js} +11 -11
- package/dist/{WorkflowsList-5U74DYQ3.js → WorkflowsList-MJ7PDJSS.js} +8 -8
- package/dist/{chunk-BZTVAUOQ.js → chunk-2QHNITN3.js} +3 -3
- package/dist/{chunk-OJPJ2QXD.js → chunk-4TSFUGBA.js} +2 -2
- package/dist/{chunk-DEGCZCHP.js → chunk-64ZGBHEP.js} +2 -2
- package/dist/{chunk-IDGDMJMJ.js → chunk-7QNSQMAX.js} +3 -3
- package/dist/{chunk-RZR3BDDZ.js → chunk-ARQDZCJH.js} +162 -99
- package/dist/{chunk-4MHWFZJV.js → chunk-B26HQYWR.js} +1 -1
- package/dist/{chunk-NL4JQFFA.js → chunk-BTQJL6D7.js} +1 -1
- package/dist/{chunk-6SZXW2BF.js → chunk-C3XYKJ46.js} +32 -15
- package/dist/{chunk-Z4YQTXCD.js → chunk-CNDA4WB7.js} +4 -4
- package/dist/{chunk-ZE5KS2YL.js → chunk-FLN3KOG5.js} +2 -2
- package/dist/{chunk-YTUIGIVP.js → chunk-GQTEHWWY.js} +12 -8
- package/dist/{chunk-TYYSYSAL.js → chunk-H4AZBUWM.js} +1 -1
- package/dist/{chunk-7CTIVBBA.js → chunk-HGLZOGGQ.js} +4 -4
- package/dist/{chunk-FFOZ5VUJ.js → chunk-IZCDTR5O.js} +1 -1
- package/dist/{chunk-HAFUSBYP.js → chunk-JFAGVOWU.js} +8 -8
- package/dist/{chunk-US4LPOB3.js → chunk-LAV7QQ7Q.js} +1 -1
- package/dist/{chunk-KANARCPR.js → chunk-MJHWM6J6.js} +3 -3
- package/dist/{chunk-VIZ7W5WJ.js → chunk-QZS6DTJX.js} +5 -5
- package/dist/{chunk-SZTKLZZR.js → chunk-R5VDESMI.js} +4 -4
- package/dist/{chunk-E7UAY3JJ.js → chunk-SJBJ3D7A.js} +1 -1
- package/dist/{chunk-AXMEATLG.js → chunk-TBRZKV2D.js} +2 -2
- package/dist/{chunk-EGIEFGOV.js → chunk-WHTA6KAS.js} +822 -62
- package/dist/{chunk-K4BF7PAW.js → chunk-Y6IEOGIU.js} +301 -30
- package/dist/{chunk-6TMLIQHB.js → chunk-Z3FYBDE3.js} +30 -1
- package/dist/{chunk-LAVHDFHI.js → chunk-Z6I6A47T.js} +1 -1
- package/dist/executions.js +12 -12
- package/dist/history.js +4 -4
- package/dist/index.d.ts +210 -3
- package/dist/index.js +35 -35
- package/dist/nodes.js +2 -2
- package/dist/observability.js +6 -6
- package/dist/settings.js +6 -6
- package/dist/templates.js +10 -10
- package/dist/{workflow-builder-CZFczcE7.d.ts → workflow-builder-BMGVSwpy.d.ts} +7 -0
- package/dist/workflow-builder.d.ts +1 -1
- package/dist/workflow-builder.js +12 -12
- package/dist/workflows-list.js +8 -8
- package/package.json +3 -3
- package/dist/ExecutionDetailPage-L7LZYFOT.js +0 -22
|
@@ -2,11 +2,11 @@ import { cn as cn$1 } from './chunk-JL7CASN5.js';
|
|
|
2
2
|
import { getGlobalStoreClient, createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient } from './chunk-PXIFUMLA.js';
|
|
3
3
|
import { getFluidGridsConfig, validateTrustedOrigin, resetFluidGridsExecutionState, setFluidGridsConfig, resetFluidGridsConfig } from './chunk-6AMNEX2Y.js';
|
|
4
4
|
import { GetMyNodeInstallationsDocument } from './chunk-JUUYPCFY.js';
|
|
5
|
-
import { fetchAllNodeEndpointConfigs, NodeManifestDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, ExecuteStepDocument, TriggerWorkflowDocument, RunFromNodeDocument, ExecutionDetailDocument, WorkflowDefinitionDocument, WorkflowRunDocument } from './chunk-
|
|
5
|
+
import { fetchAllNodeEndpointConfigs, NodeManifestDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, ExecuteStepDocument, TriggerWorkflowDocument, RunFromNodeDocument, ExecutionDetailDocument, WorkflowDefinitionDocument, WorkflowRunDocument } from './chunk-GQTEHWWY.js';
|
|
6
6
|
import { useTr, ENGLISH_FALLBACK_TRANSLATOR, FluidGridsTranslationProvider } from './chunk-UULVIT25.js';
|
|
7
7
|
import { waitForFluidGridsClient, getFluidGridsClient, getFluidGridsClientSafe, createFluidGridsClient, setFluidGridsClient, resetFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
8
8
|
import * as React2 from 'react';
|
|
9
|
-
import { forwardRef, useState, useImperativeHandle, useRef, useEffect, useMemo, createContext, memo, useCallback,
|
|
9
|
+
import { forwardRef, useState, useImperativeHandle, useRef, useEffect, useMemo, createContext, memo, useCallback, useContext, useSyncExternalStore, cloneElement } from 'react';
|
|
10
10
|
import { useOptionalFeatureFlags } from '@burdenoff/fe-libs/shared/feature-flags';
|
|
11
11
|
import { CombinedGraphQLErrors, ServerError } from '@apollo/client/errors';
|
|
12
12
|
import { dispatchUpgradePrompt } from '@burdenoff/fe-libs/shared/components';
|
|
@@ -3180,6 +3180,9 @@ var CONNECTION_FIELDS = gql`
|
|
|
3180
3180
|
createdBy
|
|
3181
3181
|
createdAt
|
|
3182
3182
|
updatedAt
|
|
3183
|
+
visibility
|
|
3184
|
+
myAccess
|
|
3185
|
+
canUse
|
|
3183
3186
|
}
|
|
3184
3187
|
`;
|
|
3185
3188
|
var GET_CONNECTIONS = gql`
|
|
@@ -3578,6 +3581,7 @@ function ConnectionFormDialog({
|
|
|
3578
3581
|
requireVault: false,
|
|
3579
3582
|
defaultName,
|
|
3580
3583
|
showSharingTab: true,
|
|
3584
|
+
defaultVisibility: "RESTRICTED",
|
|
3581
3585
|
onConnectionCreated: handleCreated,
|
|
3582
3586
|
onError
|
|
3583
3587
|
}
|
|
@@ -4146,8 +4150,12 @@ function AdapterConnectionSelector({
|
|
|
4146
4150
|
const availableConnections = useMemo(() => {
|
|
4147
4151
|
if (!adapters || adapters.length === 0) return [];
|
|
4148
4152
|
return connections.filter(
|
|
4149
|
-
(connection) =>
|
|
4150
|
-
|
|
4153
|
+
(connection) => (
|
|
4154
|
+
// BOFF-9726: an admin sees everyone's private connections but cannot
|
|
4155
|
+
// run workflows with them, so only usable ones are offered for a node.
|
|
4156
|
+
connection.canUse !== false && adapters.some(
|
|
4157
|
+
(adapter) => matchesAdapterProvider(adapter, connection.provider?.key ?? "")
|
|
4158
|
+
)
|
|
4151
4159
|
)
|
|
4152
4160
|
);
|
|
4153
4161
|
}, [connections, adapters]);
|
|
@@ -4161,7 +4169,7 @@ function AdapterConnectionSelector({
|
|
|
4161
4169
|
const fullConn = connections.find(
|
|
4162
4170
|
(c) => c.id === selected.connectionId
|
|
4163
4171
|
);
|
|
4164
|
-
if (fullConn) {
|
|
4172
|
+
if (fullConn && fullConn.canUse !== false) {
|
|
4165
4173
|
allConnections.push(fullConn);
|
|
4166
4174
|
}
|
|
4167
4175
|
}
|
|
@@ -4556,6 +4564,11 @@ function useDeleteNode() {
|
|
|
4556
4564
|
[deleteElements, getEdges, getNode, deleteNodes]
|
|
4557
4565
|
);
|
|
4558
4566
|
}
|
|
4567
|
+
var BuilderReadOnlyContext = createContext(false);
|
|
4568
|
+
var BuilderReadOnlyProvider = BuilderReadOnlyContext.Provider;
|
|
4569
|
+
function useBuilderReadOnly() {
|
|
4570
|
+
return useContext(BuilderReadOnlyContext);
|
|
4571
|
+
}
|
|
4559
4572
|
|
|
4560
4573
|
// src/builder/contants/symbols.ts
|
|
4561
4574
|
var NODE_TYPE_DRAG_DATA_FORMAT = "application/flow-builder.node-type";
|
|
@@ -4605,6 +4618,7 @@ function StickyNoteNodeComponent({
|
|
|
4605
4618
|
const { setNodes, getNode } = useReactFlow();
|
|
4606
4619
|
const zustandSetNodes = useFlowStore((s) => s.actions.nodes.setNodes);
|
|
4607
4620
|
const deleteNode = useDeleteNode();
|
|
4621
|
+
const readOnly = useBuilderReadOnly();
|
|
4608
4622
|
const [editing, setEditing] = useState(false);
|
|
4609
4623
|
const [showPalette, setShowPalette] = useState(false);
|
|
4610
4624
|
const [draft, setDraft] = useState(String(data.content ?? ""));
|
|
@@ -4680,7 +4694,7 @@ function StickyNoteNodeComponent({
|
|
|
4680
4694
|
/* @__PURE__ */ jsx(
|
|
4681
4695
|
NodeResizer,
|
|
4682
4696
|
{
|
|
4683
|
-
isVisible: !!selected,
|
|
4697
|
+
isVisible: !!selected && !readOnly,
|
|
4684
4698
|
minWidth: STICKY_MIN_SIZE.width,
|
|
4685
4699
|
minHeight: STICKY_MIN_SIZE.height,
|
|
4686
4700
|
lineStyle: { border: "none", zIndex: 20 },
|
|
@@ -4698,7 +4712,9 @@ function StickyNoteNodeComponent({
|
|
|
4698
4712
|
{
|
|
4699
4713
|
className: cn(
|
|
4700
4714
|
"absolute right-1 z-30 flex items-center gap-0.5 rounded-lg border border-border bg-card p-0.5 shadow-md transition-all duration-150",
|
|
4701
|
-
selected || showPalette ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0 group-hover:pointer-events-auto group-hover:opacity-100"
|
|
4715
|
+
selected || showPalette ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0 group-hover:pointer-events-auto group-hover:opacity-100",
|
|
4716
|
+
// Nothing to change on a read-only canvas (BOFF-9725).
|
|
4717
|
+
readOnly && "hidden"
|
|
4702
4718
|
),
|
|
4703
4719
|
style: { top: -15 },
|
|
4704
4720
|
onDoubleClick: (e) => e.stopPropagation(),
|
|
@@ -4786,12 +4802,13 @@ function StickyNoteNodeComponent({
|
|
|
4786
4802
|
},
|
|
4787
4803
|
onDoubleClick: (e) => {
|
|
4788
4804
|
e.stopPropagation();
|
|
4789
|
-
startEditing();
|
|
4805
|
+
if (!readOnly) startEditing();
|
|
4790
4806
|
},
|
|
4791
4807
|
children: editing ? /* @__PURE__ */ jsx(
|
|
4792
4808
|
"textarea",
|
|
4793
4809
|
{
|
|
4794
4810
|
ref: textareaRef,
|
|
4811
|
+
readOnly,
|
|
4795
4812
|
value: draft,
|
|
4796
4813
|
onChange: (e) => setDraft(e.target.value),
|
|
4797
4814
|
onBlur: commitEdit,
|
|
@@ -6580,8 +6597,26 @@ var PERMANENT_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
|
6580
6597
|
"FAILED_PRECONDITION",
|
|
6581
6598
|
"CONFLICT"
|
|
6582
6599
|
]);
|
|
6600
|
+
function textOf(value) {
|
|
6601
|
+
return typeof value === "string" && value.length > 0 ? value : null;
|
|
6602
|
+
}
|
|
6603
|
+
function findSaveConflict(error) {
|
|
6604
|
+
const extensions = collectExtensions(error).find(
|
|
6605
|
+
(ext) => ext.code === "CONFLICT" && (ext.reason === "STALE_REVISION" || ext.reason === "EDIT_LEASE_HELD")
|
|
6606
|
+
);
|
|
6607
|
+
if (!extensions) return null;
|
|
6608
|
+
const revision = extensions.currentRevision;
|
|
6609
|
+
return {
|
|
6610
|
+
reason: extensions.reason,
|
|
6611
|
+
currentRevision: typeof revision === "number" && Number.isFinite(revision) ? revision : null,
|
|
6612
|
+
currentStatus: textOf(extensions.currentStatus),
|
|
6613
|
+
updatedById: textOf(extensions.updatedById),
|
|
6614
|
+
holderActorId: textOf(extensions.holderActorId)
|
|
6615
|
+
};
|
|
6616
|
+
}
|
|
6583
6617
|
function classifySaveFailure(error) {
|
|
6584
6618
|
if (findQuotaRefusal(error)) return "quota";
|
|
6619
|
+
if (findSaveConflict(error)) return "conflict";
|
|
6585
6620
|
if (errorCodesOf(error).some((code) => PERMANENT_ERROR_CODES.has(code))) {
|
|
6586
6621
|
return "permanent";
|
|
6587
6622
|
}
|
|
@@ -6691,6 +6726,196 @@ function editStateOf(baseline, current, now) {
|
|
|
6691
6726
|
return "dirty";
|
|
6692
6727
|
}
|
|
6693
6728
|
|
|
6729
|
+
// src/builder/lib/workflow-revisions.ts
|
|
6730
|
+
var known = /* @__PURE__ */ new Map();
|
|
6731
|
+
function rememberRevision(dbId, revision) {
|
|
6732
|
+
if (!dbId || typeof revision !== "number" || !Number.isFinite(revision)) {
|
|
6733
|
+
return;
|
|
6734
|
+
}
|
|
6735
|
+
const current = known.get(dbId);
|
|
6736
|
+
if (current === void 0 || revision > current) known.set(dbId, revision);
|
|
6737
|
+
}
|
|
6738
|
+
function rememberOwnStatusChange(dbId, revision) {
|
|
6739
|
+
if (!dbId || typeof revision !== "number") return;
|
|
6740
|
+
const current = known.get(dbId);
|
|
6741
|
+
if (current !== void 0 && revision === current + 1) {
|
|
6742
|
+
known.set(dbId, revision);
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
function revisionOf(dbId) {
|
|
6746
|
+
return dbId ? known.get(dbId) : void 0;
|
|
6747
|
+
}
|
|
6748
|
+
|
|
6749
|
+
// src/builder/lib/edit-session.ts
|
|
6750
|
+
var SESSION_ID_PATTERN = /^[A-Za-z0-9_-]{8,64}$/;
|
|
6751
|
+
function randomSessionId() {
|
|
6752
|
+
const cryptoApi = globalThis.crypto;
|
|
6753
|
+
if (cryptoApi?.randomUUID) return cryptoApi.randomUUID();
|
|
6754
|
+
const bytes = new Uint8Array(16);
|
|
6755
|
+
cryptoApi?.getRandomValues?.(bytes);
|
|
6756
|
+
if (bytes.every((byte) => byte === 0)) {
|
|
6757
|
+
for (let i = 0; i < bytes.length; i += 1) {
|
|
6758
|
+
bytes[i] = Math.floor(Math.random() * 256);
|
|
6759
|
+
}
|
|
6760
|
+
}
|
|
6761
|
+
return Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join(
|
|
6762
|
+
""
|
|
6763
|
+
);
|
|
6764
|
+
}
|
|
6765
|
+
var EDIT_SESSION_ID = randomSessionId();
|
|
6766
|
+
var storageKey = (workflowKey) => `fluidgrids.builder.editSession.${workflowKey}`;
|
|
6767
|
+
function rememberSessionForReload(storage, workflowKey, sessionId) {
|
|
6768
|
+
try {
|
|
6769
|
+
storage?.setItem(storageKey(workflowKey), sessionId);
|
|
6770
|
+
} catch {
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6773
|
+
function sessionBeforeReload(storage, workflowKey, currentSessionId = EDIT_SESSION_ID) {
|
|
6774
|
+
try {
|
|
6775
|
+
const stored = storage?.getItem(storageKey(workflowKey)) ?? null;
|
|
6776
|
+
if (!stored || stored === currentSessionId) return null;
|
|
6777
|
+
return SESSION_ID_PATTERN.test(stored) ? stored : null;
|
|
6778
|
+
} catch {
|
|
6779
|
+
return null;
|
|
6780
|
+
}
|
|
6781
|
+
}
|
|
6782
|
+
function forgetSessionForReload(storage, workflowKey) {
|
|
6783
|
+
try {
|
|
6784
|
+
storage?.removeItem(storageKey(workflowKey));
|
|
6785
|
+
} catch {
|
|
6786
|
+
}
|
|
6787
|
+
}
|
|
6788
|
+
|
|
6789
|
+
// src/builder/lib/edit-lease.ts
|
|
6790
|
+
var LEASE_RENEW_MS = 2e4;
|
|
6791
|
+
var LEASE_VIEW_POLL_MS = 1e4;
|
|
6792
|
+
var LEASE_IDLE_RELEASE_MS = 15 * 6e4;
|
|
6793
|
+
function isLocked(phase) {
|
|
6794
|
+
return phase === "viewing" || phase === "lost" || phase === "idle" || phase === "reloading";
|
|
6795
|
+
}
|
|
6796
|
+
function phaseAfterAcquire(previous, answer) {
|
|
6797
|
+
if (!answer.available) {
|
|
6798
|
+
return isLocked(previous) || previous === "holding" ? previous : "unavailable";
|
|
6799
|
+
}
|
|
6800
|
+
if (answer.heldBySelf) return "holding";
|
|
6801
|
+
if (answer.held) return previous === "holding" ? "lost" : "viewing";
|
|
6802
|
+
return previous;
|
|
6803
|
+
}
|
|
6804
|
+
function phaseAfterTakeOver(answer) {
|
|
6805
|
+
if (!answer.available) return "unavailable";
|
|
6806
|
+
return answer.heldBySelf ? "reloading" : "viewing";
|
|
6807
|
+
}
|
|
6808
|
+
function releasesOnClose(phase) {
|
|
6809
|
+
return phase === "starting" || phase === "holding" || phase === "unavailable";
|
|
6810
|
+
}
|
|
6811
|
+
var LEASE_CALL_MAX_WAIT_MS = 15e3;
|
|
6812
|
+
function leaseCallQueue(maxWaitMs = LEASE_CALL_MAX_WAIT_MS) {
|
|
6813
|
+
const tails = /* @__PURE__ */ new Map();
|
|
6814
|
+
return {
|
|
6815
|
+
run(workflowKey, call) {
|
|
6816
|
+
const previous = tails.get(workflowKey) ?? Promise.resolve();
|
|
6817
|
+
const result = previous.then(call);
|
|
6818
|
+
const tail = previous.then(
|
|
6819
|
+
() => new Promise((resolve) => {
|
|
6820
|
+
const timer = setTimeout(resolve, maxWaitMs);
|
|
6821
|
+
const done = () => {
|
|
6822
|
+
clearTimeout(timer);
|
|
6823
|
+
resolve();
|
|
6824
|
+
};
|
|
6825
|
+
result.then(done, done);
|
|
6826
|
+
})
|
|
6827
|
+
);
|
|
6828
|
+
tails.set(workflowKey, tail);
|
|
6829
|
+
void tail.then(() => {
|
|
6830
|
+
if (tails.get(workflowKey) === tail) tails.delete(workflowKey);
|
|
6831
|
+
});
|
|
6832
|
+
return result;
|
|
6833
|
+
}
|
|
6834
|
+
};
|
|
6835
|
+
}
|
|
6836
|
+
function shouldReleaseForIdle(phase, lastInputAt, now) {
|
|
6837
|
+
return phase === "holding" && now - lastInputAt >= LEASE_IDLE_RELEASE_MS;
|
|
6838
|
+
}
|
|
6839
|
+
function tickAction(phase, state, now) {
|
|
6840
|
+
if (phase === "holding" || phase === "unavailable") {
|
|
6841
|
+
return now - state.lastRenewAt >= LEASE_RENEW_MS ? "renew" : "none";
|
|
6842
|
+
}
|
|
6843
|
+
if (phase === "viewing" || phase === "lost" || phase === "idle") {
|
|
6844
|
+
return state.visible && now - state.lastPeekAt >= LEASE_VIEW_POLL_MS ? "peek" : "none";
|
|
6845
|
+
}
|
|
6846
|
+
return "none";
|
|
6847
|
+
}
|
|
6848
|
+
function bannerOf(state) {
|
|
6849
|
+
switch (state.phase) {
|
|
6850
|
+
case "viewing":
|
|
6851
|
+
return state.held ? {
|
|
6852
|
+
kind: "editing",
|
|
6853
|
+
actorId: state.holderActorId,
|
|
6854
|
+
self: state.heldByCaller
|
|
6855
|
+
} : { kind: "free" };
|
|
6856
|
+
case "lost":
|
|
6857
|
+
return {
|
|
6858
|
+
kind: "taken",
|
|
6859
|
+
actorId: state.takenBy,
|
|
6860
|
+
self: state.takenByCaller
|
|
6861
|
+
};
|
|
6862
|
+
case "idle":
|
|
6863
|
+
return { kind: "idle" };
|
|
6864
|
+
case "reloading":
|
|
6865
|
+
return { kind: "reloading" };
|
|
6866
|
+
default:
|
|
6867
|
+
return null;
|
|
6868
|
+
}
|
|
6869
|
+
}
|
|
6870
|
+
var IDLE = {
|
|
6871
|
+
workflowKey: null,
|
|
6872
|
+
phase: "inactive",
|
|
6873
|
+
held: false,
|
|
6874
|
+
holderActorId: null,
|
|
6875
|
+
heldByCaller: false,
|
|
6876
|
+
takenBy: null,
|
|
6877
|
+
takenByCaller: false
|
|
6878
|
+
};
|
|
6879
|
+
function commitFocusedEdit() {
|
|
6880
|
+
if (typeof document === "undefined") return;
|
|
6881
|
+
const focused = document.activeElement;
|
|
6882
|
+
if (!focused || typeof focused.blur !== "function") return;
|
|
6883
|
+
const editable = focused.isContentEditable || typeof focused.matches === "function" && focused.matches("input, textarea, select");
|
|
6884
|
+
if (editable) focused.blur();
|
|
6885
|
+
}
|
|
6886
|
+
var useEditLeaseStore = create()((set, get) => ({
|
|
6887
|
+
...IDLE,
|
|
6888
|
+
actions: {
|
|
6889
|
+
begin: (workflowKey) => set(
|
|
6890
|
+
(state) => (
|
|
6891
|
+
// A reload of the same workflow keeps "reloading" (and its lock)
|
|
6892
|
+
// until the lease is confirmed again.
|
|
6893
|
+
state.workflowKey === workflowKey && state.phase === "reloading" ? state : { ...IDLE, workflowKey, phase: "starting" }
|
|
6894
|
+
)
|
|
6895
|
+
),
|
|
6896
|
+
record: (phase, answer) => {
|
|
6897
|
+
if (isLocked(phase) && !isLocked(get().phase)) commitFocusedEdit();
|
|
6898
|
+
set(() => {
|
|
6899
|
+
if (!answer || !answer.available) return { phase };
|
|
6900
|
+
const holderActorId = answer.held ? answer.holderActorId ?? null : null;
|
|
6901
|
+
const heldByCaller = answer.held && !!answer.heldByCaller;
|
|
6902
|
+
const taken = phase !== "lost" ? { takenBy: null, takenByCaller: false } : answer.held ? { takenBy: holderActorId, takenByCaller: heldByCaller } : {};
|
|
6903
|
+
return {
|
|
6904
|
+
phase,
|
|
6905
|
+
held: answer.held,
|
|
6906
|
+
holderActorId,
|
|
6907
|
+
heldByCaller,
|
|
6908
|
+
...taken
|
|
6909
|
+
};
|
|
6910
|
+
});
|
|
6911
|
+
},
|
|
6912
|
+
reset: () => set({ ...IDLE })
|
|
6913
|
+
}
|
|
6914
|
+
}));
|
|
6915
|
+
function useEditLeaseLocked() {
|
|
6916
|
+
return useEditLeaseStore((s) => isLocked(s.phase));
|
|
6917
|
+
}
|
|
6918
|
+
|
|
6694
6919
|
// src/builder/lib/workflow-save-snapshot.ts
|
|
6695
6920
|
function snapshotForSave(workflow, generation, route = {}) {
|
|
6696
6921
|
const copy = {
|
|
@@ -6728,7 +6953,8 @@ var PRISTINE = {
|
|
|
6728
6953
|
baseline: null,
|
|
6729
6954
|
quotaExhausted: false,
|
|
6730
6955
|
leaveRequest: null,
|
|
6731
|
-
autosavePaused: false
|
|
6956
|
+
autosavePaused: false,
|
|
6957
|
+
conflictOpen: false
|
|
6732
6958
|
};
|
|
6733
6959
|
var useSaveStatusStore = create()((set) => ({
|
|
6734
6960
|
...PRISTINE,
|
|
@@ -6745,10 +6971,15 @@ var useSaveStatusStore = create()((set) => ({
|
|
|
6745
6971
|
failure: null,
|
|
6746
6972
|
incomplete: false,
|
|
6747
6973
|
autosavePaused: false,
|
|
6974
|
+
conflictOpen: false,
|
|
6748
6975
|
lastSavedAt: at
|
|
6749
6976
|
} : { saving: false }
|
|
6750
6977
|
),
|
|
6751
|
-
saveFailed: (failure) => set({
|
|
6978
|
+
saveFailed: (failure) => set({
|
|
6979
|
+
saving: false,
|
|
6980
|
+
failure,
|
|
6981
|
+
conflictOpen: failure.conflict?.reason === "STALE_REVISION"
|
|
6982
|
+
}),
|
|
6752
6983
|
clearFailure: () => set({ failure: null }),
|
|
6753
6984
|
setQuotaExhausted: (quotaExhausted) => set({ quotaExhausted }),
|
|
6754
6985
|
setAutosaveEnabled: (autosaveEnabled) => {
|
|
@@ -6757,6 +6988,7 @@ var useSaveStatusStore = create()((set) => ({
|
|
|
6757
6988
|
},
|
|
6758
6989
|
requestLeave: (leaveRequest) => set({ leaveRequest }),
|
|
6759
6990
|
setAutosavePaused: (autosavePaused) => set({ autosavePaused }),
|
|
6991
|
+
setConflictOpen: (conflictOpen) => set({ conflictOpen }),
|
|
6760
6992
|
reset: () => set({ ...PRISTINE })
|
|
6761
6993
|
}
|
|
6762
6994
|
}));
|
|
@@ -6875,13 +7107,15 @@ function useSaveWorkflow() {
|
|
|
6875
7107
|
const { bus, workspaceId } = useFluidGridsAnalytics();
|
|
6876
7108
|
const setWorkflow = useFlowStore((s) => s.actions.setWorkflow);
|
|
6877
7109
|
const performSave = useCallback(
|
|
6878
|
-
async (snapshot, silent) => {
|
|
7110
|
+
async (snapshot, silent, asNewVersion) => {
|
|
6879
7111
|
const stillOpen = () => useFlowStore.getState().loadGeneration === snapshot.generation;
|
|
6880
7112
|
try {
|
|
6881
7113
|
const { workflow } = snapshot;
|
|
6882
7114
|
const mintedKey = snapshot.key ? null : v4();
|
|
6883
7115
|
const workflowKey = snapshot.key || mintedKey || "";
|
|
6884
|
-
const
|
|
7116
|
+
const forkRequested = asNewVersion && !!workflow.dbId;
|
|
7117
|
+
const isDraft = !forkRequested && (!workflow.status || workflow.status === "DRAFT");
|
|
7118
|
+
const expectedRevision = revisionOf(workflow.dbId);
|
|
6885
7119
|
const client = getFluidGridsClient();
|
|
6886
7120
|
const { preparedWorkflow, owned } = builderDefinition(
|
|
6887
7121
|
snapshot,
|
|
@@ -6907,7 +7141,11 @@ function useSaveWorkflow() {
|
|
|
6907
7141
|
description: workflow.name || "Workflow update",
|
|
6908
7142
|
// null (not undefined) so an emptied alias field actually
|
|
6909
7143
|
// CLEARS the alias — undefined is dropped by the resolver.
|
|
6910
|
-
alias: workflow.alias?.trim() ? workflow.alias.trim() : null
|
|
7144
|
+
alias: workflow.alias?.trim() ? workflow.alias.trim() : null,
|
|
7145
|
+
// Refused instead of overwriting a change made elsewhere,
|
|
7146
|
+
// or a save from a page that no longer holds the edit lease.
|
|
7147
|
+
...expectedRevision !== void 0 ? { expectedRevision } : {},
|
|
7148
|
+
editSessionId: EDIT_SESSION_ID
|
|
6911
7149
|
}
|
|
6912
7150
|
}
|
|
6913
7151
|
})
|
|
@@ -6917,6 +7155,7 @@ function useSaveWorkflow() {
|
|
|
6917
7155
|
}
|
|
6918
7156
|
savedVersion = data.updateWorkflowDefinition.version;
|
|
6919
7157
|
savedDbId = data.updateWorkflowDefinition.id;
|
|
7158
|
+
rememberRevision(savedDbId, data.updateWorkflowDefinition.revision);
|
|
6920
7159
|
operation = "updated";
|
|
6921
7160
|
if (!silent) {
|
|
6922
7161
|
toast.success("Workflow saved", {
|
|
@@ -6944,6 +7183,7 @@ function useSaveWorkflow() {
|
|
|
6944
7183
|
}
|
|
6945
7184
|
savedVersion = data.createWorkflowDefinition.version;
|
|
6946
7185
|
savedDbId = data.createWorkflowDefinition.id;
|
|
7186
|
+
rememberRevision(savedDbId, data.createWorkflowDefinition.revision);
|
|
6947
7187
|
operation = "created";
|
|
6948
7188
|
emitWorkflowCreated(bus, {
|
|
6949
7189
|
workspaceId,
|
|
@@ -6984,7 +7224,15 @@ function useSaveWorkflow() {
|
|
|
6984
7224
|
// pointer — the backend clears it from siblings). Included
|
|
6985
7225
|
// only when set so saves without an alias don't depend on the
|
|
6986
7226
|
// new schema field being deployed.
|
|
6987
|
-
...workflow.alias?.trim() ? { alias: workflow.alias.trim() } : {}
|
|
7227
|
+
...workflow.alias?.trim() ? { alias: workflow.alias.trim() } : {},
|
|
7228
|
+
// A save of an ACTIVE or ARCHIVED version claims it, so two
|
|
7229
|
+
// pages that loaded it never create rival drafts. Keeping
|
|
7230
|
+
// the canvas as a new version on purpose skips the claim.
|
|
7231
|
+
...forkRequested ? {} : {
|
|
7232
|
+
baseVersion: workflow.version,
|
|
7233
|
+
...expectedRevision !== void 0 ? { expectedRevision } : {},
|
|
7234
|
+
editSessionId: EDIT_SESSION_ID
|
|
7235
|
+
}
|
|
6988
7236
|
}
|
|
6989
7237
|
}
|
|
6990
7238
|
})
|
|
@@ -6997,6 +7245,7 @@ function useSaveWorkflow() {
|
|
|
6997
7245
|
const newWorkflow = data.createWorkflowVersion.workflow;
|
|
6998
7246
|
savedVersion = newWorkflow?.version ?? workflow.version;
|
|
6999
7247
|
savedDbId = newWorkflow?.id ?? workflow.dbId;
|
|
7248
|
+
rememberRevision(newWorkflow?.id, newWorkflow?.revision);
|
|
7000
7249
|
operation = "versioned";
|
|
7001
7250
|
if (stillOpen()) {
|
|
7002
7251
|
setWorkflow({
|
|
@@ -7042,15 +7291,30 @@ function useSaveWorkflow() {
|
|
|
7042
7291
|
console.error("Error saving workflow:", message);
|
|
7043
7292
|
const cause = error instanceof Error ? error.cause : void 0;
|
|
7044
7293
|
const quotaExhausted2 = isQuotaExhaustedFailure(cause) || isQuotaExhaustedFailure(error);
|
|
7045
|
-
|
|
7294
|
+
const conflict = findSaveConflict(error);
|
|
7295
|
+
if (!quotaExhausted2 && !conflict && !silent) {
|
|
7046
7296
|
toast.error("Failed to save workflow", {
|
|
7047
7297
|
description: message
|
|
7048
7298
|
});
|
|
7049
7299
|
}
|
|
7300
|
+
if (conflict?.reason === "EDIT_LEASE_HELD" && stillOpen()) {
|
|
7301
|
+
const lease = useEditLeaseStore.getState();
|
|
7302
|
+
const answer = {
|
|
7303
|
+
available: true,
|
|
7304
|
+
held: true,
|
|
7305
|
+
heldBySelf: false,
|
|
7306
|
+
holderActorId: conflict.holderActorId
|
|
7307
|
+
};
|
|
7308
|
+
lease.actions.record(phaseAfterAcquire(lease.phase, answer), answer);
|
|
7309
|
+
}
|
|
7050
7310
|
return {
|
|
7051
7311
|
saved: false,
|
|
7052
7312
|
quotaExhausted: quotaExhausted2,
|
|
7053
|
-
failure: {
|
|
7313
|
+
failure: {
|
|
7314
|
+
message,
|
|
7315
|
+
kind: classifySaveFailure(error),
|
|
7316
|
+
...conflict ? { conflict } : {}
|
|
7317
|
+
}
|
|
7054
7318
|
};
|
|
7055
7319
|
}
|
|
7056
7320
|
},
|
|
@@ -7066,7 +7330,11 @@ function useSaveWorkflow() {
|
|
|
7066
7330
|
statusActions.beginSave();
|
|
7067
7331
|
statusActions.setQuotaExhausted(false);
|
|
7068
7332
|
}
|
|
7069
|
-
const outcome = await performSave(
|
|
7333
|
+
const outcome = await performSave(
|
|
7334
|
+
snapshot,
|
|
7335
|
+
options.silent ?? false,
|
|
7336
|
+
options.asNewVersion ?? false
|
|
7337
|
+
);
|
|
7070
7338
|
recordSaveOutcome(outcome, {
|
|
7071
7339
|
open: isOpen(),
|
|
7072
7340
|
baseline: {
|
|
@@ -7840,6 +8108,7 @@ function AdapterPort({
|
|
|
7840
8108
|
const onConnect = useFlowStore((s) => s.actions.edges.onConnect);
|
|
7841
8109
|
const [pickerOpen, setPickerOpen] = useState(false);
|
|
7842
8110
|
const candidates = useCompatibleSubNodes(adapter);
|
|
8111
|
+
const readOnly = useBuilderReadOnly();
|
|
7843
8112
|
const connectionCount = edges.filter(
|
|
7844
8113
|
(e) => e.source === nodeId && e.sourceHandle === adapter.name
|
|
7845
8114
|
).length;
|
|
@@ -7893,7 +8162,7 @@ function AdapterPort({
|
|
|
7893
8162
|
adapter?.required && /* @__PURE__ */ jsx("span", { className: "text-[var(--color-status-error-text)] absolute -right-2 top-[1px]", children: "*" })
|
|
7894
8163
|
] }) }),
|
|
7895
8164
|
/* @__PURE__ */ jsxs("div", { className: "mt-16 flex flex-col items-center gap-1.5", children: [
|
|
7896
|
-
!isAtMaxConnections && /* @__PURE__ */ jsx(
|
|
8165
|
+
!isAtMaxConnections && !readOnly && /* @__PURE__ */ jsx(
|
|
7897
8166
|
"button",
|
|
7898
8167
|
{
|
|
7899
8168
|
type: "button",
|
|
@@ -8024,6 +8293,7 @@ function SubNodeComponent({
|
|
|
8024
8293
|
}) {
|
|
8025
8294
|
const meta = useMemo(() => getNodeDetail(nodeType), [nodeType]);
|
|
8026
8295
|
const deleteNode = useDeleteNode();
|
|
8296
|
+
const readOnly = useBuilderReadOnly();
|
|
8027
8297
|
const [showNodePropertiesOf] = useFlowStore(
|
|
8028
8298
|
useShallow((s) => [s.actions.sidebar.showNodePropertiesOf])
|
|
8029
8299
|
);
|
|
@@ -8069,7 +8339,7 @@ function SubNodeComponent({
|
|
|
8069
8339
|
}
|
|
8070
8340
|
),
|
|
8071
8341
|
/* @__PURE__ */ jsx("span", { className: "mt-1.5 text-xs text-[var(--color-text-secondary)] font-medium text-center max-w-24 leading-tight", children: data?.label || data?.args?.state?.operation || meta.title }),
|
|
8072
|
-
/* @__PURE__ */ jsx(
|
|
8342
|
+
!readOnly && /* @__PURE__ */ jsx(
|
|
8073
8343
|
"button",
|
|
8074
8344
|
{
|
|
8075
8345
|
onClick: () => deleteNode(id),
|
|
@@ -8141,8 +8411,9 @@ var getNodeMetadata = (value) => {
|
|
|
8141
8411
|
s.actions.nodes.endRename
|
|
8142
8412
|
])
|
|
8143
8413
|
);
|
|
8414
|
+
const readOnly = useBuilderReadOnly();
|
|
8144
8415
|
useEffect(() => {
|
|
8145
|
-
if (nodeType !== "integration/channel") return;
|
|
8416
|
+
if (readOnly || nodeType !== "integration/channel") return;
|
|
8146
8417
|
const nodeData = data;
|
|
8147
8418
|
const explicitRole = nodeData?.args?.state?.role;
|
|
8148
8419
|
const hasIncomingEdge = edges.some((e) => e.target === id);
|
|
@@ -8169,7 +8440,7 @@ var getNodeMetadata = (value) => {
|
|
|
8169
8440
|
zustandSetNodes(updated);
|
|
8170
8441
|
return updated;
|
|
8171
8442
|
});
|
|
8172
|
-
}, [nodeType, id, edges, data, setNodes, zustandSetNodes]);
|
|
8443
|
+
}, [readOnly, nodeType, id, edges, data, setNodes, zustandSetNodes]);
|
|
8173
8444
|
const { executeStep } = useNodeExecution();
|
|
8174
8445
|
const deleteNode = useDeleteNode();
|
|
8175
8446
|
const handleDeleteNode = () => {
|
|
@@ -8327,12 +8598,12 @@ var getNodeMetadata = (value) => {
|
|
|
8327
8598
|
onDoubleClick: handleOpenNdv,
|
|
8328
8599
|
onSettings: handleOpenNdv,
|
|
8329
8600
|
onExecute: handleExecuteStep,
|
|
8330
|
-
onDelete: handleDeleteNode,
|
|
8601
|
+
onDelete: readOnly ? void 0 : handleDeleteNode,
|
|
8331
8602
|
infoButton: /* @__PURE__ */ jsx(NodeInfoButtonWithModal, { metadata: nodeInfoMetadata }),
|
|
8332
8603
|
disabled: isDisabled,
|
|
8333
|
-
onToggleDisabled: handleToggleDisabled,
|
|
8334
|
-
isRenaming: isRenamingThisNode,
|
|
8335
|
-
onStartRename: handleStartRename,
|
|
8604
|
+
onToggleDisabled: readOnly ? void 0 : handleToggleDisabled,
|
|
8605
|
+
isRenaming: isRenamingThisNode && !readOnly,
|
|
8606
|
+
onStartRename: readOnly ? void 0 : handleStartRename,
|
|
8336
8607
|
onCommitRename: handleCommitRename,
|
|
8337
8608
|
onCancelRename: handleCancelRename
|
|
8338
8609
|
}
|
|
@@ -8361,10 +8632,10 @@ var getNodeMetadata = (value) => {
|
|
|
8361
8632
|
isExecuting: isThisNodeExecuting,
|
|
8362
8633
|
onSettings: handleOpenNdv,
|
|
8363
8634
|
onExecute: handleExecuteStep,
|
|
8364
|
-
onDelete: handleDeleteNode,
|
|
8635
|
+
onDelete: readOnly ? void 0 : handleDeleteNode,
|
|
8365
8636
|
infoButton: /* @__PURE__ */ jsx(NodeInfoButtonWithModal, { metadata: nodeInfoMetadata }),
|
|
8366
8637
|
disabled: isDisabled,
|
|
8367
|
-
onToggleDisabled: handleToggleDisabled,
|
|
8638
|
+
onToggleDisabled: readOnly ? void 0 : handleToggleDisabled,
|
|
8368
8639
|
children: [
|
|
8369
8640
|
/* @__PURE__ */ jsx(
|
|
8370
8641
|
NodeCardHeader,
|
|
@@ -8374,8 +8645,8 @@ var getNodeMetadata = (value) => {
|
|
|
8374
8645
|
accentKey: value?.type || meta.title,
|
|
8375
8646
|
missingCredentials,
|
|
8376
8647
|
label: nodeLabel,
|
|
8377
|
-
isRenaming: isRenamingThisNode,
|
|
8378
|
-
onStartRename: handleStartRename,
|
|
8648
|
+
isRenaming: isRenamingThisNode && !readOnly,
|
|
8649
|
+
onStartRename: readOnly ? void 0 : handleStartRename,
|
|
8379
8650
|
onCommitRename: handleCommitRename,
|
|
8380
8651
|
onCancelRename: handleCancelRename
|
|
8381
8652
|
}
|
|
@@ -9585,4 +9856,4 @@ function useNodeExecution() {
|
|
|
9585
9856
|
};
|
|
9586
9857
|
}
|
|
9587
9858
|
|
|
9588
|
-
export { ALLOW_ALL_PERMISSIONS, AUTOSAVE_DEBOUNCE_MS, AUTOSAVE_RETRY_DELAYS_MS, AVAILABLE_NODES, BILLING_PLANS_PATH, CODE_WORKFLOW_NODE_TYPE, ConnectionFormDialog, ConnectionSelector, DURABLE_FUNCTION_NODE_TYPES, ExpressionEditor, FLUIDGRIDS_FLAGS, FLUIDGRIDS_FLAG_DEFAULTS, FLUIDGRIDS_PERMISSIONS, FluidGridsContext, FluidGridsPermissionsProvider, FluidGridsProvider, NODES, NODES_METADATA, NODE_CONFIGS, NODE_OPERATION_DRAG_DATA_FORMAT, NODE_TYPES, NODE_TYPE_DRAG_DATA_FORMAT, NodePropertyPanel, NodeTypeIcon, RUNS_QUOTA_NAME, STICKY_NOTE_TYPE, SdkPermissionButton, SdkPermissionGate, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WORKFLOWS_QUOTA_NAME, blankWorkflowCreateInput, buildOperationSeed, buildStickyNode, canAutosave, canRenderOperationPanel, canSignalRun, changedSourceFiles, childRunIdOf, classifyCreateRefusal, clearCodeWorkflowDefinitionCache, codeBuildIdOf, components_default, createConfiguredNode, createThenOpen, declaredOutputFields, declaredSignals, defaultSourcePath, describeOperationError, diagnosticsByPath, editStateOf, emitNodeInstalled, emitRunFailed, emitRunLimitHit, emitRunStarted, emitTemplateUsed, emitUpgradeClicked, emitWorkflowCreated, emitWorkflowLimitHit, emitWorkflowPublished, ensureNodeConfigsLoaded, evaluatePermissionCheck, fieldsFromIO, fieldsFromValue, filterPaletteNodes, findQuotaRefusal, formatParameterValue, getNodeDetail, getNodeMetadata, inAppLeaveTarget, interfaceFields, interfaceHandlers, isDurableFunctionNodeType, isEditableSourcePath, isForbiddenError, isImageIcon, isNodeConfigsInitialized, isNodeTrigger, isNodeTypeHiddenFromPalette, isParamVisible, isQuotaExhaustedFailure, isTriggerOperation, leaveNeedsConfirmation, listCustomBlocks, liveInternalOperations, loadDefinitionJson, mergeStickyNotes, nodeAccent, nodesOf, onNodeTypesUpdate, openRunQuotaUpgradePrompt, parseParameterValue, parseRawSignalPayload, pathToExpression, payloadFromCardValues, projectLanguage, readCodeWorkflowState, readDisplayOptions, refetchStoreNodes, registerCustomBlock, registerWorkflowNodeTypes, resolveInputHandles, resolveNodeOperation, resolveOperationName, resolveOutputHandles, resolveUiSpec, runPreparationOf, runSignalTargets, runTriggerFromMode, saveIndicatorOf, savesInPlace, signalPayloadCard, snapshotForSave, sourceLanguageOf, stripSubmitActions, structuredParameterType, subscribeWorkflowSaved, synchronizeOperationUpdate, throwIfResultError, toCodeMirrorDiagnostics, useAgentDefinitionList, useAgentDefinitions, useCodeWorkflowInterface, useConnection, useConnections, useConnectionsByProvider, useCreateConnection, useDurableFunctionNodesEnabled, useDurableParityEnabled, useFlowStore, useFluidGridsAnalytics, useFluidGridsContext, useFluidGridsFlag, useFluidGridsPermission, useInitiateOAuth, useInsertNode, useIsValidConnection, useNodeExecution, useNodeRegistryRevision, useProviders, useSaveStatusStore, useSaveWorkflow, workflowFingerprint };
|
|
9859
|
+
export { ALLOW_ALL_PERMISSIONS, AUTOSAVE_DEBOUNCE_MS, AUTOSAVE_RETRY_DELAYS_MS, AVAILABLE_NODES, BILLING_PLANS_PATH, BuilderReadOnlyProvider, CODE_WORKFLOW_NODE_TYPE, ConnectionFormDialog, ConnectionSelector, DURABLE_FUNCTION_NODE_TYPES, EDIT_SESSION_ID, ExpressionEditor, FLUIDGRIDS_FLAGS, FLUIDGRIDS_FLAG_DEFAULTS, FLUIDGRIDS_PERMISSIONS, FluidGridsContext, FluidGridsPermissionsProvider, FluidGridsProvider, NODES, NODES_METADATA, NODE_CONFIGS, NODE_OPERATION_DRAG_DATA_FORMAT, NODE_TYPES, NODE_TYPE_DRAG_DATA_FORMAT, NodePropertyPanel, NodeTypeIcon, RUNS_QUOTA_NAME, STICKY_NOTE_TYPE, SdkPermissionButton, SdkPermissionGate, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WORKFLOWS_QUOTA_NAME, bannerOf, blankWorkflowCreateInput, buildOperationSeed, buildStickyNode, canAutosave, canRenderOperationPanel, canSignalRun, changedSourceFiles, childRunIdOf, classifyCreateRefusal, clearCodeWorkflowDefinitionCache, codeBuildIdOf, components_default, createConfiguredNode, createThenOpen, declaredOutputFields, declaredSignals, defaultSourcePath, describeOperationError, diagnosticsByPath, editStateOf, emitNodeInstalled, emitRunFailed, emitRunLimitHit, emitRunStarted, emitTemplateUsed, emitUpgradeClicked, emitWorkflowCreated, emitWorkflowLimitHit, emitWorkflowPublished, ensureNodeConfigsLoaded, evaluatePermissionCheck, fieldsFromIO, fieldsFromValue, filterPaletteNodes, findQuotaRefusal, findSaveConflict, forgetSessionForReload, formatParameterValue, getNodeDetail, getNodeMetadata, inAppLeaveTarget, interfaceFields, interfaceHandlers, isDurableFunctionNodeType, isEditableSourcePath, isForbiddenError, isImageIcon, isLocked, isNodeConfigsInitialized, isNodeTrigger, isNodeTypeHiddenFromPalette, isParamVisible, isQuotaExhaustedFailure, isTriggerOperation, leaseCallQueue, leaveNeedsConfirmation, listCustomBlocks, liveInternalOperations, loadDefinitionJson, mergeStickyNotes, nodeAccent, nodesOf, onNodeTypesUpdate, openRunQuotaUpgradePrompt, parseParameterValue, parseRawSignalPayload, pathToExpression, payloadFromCardValues, phaseAfterAcquire, phaseAfterTakeOver, projectLanguage, readCodeWorkflowState, readDisplayOptions, refetchStoreNodes, registerCustomBlock, registerWorkflowNodeTypes, releasesOnClose, rememberOwnStatusChange, rememberRevision, rememberSessionForReload, resolveInputHandles, resolveNodeOperation, resolveOperationName, resolveOutputHandles, resolveUiSpec, runPreparationOf, runSignalTargets, runTriggerFromMode, saveIndicatorOf, savesInPlace, sessionBeforeReload, shouldReleaseForIdle, signalPayloadCard, snapshotForSave, sourceLanguageOf, stripSubmitActions, structuredParameterType, subscribeWorkflowSaved, synchronizeOperationUpdate, throwIfResultError, tickAction, toCodeMirrorDiagnostics, useAgentDefinitionList, useAgentDefinitions, useBuilderReadOnly, useCodeWorkflowInterface, useConnection, useConnections, useConnectionsByProvider, useCreateConnection, useDurableFunctionNodesEnabled, useDurableParityEnabled, useEditLeaseLocked, useEditLeaseStore, useFlowStore, useFluidGridsAnalytics, useFluidGridsContext, useFluidGridsFlag, useFluidGridsPermission, useInitiateOAuth, useInsertNode, useIsValidConnection, useNodeExecution, useNodeRegistryRevision, useProviders, useSaveStatusStore, useSaveWorkflow, workflowFingerprint };
|