@oomol-lab/open-flow 0.1.0-beta.2 → 0.1.0-beta.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/dist/browser/DesignerIcon-DdfuH2jW.js +2066 -0
- package/dist/browser/createResourceDialog-4YQKl8lG.js +505 -0
- package/dist/browser/dist-CP0883sY.js +4 -0
- package/dist/browser/{esm-B_PbUobB.js → esm-C9jQK70n.js} +1 -1
- package/dist/browser/flow-authoring-node.d.ts +3 -0
- package/dist/browser/flow-authoring.d.ts +1 -1
- package/dist/browser/flow-authoring.js +66 -46
- package/dist/browser/flow-change.d.ts +14 -1
- package/dist/browser/flow-notifications.d.ts +5 -0
- package/dist/browser/{diagnostics-giPSzyMo.js → flowChanges-Bs-ZcJV8.js} +6027 -3367
- package/dist/browser/{flowRunInputEditorStore-BeyUSWpO.js → flowRunInputEditorStore-BYa8zFLC.js} +719 -718
- package/dist/browser/{flowWorkspace-DAMLVMcF.js → flowWorkspace-BewofPeU.js} +40337 -42346
- package/dist/browser/{getPseudoElementBounds-ESJExRFX.js → getPseudoElementBounds-qDxSDwzN.js} +1813 -2328
- package/dist/browser/icons-DRoMXL5h.js +521 -0
- package/dist/browser/{markdownContent-DdlIRN3_.js → markdownContent-DUfLdnUt.js} +1 -1
- package/dist/browser/{typeScriptSession-mPCiA9sV.js → typeScriptSession-CwMPjseS.js} +1 -1
- package/dist/browser/waitNotificationInputs-DtrPBwA1.js +26 -0
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +1 -0
- package/dist/browser/workbench.js +612 -537
- package/dist/browser/{workbenchSelect-B2s1HV-Y.js → workbenchSelect-CX8KtT7L.js} +483 -482
- package/dist/common/control-api-conformance.d.ts +1 -0
- package/dist/common/control-api-conformance.js +59 -0
- package/dist/common/control-api-errors.d.ts +4 -0
- package/dist/common/control-api.d.ts +22 -3
- package/dist/common/control-api.js +134 -73
- package/dist/common/flow-encoding.js +20 -8
- package/dist/common/flow-notifications.d.ts +5 -0
- package/dist/common/flow-semantics.d.ts +1 -0
- package/dist/common/flow-semantics.js +3464 -1104
- package/dist/common/run-events.js +2 -1
- package/dist/common/run-lifecycle.d.ts +17 -2
- package/dist/common/run-lifecycle.js +53 -2
- package/dist/common/scheduler.d.ts +64 -3
- package/dist/common/scheduler.js +417 -142
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/browser/createResourceDialog-BkZns-oZ.js +0 -504
|
@@ -89,19 +89,31 @@ function d(e) {
|
|
|
89
89
|
kind: e.kind,
|
|
90
90
|
subflowId: e.subflowId
|
|
91
91
|
};
|
|
92
|
-
case "task":
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
case "task": {
|
|
93
|
+
let n = e.task == null ? Object.assign({}, t, {
|
|
94
|
+
kind: e.kind,
|
|
95
|
+
taskId: e.taskId
|
|
96
|
+
}) : Object.assign({}, t, {
|
|
97
|
+
kind: e.kind,
|
|
98
|
+
task: m(e.task)
|
|
99
|
+
});
|
|
100
|
+
return e.additionalInputs != null && (n.additionalInputs = s(e.additionalInputs)), n;
|
|
101
|
+
}
|
|
102
|
+
case "value": return {
|
|
97
103
|
...t,
|
|
98
104
|
kind: e.kind,
|
|
99
|
-
|
|
105
|
+
values: s(e.values)
|
|
100
106
|
};
|
|
101
|
-
case "
|
|
107
|
+
case "wait": return {
|
|
102
108
|
...t,
|
|
109
|
+
actions: e.actions,
|
|
103
110
|
kind: e.kind,
|
|
104
|
-
|
|
111
|
+
...e.notification == null ? {} : { notification: {
|
|
112
|
+
inputs: l(e.notification.inputs),
|
|
113
|
+
messageHandle: e.notification.messageHandle,
|
|
114
|
+
taskId: e.notification.taskId
|
|
115
|
+
} },
|
|
116
|
+
prompt: e.prompt
|
|
105
117
|
};
|
|
106
118
|
}
|
|
107
119
|
}
|
|
@@ -11,6 +11,7 @@ export interface SemanticClosure {
|
|
|
11
11
|
};
|
|
12
12
|
readonly digest: string;
|
|
13
13
|
}
|
|
14
|
+
export declare function flowDependencies(content: RevisionContent): SemanticClosure['dependencies'];
|
|
14
15
|
export declare function flowClosure(content: RevisionContent): Promise<SemanticClosure>;
|
|
15
16
|
export declare function variableBindings(revision: RevisionContent, bindingIds: Iterable<string>): Readonly<Record<string, string>>;
|
|
16
17
|
export interface Diagnostic {
|