@codemation/core 0.0.5 → 0.0.11
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/{InMemoryLiveWorkflowRepository-DL7LmC9S.d.ts → InMemoryLiveWorkflowRepository-DxoualoC.d.ts} +6 -2
- package/dist/{InMemoryLiveWorkflowRepository-D6eiiXxF.d.cts → InMemoryLiveWorkflowRepository-orY1VsWG.d.cts} +6 -2
- package/dist/{RunIntentService-NKobsfMQ.d.cts → RunIntentService-ByuUYsAL.d.cts} +8 -3
- package/dist/{RunIntentService-BFVbsOcg.js → RunIntentService-CYnn140t.js} +9 -4
- package/dist/RunIntentService-CYnn140t.js.map +1 -0
- package/dist/{RunIntentService-2ivFmNQh.cjs → RunIntentService-DlQH5eZ2.cjs} +9 -4
- package/dist/RunIntentService-DlQH5eZ2.cjs.map +1 -0
- package/dist/{WorkflowSnapshotCodec-DTdWkoW_.d.cts → WorkflowSnapshotCodec-DSEzKyt3.d.cts} +2 -2
- package/dist/bootstrap/index.cjs +133 -4
- package/dist/bootstrap/index.cjs.map +1 -1
- package/dist/bootstrap/index.d.cts +4 -3
- package/dist/bootstrap/index.d.ts +3 -2
- package/dist/bootstrap/index.js +133 -4
- package/dist/bootstrap/index.js.map +1 -1
- package/dist/{index-9g6Pfe9Z.d.ts → index-CTjfVHJh.d.ts} +8 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/testing.d.cts +2 -2
- package/dist/testing.d.ts +1 -1
- package/package.json +6 -1
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +10 -2
- package/src/contracts/runtimeTypes.ts +5 -0
- package/src/execution/NodeActivationRequestComposer.ts +15 -4
- package/src/orchestration/Engine.ts +12 -1
- package/src/orchestration/NodeExecutionRequestHandlerService.ts +179 -0
- package/src/runtime/EngineFactory.ts +13 -0
- package/dist/EngineExecutionLimitsPolicy-8MEFIYx1.d.cts +0 -160
- package/dist/EngineExecutionLimitsPolicy-BWAXW9D6.d.cts +0 -160
- package/dist/EngineExecutionLimitsPolicy-Bp8PS1Ss.d.cts +0 -159
- package/dist/EngineExecutionLimitsPolicy-CLxcN-D2.d.ts +0 -159
- package/dist/EngineExecutionLimitsPolicy-DZXuix51.d.ts +0 -160
- package/dist/EngineExecutionLimitsPolicy-Gfz6ngFd.d.ts +0 -160
- package/dist/EngineFactory-CBnntY3J.cjs +0 -3152
- package/dist/EngineFactory-CBnntY3J.cjs.map +0 -1
- package/dist/EngineFactory-Cwn3R2YA.js +0 -3087
- package/dist/EngineFactory-Cwn3R2YA.js.map +0 -1
- package/dist/EngineFactory-DWCnNocp.js +0 -3063
- package/dist/EngineFactory-DWCnNocp.js.map +0 -1
- package/dist/EngineFactory-DhPFou4p.cjs +0 -3188
- package/dist/EngineFactory-DhPFou4p.cjs.map +0 -1
- package/dist/EngineFactory-l_9xmBtv.cjs +0 -3190
- package/dist/EngineFactory-l_9xmBtv.cjs.map +0 -1
- package/dist/EngineFactory-w-aOWuqh.js +0 -3089
- package/dist/EngineFactory-w-aOWuqh.js.map +0 -1
- package/dist/InMemoryLiveWorkflowRepository-1J9MHN_I.js +0 -18
- package/dist/InMemoryLiveWorkflowRepository-1J9MHN_I.js.map +0 -1
- package/dist/InMemoryLiveWorkflowRepository-CULNqv96.d.ts +0 -1300
- package/dist/InMemoryLiveWorkflowRepository-D7l8cjdZ.d.cts +0 -1130
- package/dist/InMemoryLiveWorkflowRepository-jnv-OnOP.d.ts +0 -1300
- package/dist/InMemoryLiveWorkflowRepository-xny1_Z6i.cjs +0 -24
- package/dist/InMemoryLiveWorkflowRepository-xny1_Z6i.cjs.map +0 -1
- package/dist/InMemoryLiveWorkflowRepository-xr7b4kvi.d.ts +0 -1338
- package/dist/InMemoryWorkflowCatalog-BIdFpwbK.d.ts +0 -1205
- package/dist/InMemoryWorkflowCatalog-BW00_3N3.d.cts +0 -12
- package/dist/InMemoryWorkflowCatalog-BiYHGoPw.cjs +0 -24
- package/dist/InMemoryWorkflowCatalog-BiYHGoPw.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-BrG0ApMO.d.cts +0 -1115
- package/dist/InMemoryWorkflowCatalog-BzrAr--Y.js +0 -139
- package/dist/InMemoryWorkflowCatalog-BzrAr--Y.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-C-EJlJ7y.d.cts +0 -1120
- package/dist/InMemoryWorkflowCatalog-C4482bpw.cjs +0 -24
- package/dist/InMemoryWorkflowCatalog-C4482bpw.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-CZ0kZpOv.d.ts +0 -1289
- package/dist/InMemoryWorkflowCatalog-C_ACeLyW.d.cts +0 -1119
- package/dist/InMemoryWorkflowCatalog-CiHWIu5E.d.cts +0 -12
- package/dist/InMemoryWorkflowCatalog-CkH7gkya.js +0 -18
- package/dist/InMemoryWorkflowCatalog-CkH7gkya.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-CnpZVJM9.d.ts +0 -1205
- package/dist/InMemoryWorkflowCatalog-Cu68S8YR.js +0 -18
- package/dist/InMemoryWorkflowCatalog-Cu68S8YR.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-D2w9nMj2.cjs +0 -151
- package/dist/InMemoryWorkflowCatalog-D2w9nMj2.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-D5eMxEf7.js +0 -18
- package/dist/InMemoryWorkflowCatalog-D5eMxEf7.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-D5nCp2yZ.d.ts +0 -1267
- package/dist/InMemoryWorkflowCatalog-DIq0bjqN.d.ts +0 -12
- package/dist/InMemoryWorkflowCatalog-DLgaEaw_.d.ts +0 -1288
- package/dist/InMemoryWorkflowCatalog-DNBFdK-x.d.cts +0 -1120
- package/dist/InMemoryWorkflowCatalog-DQBkCzb7.cjs +0 -24
- package/dist/InMemoryWorkflowCatalog-DQBkCzb7.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-DS4-eX6i.d.cts +0 -1118
- package/dist/InMemoryWorkflowCatalog-DdVfy8MY.d.ts +0 -12
- package/dist/InMemoryWorkflowCatalog-DeVZu3g8.d.ts +0 -12
- package/dist/InMemoryWorkflowCatalog-GxkQjvt5.d.ts +0 -1200
- package/dist/InMemoryWorkflowCatalog-qaVRn1Lc.d.cts +0 -1115
- package/dist/InMemoryWorkflowCatalog-z1aIT4TC.d.cts +0 -12
- package/dist/InMemoryWorkflowRegistry-BBuOovLL.d.ts +0 -1007
- package/dist/InMemoryWorkflowRegistry-BIFnSl3k.d.ts +0 -1201
- package/dist/InMemoryWorkflowRegistry-BnGilthz.d.ts +0 -1137
- package/dist/InMemoryWorkflowRegistry-CEp5I8No.d.ts +0 -1146
- package/dist/InMemoryWorkflowRegistry-CHyMB9jW.d.cts +0 -976
- package/dist/InMemoryWorkflowRegistry-CUN7K86m.d.cts +0 -1061
- package/dist/InMemoryWorkflowRegistry-CVfHyELh.d.cts +0 -971
- package/dist/InMemoryWorkflowRegistry-CXXJrwAr.d.cts +0 -1052
- package/dist/InMemoryWorkflowRegistry-DDGfPTJy.d.ts +0 -1013
- package/dist/InMemoryWorkflowRegistry-DnYSOoT5.d.ts +0 -1120
- package/dist/InMemoryWorkflowRegistry-Dp5GiFF2.d.cts +0 -1035
- package/dist/InMemoryWorkflowRegistry-DypDBeOw.d.cts +0 -1116
- package/dist/InMemoryWorkflowRegistry-SzwJCAxT.d.ts +0 -1012
- package/dist/InMemoryWorkflowRegistry-jupvqyGc.d.cts +0 -977
- package/dist/InMemoryWorkflowRegistry-rAdKVWYT.d.ts +0 -1117
- package/dist/InProcessRetryRunner-BBNPkXjy.d.cts +0 -292
- package/dist/PersistedWorkflowSnapshotFactory-7RkOL3Kg.d.ts +0 -14
- package/dist/PersistedWorkflowSnapshotFactory-BmANa46W.cjs +0 -141
- package/dist/PersistedWorkflowSnapshotFactory-BmANa46W.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Bwb_etSt.js +0 -118
- package/dist/PersistedWorkflowSnapshotFactory-Bwb_etSt.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-CRkKGNV6.js +0 -123
- package/dist/PersistedWorkflowSnapshotFactory-CRkKGNV6.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-CZolnGy5.js +0 -101
- package/dist/PersistedWorkflowSnapshotFactory-CZolnGy5.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Ca_oysOv.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-Ca_oysOv.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-CqIcShnX.js +0 -103
- package/dist/PersistedWorkflowSnapshotFactory-CqIcShnX.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-D-tBk4_G.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-D-tBk4_G.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-D4cXl2e2.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-D4cXl2e2.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DINoP12r.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-DINoP12r.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DJAwSuHU.js +0 -103
- package/dist/PersistedWorkflowSnapshotFactory-DJAwSuHU.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DSUjVCcf.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-DSUjVCcf.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DdHuhkDb.cjs +0 -107
- package/dist/PersistedWorkflowSnapshotFactory-DdHuhkDb.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Dqc6NHis.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-Dqc6NHis.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Dxa2dSrw.cjs +0 -130
- package/dist/PersistedWorkflowSnapshotFactory-Dxa2dSrw.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Ep79Ah1G.js +0 -123
- package/dist/PersistedWorkflowSnapshotFactory-Ep79Ah1G.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-GyLfRuiJ.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-GyLfRuiJ.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-HTpBsBzn.js +0 -102
- package/dist/PersistedWorkflowSnapshotFactory-HTpBsBzn.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-LVmaaf3t.cjs +0 -141
- package/dist/PersistedWorkflowSnapshotFactory-LVmaaf3t.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-PZCpo2ZS.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-PZCpo2ZS.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-UjQ1SJev.cjs +0 -109
- package/dist/PersistedWorkflowSnapshotFactory-UjQ1SJev.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Y8kCrhcy.cjs +0 -109
- package/dist/PersistedWorkflowSnapshotFactory-Y8kCrhcy.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Z_nB-fmB.cjs +0 -108
- package/dist/PersistedWorkflowSnapshotFactory-Z_nB-fmB.cjs.map +0 -1
- package/dist/RunIntentService-1EE6N8ZL.cjs +0 -963
- package/dist/RunIntentService-1EE6N8ZL.cjs.map +0 -1
- package/dist/RunIntentService-2ivFmNQh.cjs.map +0 -1
- package/dist/RunIntentService-B0sUL5q-.js +0 -761
- package/dist/RunIntentService-B0sUL5q-.js.map +0 -1
- package/dist/RunIntentService-BFVbsOcg.js.map +0 -1
- package/dist/RunIntentService-BsBOwpVN.cjs +0 -1051
- package/dist/RunIntentService-BsBOwpVN.cjs.map +0 -1
- package/dist/RunIntentService-CSk3ETyn.js +0 -858
- package/dist/RunIntentService-CSk3ETyn.js.map +0 -1
- package/dist/RunIntentService-Ckn3u3tA.d.cts +0 -326
- package/dist/RunIntentService-DEo6GTTo.d.cts +0 -289
- package/dist/RunIntentService-DKrGtL0B.js +0 -782
- package/dist/RunIntentService-DKrGtL0B.js.map +0 -1
- package/dist/RunIntentService-DNOJc1R7.cjs +0 -942
- package/dist/RunIntentService-DNOJc1R7.cjs.map +0 -1
- package/dist/RunIntentService-Dq3pV53j.d.cts +0 -289
- package/dist/WorkflowSnapshotCodec-C3fuuS_R.d.cts +0 -22
- package/dist/WorkflowSnapshotCodec-CUudUo6f.js +0 -123
- package/dist/WorkflowSnapshotCodec-CUudUo6f.js.map +0 -1
- package/dist/WorkflowSnapshotCodec-CuCPQZTc.cjs +0 -129
- package/dist/WorkflowSnapshotCodec-CuCPQZTc.cjs.map +0 -1
- package/dist/WorkflowSnapshotCodec-DLiXQNvV.d.cts +0 -22
- package/dist/WorkflowSnapshotCodec-DNtdrZ7l.d.cts +0 -22
- package/dist/credentialTypes-B5h3dI7r.d.cts +0 -1107
- package/dist/credentialTypes-B9okPCVo.d.cts +0 -963
- package/dist/credentialTypes-BFL70rgZ.d.cts +0 -964
- package/dist/credentialTypes-BGkh1O07.d.ts +0 -1010
- package/dist/credentialTypes-BNLi4Q7u.d.ts +0 -1030
- package/dist/credentialTypes-CeSoZGj3.d.cts +0 -994
- package/dist/credentialTypes-CpHc32Ig.d.cts +0 -984
- package/dist/credentialTypes-D0m7MQQl.d.cts +0 -1107
- package/dist/credentialTypes-D4nL2sUd.d.ts +0 -1000
- package/dist/credentialTypes-DBYK2Qbu.d.ts +0 -999
- package/dist/credentialTypes-DMJVy0r1.d.ts +0 -1000
- package/dist/credentialTypes-DhUAjYQp.d.ts +0 -1020
- package/dist/credentialTypes-gGITj5KL.d.cts +0 -964
- package/dist/credentialTypes-r3KVBJBE.d.cts +0 -974
- package/dist/diTokens-ClO27tjK.cjs +0 -34
- package/dist/diTokens-ClO27tjK.cjs.map +0 -1
- package/dist/diTokens-CoHBkwG6.js +0 -28
- package/dist/diTokens-CoHBkwG6.js.map +0 -1
- package/dist/index-6Doxmfnd.d.ts +0 -857
- package/dist/index-AZ72Ej-K.d.ts +0 -920
- package/dist/index-BEk9V-q-.d.ts +0 -667
- package/dist/index-Bjt7_7oS.d.ts +0 -1192
- package/dist/index-CFGxsYXy.d.ts +0 -708
- package/dist/index-C_u8xFgn.d.ts +0 -690
- package/dist/index-CpbfsvOJ.d.ts +0 -1192
- package/dist/index-CsReNJN_.d.ts +0 -859
- package/dist/index-D5iNnXaW.d.ts +0 -667
- package/dist/index-DD_Eft1q.d.ts +0 -708
- package/dist/index-DiSYUe0G.d.ts +0 -1192
- package/dist/index-gIcH60sp.d.ts +0 -674
- package/dist/runtime-BIvd-1JA.cjs +0 -4112
- package/dist/runtime-BIvd-1JA.cjs.map +0 -1
- package/dist/runtime-D3eWKSQK.cjs +0 -3986
- package/dist/runtime-D3eWKSQK.cjs.map +0 -1
- package/dist/runtime-Dvp4xAjg.js +0 -3799
- package/dist/runtime-Dvp4xAjg.js.map +0 -1
- package/dist/runtime-vc76SSAa.js +0 -3685
- package/dist/runtime-vc76SSAa.js.map +0 -1
- package/dist/runtimeTypes-BK0b8SaG.d.cts +0 -884
- package/dist/runtimeTypes-CoYZkYQq.d.cts +0 -851
- package/dist/runtimeTypes-D-Pm0Uas.d.cts +0 -849
- package/dist/types-Cb5UK7Y6.d.ts +0 -857
package/dist/types-Cb5UK7Y6.d.ts
DELETED
|
@@ -1,857 +0,0 @@
|
|
|
1
|
-
import "reflect-metadata";
|
|
2
|
-
import { DependencyContainer, DependencyContainer as Container, Disposable, InjectionToken, InjectionToken as TypeToken, Lifecycle, RegistrationOptions, container, delay, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, predicateAwareClassFactory, registry, singleton } from "tsyringe";
|
|
3
|
-
import { ReadableStream } from "node:stream/web";
|
|
4
|
-
|
|
5
|
-
//#region src/contracts/workflowTypes.d.ts
|
|
6
|
-
type WorkflowId = string;
|
|
7
|
-
type NodeId = string;
|
|
8
|
-
type OutputPortKey = string;
|
|
9
|
-
type InputPortKey = string;
|
|
10
|
-
type PersistedTokenId = string;
|
|
11
|
-
type NodeKind = "trigger" | "node";
|
|
12
|
-
type JsonPrimitive = string | number | boolean | null;
|
|
13
|
-
interface JsonObject {
|
|
14
|
-
readonly [key: string]: JsonValue;
|
|
15
|
-
}
|
|
16
|
-
type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
17
|
-
type JsonArray = ReadonlyArray<JsonValue>;
|
|
18
|
-
interface Edge {
|
|
19
|
-
from: {
|
|
20
|
-
nodeId: NodeId;
|
|
21
|
-
output: OutputPortKey;
|
|
22
|
-
};
|
|
23
|
-
to: {
|
|
24
|
-
nodeId: NodeId;
|
|
25
|
-
input: InputPortKey;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface WorkflowDefinition {
|
|
29
|
-
id: WorkflowId;
|
|
30
|
-
name: string;
|
|
31
|
-
nodes: NodeDefinition[];
|
|
32
|
-
edges: Edge[];
|
|
33
|
-
}
|
|
34
|
-
interface WorkflowGraph {
|
|
35
|
-
next(nodeId: NodeId, output: OutputPortKey): ReadonlyArray<Readonly<{
|
|
36
|
-
nodeId: NodeId;
|
|
37
|
-
input: InputPortKey;
|
|
38
|
-
}>>;
|
|
39
|
-
}
|
|
40
|
-
interface WorkflowGraphFactory {
|
|
41
|
-
create(def: WorkflowDefinition): WorkflowGraph;
|
|
42
|
-
}
|
|
43
|
-
interface NodeConfigBase {
|
|
44
|
-
readonly kind: NodeKind;
|
|
45
|
-
readonly type: TypeToken<unknown>;
|
|
46
|
-
readonly name?: string;
|
|
47
|
-
readonly id?: NodeId;
|
|
48
|
-
readonly icon?: string;
|
|
49
|
-
readonly execution?: Readonly<{
|
|
50
|
-
hint?: "local" | "worker";
|
|
51
|
-
queue?: string;
|
|
52
|
-
}>;
|
|
53
|
-
getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
|
|
54
|
-
}
|
|
55
|
-
declare const runnableNodeInputType: unique symbol;
|
|
56
|
-
declare const runnableNodeOutputType: unique symbol;
|
|
57
|
-
declare const triggerNodeOutputType: unique symbol;
|
|
58
|
-
interface RunnableNodeConfig<TInputJson$1 = unknown, TOutputJson$1 = unknown> extends NodeConfigBase {
|
|
59
|
-
readonly kind: "node";
|
|
60
|
-
readonly [runnableNodeInputType]?: TInputJson$1;
|
|
61
|
-
readonly [runnableNodeOutputType]?: TOutputJson$1;
|
|
62
|
-
}
|
|
63
|
-
declare const triggerNodeSetupStateType: unique symbol;
|
|
64
|
-
interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonValue | undefined = undefined> extends NodeConfigBase {
|
|
65
|
-
readonly kind: "trigger";
|
|
66
|
-
readonly [triggerNodeOutputType]?: TOutputJson$1;
|
|
67
|
-
readonly [triggerNodeSetupStateType]?: TSetupState$1;
|
|
68
|
-
}
|
|
69
|
-
type RunnableNodeInputJson<TConfig extends RunnableNodeConfig<any, any>> = TConfig extends RunnableNodeConfig<infer TInputJson, any> ? TInputJson : never;
|
|
70
|
-
type RunnableNodeOutputJson<TConfig extends RunnableNodeConfig<any, any>> = TConfig extends RunnableNodeConfig<any, infer TOutputJson> ? TOutputJson : never;
|
|
71
|
-
type TriggerNodeOutputJson<TConfig extends TriggerNodeConfig<any, any>> = TConfig extends TriggerNodeConfig<infer TOutputJson, any> ? TOutputJson : never;
|
|
72
|
-
type TriggerNodeSetupState<TConfig extends TriggerNodeConfig<any, any>> = TConfig extends TriggerNodeConfig<any, infer TSetupState> ? TSetupState : never;
|
|
73
|
-
interface NodeDefinition {
|
|
74
|
-
id: NodeId;
|
|
75
|
-
kind: NodeKind;
|
|
76
|
-
type: TypeToken<unknown>;
|
|
77
|
-
name?: string;
|
|
78
|
-
config: NodeConfigBase;
|
|
79
|
-
}
|
|
80
|
-
interface NodeRef {
|
|
81
|
-
id: NodeId;
|
|
82
|
-
kind: NodeKind;
|
|
83
|
-
name?: string;
|
|
84
|
-
}
|
|
85
|
-
type PairedItemRef = Readonly<{
|
|
86
|
-
nodeId: NodeId;
|
|
87
|
-
output: OutputPortKey;
|
|
88
|
-
itemIndex: number;
|
|
89
|
-
}>;
|
|
90
|
-
type BinaryPreviewKind = "image" | "audio" | "video" | "download";
|
|
91
|
-
type BinaryAttachment = Readonly<{
|
|
92
|
-
id: string;
|
|
93
|
-
storageKey: string;
|
|
94
|
-
mimeType: string;
|
|
95
|
-
size: number;
|
|
96
|
-
storageDriver: string;
|
|
97
|
-
previewKind: BinaryPreviewKind;
|
|
98
|
-
createdAt: string;
|
|
99
|
-
runId: RunId;
|
|
100
|
-
workflowId: WorkflowId;
|
|
101
|
-
nodeId: NodeId;
|
|
102
|
-
activationId: NodeActivationId;
|
|
103
|
-
filename?: string;
|
|
104
|
-
sha256?: string;
|
|
105
|
-
}>;
|
|
106
|
-
type ItemBinary = Readonly<Record<string, BinaryAttachment>>;
|
|
107
|
-
type Item<TJson = unknown> = Readonly<{
|
|
108
|
-
json: TJson;
|
|
109
|
-
binary?: ItemBinary;
|
|
110
|
-
meta?: Readonly<Record<string, unknown>>;
|
|
111
|
-
paired?: ReadonlyArray<PairedItemRef>;
|
|
112
|
-
}>;
|
|
113
|
-
type Items<TJson = unknown> = ReadonlyArray<Item<TJson>>;
|
|
114
|
-
type NodeOutputs = Partial<Record<OutputPortKey, Items>>;
|
|
115
|
-
type RunId = string;
|
|
116
|
-
type NodeActivationId = string;
|
|
117
|
-
interface ParentExecutionRef {
|
|
118
|
-
runId: RunId;
|
|
119
|
-
workflowId: WorkflowId;
|
|
120
|
-
nodeId: NodeId;
|
|
121
|
-
}
|
|
122
|
-
interface RunDataSnapshot {
|
|
123
|
-
getOutputs(nodeId: NodeId): NodeOutputs | undefined;
|
|
124
|
-
getOutputItems(nodeId: NodeId, output?: OutputPortKey): Items;
|
|
125
|
-
getOutputItem(nodeId: NodeId, itemIndex: number, output?: OutputPortKey): Item | undefined;
|
|
126
|
-
}
|
|
127
|
-
interface MutableRunData extends RunDataSnapshot {
|
|
128
|
-
setOutputs(nodeId: NodeId, outputs: NodeOutputs): void;
|
|
129
|
-
dump(): Record<NodeId, NodeOutputs>;
|
|
130
|
-
}
|
|
131
|
-
interface RunDataFactory {
|
|
132
|
-
create(initial?: Record<NodeId, NodeOutputs>): MutableRunData;
|
|
133
|
-
}
|
|
134
|
-
interface RunIdFactory {
|
|
135
|
-
makeRunId(): RunId;
|
|
136
|
-
}
|
|
137
|
-
interface ActivationIdFactory {
|
|
138
|
-
makeActivationId(): NodeActivationId;
|
|
139
|
-
}
|
|
140
|
-
type UpstreamRefPlaceholder = `$${number}`;
|
|
141
|
-
declare const branchRef: (index: number) => UpstreamRefPlaceholder;
|
|
142
|
-
type ExecutionMode = "local" | "worker";
|
|
143
|
-
interface NodeSchedulerDecision {
|
|
144
|
-
mode: ExecutionMode;
|
|
145
|
-
queue?: string;
|
|
146
|
-
}
|
|
147
|
-
interface NodeOffloadPolicy {
|
|
148
|
-
decide(args: {
|
|
149
|
-
workflowId: WorkflowId;
|
|
150
|
-
nodeId: NodeId;
|
|
151
|
-
config: NodeConfigBase;
|
|
152
|
-
}): NodeSchedulerDecision;
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/contracts/credentialTypes.d.ts
|
|
156
|
-
type CredentialTypeId = string;
|
|
157
|
-
type CredentialInstanceId = string;
|
|
158
|
-
type CredentialMaterialSourceKind = "db" | "env" | "code";
|
|
159
|
-
type CredentialSetupStatus = "draft" | "ready";
|
|
160
|
-
type CredentialHealthStatus = "unknown" | "healthy" | "failing";
|
|
161
|
-
type CredentialFieldSchema = Readonly<{
|
|
162
|
-
key: string;
|
|
163
|
-
label: string;
|
|
164
|
-
type: "string" | "password" | "textarea" | "json" | "boolean";
|
|
165
|
-
required?: true;
|
|
166
|
-
order?: number;
|
|
167
|
-
placeholder?: string;
|
|
168
|
-
helpText?: string;
|
|
169
|
-
}>;
|
|
170
|
-
type CredentialRequirement = Readonly<{
|
|
171
|
-
slotKey: string;
|
|
172
|
-
label: string;
|
|
173
|
-
acceptedTypes: ReadonlyArray<CredentialTypeId>;
|
|
174
|
-
optional?: true;
|
|
175
|
-
helpText?: string;
|
|
176
|
-
helpUrl?: string;
|
|
177
|
-
}>;
|
|
178
|
-
type CredentialBindingKey = Readonly<{
|
|
179
|
-
workflowId: WorkflowId;
|
|
180
|
-
nodeId: NodeId;
|
|
181
|
-
slotKey: string;
|
|
182
|
-
}>;
|
|
183
|
-
type CredentialBinding = Readonly<{
|
|
184
|
-
key: CredentialBindingKey;
|
|
185
|
-
instanceId: CredentialInstanceId;
|
|
186
|
-
updatedAt: string;
|
|
187
|
-
}>;
|
|
188
|
-
type CredentialHealth = Readonly<{
|
|
189
|
-
status: CredentialHealthStatus;
|
|
190
|
-
message?: string;
|
|
191
|
-
testedAt?: string;
|
|
192
|
-
expiresAt?: string;
|
|
193
|
-
details?: Readonly<Record<string, unknown>>;
|
|
194
|
-
}>;
|
|
195
|
-
type OAuth2ProviderFromPublicConfig = Readonly<{
|
|
196
|
-
authorizeUrlFieldKey: string;
|
|
197
|
-
tokenUrlFieldKey: string;
|
|
198
|
-
userInfoUrlFieldKey?: string;
|
|
199
|
-
}>;
|
|
200
|
-
type CredentialOAuth2AuthDefinition = Readonly<{
|
|
201
|
-
kind: "oauth2";
|
|
202
|
-
providerId: string;
|
|
203
|
-
scopes: ReadonlyArray<string>;
|
|
204
|
-
clientIdFieldKey?: string;
|
|
205
|
-
clientSecretFieldKey?: string;
|
|
206
|
-
} | {
|
|
207
|
-
kind: "oauth2";
|
|
208
|
-
providerFromPublicConfig: OAuth2ProviderFromPublicConfig;
|
|
209
|
-
scopes: ReadonlyArray<string>;
|
|
210
|
-
clientIdFieldKey?: string;
|
|
211
|
-
clientSecretFieldKey?: string;
|
|
212
|
-
}>;
|
|
213
|
-
type CredentialAuthDefinition = CredentialOAuth2AuthDefinition;
|
|
214
|
-
type CredentialTypeDefinition = Readonly<{
|
|
215
|
-
typeId: CredentialTypeId;
|
|
216
|
-
displayName: string;
|
|
217
|
-
description?: string;
|
|
218
|
-
publicFields?: ReadonlyArray<CredentialFieldSchema>;
|
|
219
|
-
secretFields?: ReadonlyArray<CredentialFieldSchema>;
|
|
220
|
-
supportedSourceKinds?: ReadonlyArray<CredentialMaterialSourceKind>;
|
|
221
|
-
auth?: CredentialAuthDefinition;
|
|
222
|
-
}>;
|
|
223
|
-
interface CredentialSessionService {
|
|
224
|
-
getSession<TSession = unknown>(args: Readonly<{
|
|
225
|
-
workflowId: WorkflowId;
|
|
226
|
-
nodeId: NodeId;
|
|
227
|
-
slotKey: string;
|
|
228
|
-
}>): Promise<TSession>;
|
|
229
|
-
}
|
|
230
|
-
interface CredentialTypeRegistry {
|
|
231
|
-
listTypes(): ReadonlyArray<CredentialTypeDefinition>;
|
|
232
|
-
getType(typeId: CredentialTypeId): CredentialTypeDefinition | undefined;
|
|
233
|
-
}
|
|
234
|
-
declare class CredentialUnboundError extends Error {
|
|
235
|
-
readonly bindingKey: CredentialBindingKey;
|
|
236
|
-
readonly acceptedTypes: ReadonlyArray<CredentialTypeId>;
|
|
237
|
-
constructor(bindingKey: CredentialBindingKey, acceptedTypes?: ReadonlyArray<CredentialTypeId>);
|
|
238
|
-
private static createMessage;
|
|
239
|
-
}
|
|
240
|
-
//#endregion
|
|
241
|
-
//#region src/events/runEvents.d.ts
|
|
242
|
-
type RunEvent = Readonly<{
|
|
243
|
-
kind: "runCreated";
|
|
244
|
-
runId: RunId;
|
|
245
|
-
workflowId: WorkflowId;
|
|
246
|
-
parent?: ParentExecutionRef;
|
|
247
|
-
at: string;
|
|
248
|
-
}> | Readonly<{
|
|
249
|
-
kind: "runSaved";
|
|
250
|
-
runId: RunId;
|
|
251
|
-
workflowId: WorkflowId;
|
|
252
|
-
parent?: ParentExecutionRef;
|
|
253
|
-
at: string;
|
|
254
|
-
state: PersistedRunState;
|
|
255
|
-
}> | Readonly<{
|
|
256
|
-
kind: "nodeQueued";
|
|
257
|
-
runId: RunId;
|
|
258
|
-
workflowId: WorkflowId;
|
|
259
|
-
parent?: ParentExecutionRef;
|
|
260
|
-
at: string;
|
|
261
|
-
snapshot: NodeExecutionSnapshot;
|
|
262
|
-
}> | Readonly<{
|
|
263
|
-
kind: "nodeStarted";
|
|
264
|
-
runId: RunId;
|
|
265
|
-
workflowId: WorkflowId;
|
|
266
|
-
parent?: ParentExecutionRef;
|
|
267
|
-
at: string;
|
|
268
|
-
snapshot: NodeExecutionSnapshot;
|
|
269
|
-
}> | Readonly<{
|
|
270
|
-
kind: "nodeCompleted";
|
|
271
|
-
runId: RunId;
|
|
272
|
-
workflowId: WorkflowId;
|
|
273
|
-
parent?: ParentExecutionRef;
|
|
274
|
-
at: string;
|
|
275
|
-
snapshot: NodeExecutionSnapshot;
|
|
276
|
-
}> | Readonly<{
|
|
277
|
-
kind: "nodeFailed";
|
|
278
|
-
runId: RunId;
|
|
279
|
-
workflowId: WorkflowId;
|
|
280
|
-
parent?: ParentExecutionRef;
|
|
281
|
-
at: string;
|
|
282
|
-
snapshot: NodeExecutionSnapshot;
|
|
283
|
-
}>;
|
|
284
|
-
interface RunEventSubscription {
|
|
285
|
-
close(): Promise<void>;
|
|
286
|
-
}
|
|
287
|
-
interface RunEventBus {
|
|
288
|
-
publish(event: RunEvent): Promise<void>;
|
|
289
|
-
subscribe(onEvent: (event: RunEvent) => void): Promise<RunEventSubscription>;
|
|
290
|
-
subscribeToWorkflow(workflowId: WorkflowId, onEvent: (event: RunEvent) => void): Promise<RunEventSubscription>;
|
|
291
|
-
}
|
|
292
|
-
//#endregion
|
|
293
|
-
//#region src/contracts/runTypes.d.ts
|
|
294
|
-
interface RunExecutionOptions {
|
|
295
|
-
localOnly?: boolean;
|
|
296
|
-
webhook?: boolean;
|
|
297
|
-
mode?: "manual" | "debug";
|
|
298
|
-
sourceWorkflowId?: WorkflowId;
|
|
299
|
-
sourceRunId?: RunId;
|
|
300
|
-
derivedFromRunId?: RunId;
|
|
301
|
-
isMutable?: boolean;
|
|
302
|
-
}
|
|
303
|
-
type RunStopCondition = Readonly<{
|
|
304
|
-
kind: "workflowCompleted";
|
|
305
|
-
}> | Readonly<{
|
|
306
|
-
kind: "nodeCompleted";
|
|
307
|
-
nodeId: NodeId;
|
|
308
|
-
}>;
|
|
309
|
-
interface RunStateResetRequest {
|
|
310
|
-
clearFromNodeId: NodeId;
|
|
311
|
-
}
|
|
312
|
-
interface PersistedRunControlState {
|
|
313
|
-
stopCondition?: RunStopCondition;
|
|
314
|
-
}
|
|
315
|
-
interface PersistedWorkflowSnapshotNode {
|
|
316
|
-
id: NodeId;
|
|
317
|
-
kind: NodeKind;
|
|
318
|
-
name?: string;
|
|
319
|
-
nodeTokenId: PersistedTokenId;
|
|
320
|
-
configTokenId: PersistedTokenId;
|
|
321
|
-
tokenName?: string;
|
|
322
|
-
configTokenName?: string;
|
|
323
|
-
config: unknown;
|
|
324
|
-
}
|
|
325
|
-
interface PersistedWorkflowSnapshot {
|
|
326
|
-
id: WorkflowId;
|
|
327
|
-
name: string;
|
|
328
|
-
nodes: ReadonlyArray<PersistedWorkflowSnapshotNode>;
|
|
329
|
-
edges: ReadonlyArray<Edge>;
|
|
330
|
-
}
|
|
331
|
-
type PinnedNodeOutputsByPort = Readonly<Record<OutputPortKey, Items>>;
|
|
332
|
-
interface PersistedMutableNodeState {
|
|
333
|
-
pinnedOutputsByPort?: PinnedNodeOutputsByPort;
|
|
334
|
-
lastDebugInput?: Items;
|
|
335
|
-
}
|
|
336
|
-
interface PersistedMutableRunState {
|
|
337
|
-
nodesById: Readonly<Record<NodeId, PersistedMutableNodeState>>;
|
|
338
|
-
}
|
|
339
|
-
type NodeInputsByPort = Readonly<Record<InputPortKey, Items>>;
|
|
340
|
-
interface RunQueueEntry {
|
|
341
|
-
nodeId: NodeId;
|
|
342
|
-
input: Items;
|
|
343
|
-
toInput?: InputPortKey;
|
|
344
|
-
batchId?: string;
|
|
345
|
-
from?: Readonly<{
|
|
346
|
-
nodeId: NodeId;
|
|
347
|
-
output: OutputPortKey;
|
|
348
|
-
}>;
|
|
349
|
-
collect?: Readonly<{
|
|
350
|
-
expectedInputs: ReadonlyArray<InputPortKey>;
|
|
351
|
-
received: Readonly<Record<InputPortKey, Items>>;
|
|
352
|
-
}>;
|
|
353
|
-
}
|
|
354
|
-
type NodeExecutionStatus = "pending" | "queued" | "running" | "completed" | "failed" | "skipped";
|
|
355
|
-
interface NodeExecutionError {
|
|
356
|
-
message: string;
|
|
357
|
-
name?: string;
|
|
358
|
-
stack?: string;
|
|
359
|
-
}
|
|
360
|
-
interface NodeExecutionSnapshot {
|
|
361
|
-
runId: RunId;
|
|
362
|
-
workflowId: WorkflowId;
|
|
363
|
-
nodeId: NodeId;
|
|
364
|
-
activationId?: NodeActivationId;
|
|
365
|
-
parent?: ParentExecutionRef;
|
|
366
|
-
status: NodeExecutionStatus;
|
|
367
|
-
usedPinnedOutput?: boolean;
|
|
368
|
-
queuedAt?: string;
|
|
369
|
-
startedAt?: string;
|
|
370
|
-
finishedAt?: string;
|
|
371
|
-
updatedAt: string;
|
|
372
|
-
inputsByPort?: NodeInputsByPort;
|
|
373
|
-
outputs?: NodeOutputs;
|
|
374
|
-
error?: NodeExecutionError;
|
|
375
|
-
}
|
|
376
|
-
interface RunCurrentState {
|
|
377
|
-
outputsByNode: Record<NodeId, NodeOutputs>;
|
|
378
|
-
nodeSnapshotsByNodeId: Record<NodeId, NodeExecutionSnapshot>;
|
|
379
|
-
mutableState?: PersistedMutableRunState;
|
|
380
|
-
}
|
|
381
|
-
interface CurrentStateExecutionRequest {
|
|
382
|
-
workflow: WorkflowDefinition;
|
|
383
|
-
items?: Items;
|
|
384
|
-
parent?: ParentExecutionRef;
|
|
385
|
-
executionOptions?: RunExecutionOptions;
|
|
386
|
-
workflowSnapshot?: PersistedWorkflowSnapshot;
|
|
387
|
-
mutableState?: PersistedMutableRunState;
|
|
388
|
-
currentState?: RunCurrentState;
|
|
389
|
-
stopCondition?: RunStopCondition;
|
|
390
|
-
reset?: RunStateResetRequest;
|
|
391
|
-
}
|
|
392
|
-
interface ExecutionFrontierPlan {
|
|
393
|
-
rootNodeId?: NodeId;
|
|
394
|
-
rootNodeInput?: Items;
|
|
395
|
-
queue: RunQueueEntry[];
|
|
396
|
-
currentState: RunCurrentState;
|
|
397
|
-
stopCondition: RunStopCondition;
|
|
398
|
-
satisfiedNodeIds: ReadonlyArray<NodeId>;
|
|
399
|
-
skippedNodeIds: ReadonlyArray<NodeId>;
|
|
400
|
-
clearedNodeIds: ReadonlyArray<NodeId>;
|
|
401
|
-
preservedPinnedNodeIds: ReadonlyArray<NodeId>;
|
|
402
|
-
}
|
|
403
|
-
type RunStatus = "running" | "pending" | "completed" | "failed";
|
|
404
|
-
interface RunSummary {
|
|
405
|
-
runId: RunId;
|
|
406
|
-
workflowId: WorkflowId;
|
|
407
|
-
startedAt: string;
|
|
408
|
-
status: RunStatus;
|
|
409
|
-
/** ISO timestamp when the run finished (derived from node snapshots or store `updatedAt`); omit while running/pending. */
|
|
410
|
-
finishedAt?: string;
|
|
411
|
-
parent?: ParentExecutionRef;
|
|
412
|
-
executionOptions?: RunExecutionOptions;
|
|
413
|
-
}
|
|
414
|
-
interface PendingNodeExecution {
|
|
415
|
-
runId: RunId;
|
|
416
|
-
activationId: NodeActivationId;
|
|
417
|
-
workflowId: WorkflowId;
|
|
418
|
-
nodeId: NodeId;
|
|
419
|
-
itemsIn: number;
|
|
420
|
-
inputsByPort: NodeInputsByPort;
|
|
421
|
-
receiptId: string;
|
|
422
|
-
queue?: string;
|
|
423
|
-
batchId?: string;
|
|
424
|
-
enqueuedAt: string;
|
|
425
|
-
}
|
|
426
|
-
interface PersistedRunState {
|
|
427
|
-
runId: RunId;
|
|
428
|
-
workflowId: WorkflowId;
|
|
429
|
-
startedAt: string;
|
|
430
|
-
parent?: ParentExecutionRef;
|
|
431
|
-
executionOptions?: RunExecutionOptions;
|
|
432
|
-
control?: PersistedRunControlState;
|
|
433
|
-
workflowSnapshot?: PersistedWorkflowSnapshot;
|
|
434
|
-
mutableState?: PersistedMutableRunState;
|
|
435
|
-
status: RunStatus;
|
|
436
|
-
pending?: PendingNodeExecution;
|
|
437
|
-
queue: RunQueueEntry[];
|
|
438
|
-
outputsByNode: Record<NodeId, NodeOutputs>;
|
|
439
|
-
nodeSnapshotsByNodeId: Record<NodeId, NodeExecutionSnapshot>;
|
|
440
|
-
}
|
|
441
|
-
interface RunStateStore {
|
|
442
|
-
createRun(args: {
|
|
443
|
-
runId: RunId;
|
|
444
|
-
workflowId: WorkflowId;
|
|
445
|
-
startedAt: string;
|
|
446
|
-
parent?: ParentExecutionRef;
|
|
447
|
-
executionOptions?: RunExecutionOptions;
|
|
448
|
-
control?: PersistedRunControlState;
|
|
449
|
-
workflowSnapshot?: PersistedWorkflowSnapshot;
|
|
450
|
-
mutableState?: PersistedMutableRunState;
|
|
451
|
-
}): Promise<void>;
|
|
452
|
-
load(runId: RunId): Promise<PersistedRunState | undefined>;
|
|
453
|
-
save(state: PersistedRunState): Promise<void>;
|
|
454
|
-
}
|
|
455
|
-
interface RunListingStore {
|
|
456
|
-
listRuns(args?: Readonly<{
|
|
457
|
-
workflowId?: WorkflowId;
|
|
458
|
-
limit?: number;
|
|
459
|
-
}>): Promise<ReadonlyArray<RunSummary>>;
|
|
460
|
-
}
|
|
461
|
-
type RunResult = {
|
|
462
|
-
runId: RunId;
|
|
463
|
-
workflowId: WorkflowId;
|
|
464
|
-
startedAt: string;
|
|
465
|
-
status: "completed";
|
|
466
|
-
outputs: Items;
|
|
467
|
-
} | {
|
|
468
|
-
runId: RunId;
|
|
469
|
-
workflowId: WorkflowId;
|
|
470
|
-
startedAt: string;
|
|
471
|
-
status: "pending";
|
|
472
|
-
pending: PendingNodeExecution;
|
|
473
|
-
} | {
|
|
474
|
-
runId: RunId;
|
|
475
|
-
workflowId: WorkflowId;
|
|
476
|
-
startedAt: string;
|
|
477
|
-
status: "failed";
|
|
478
|
-
error: {
|
|
479
|
-
message: string;
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
type WebhookRunResult = Readonly<{
|
|
483
|
-
runId: RunId;
|
|
484
|
-
workflowId: WorkflowId;
|
|
485
|
-
startedAt: string;
|
|
486
|
-
runStatus: "pending" | "completed";
|
|
487
|
-
response: Items;
|
|
488
|
-
}>;
|
|
489
|
-
interface PersistedWorkflowTokenRegistryLike {
|
|
490
|
-
register(type: TypeToken<unknown>, packageId: string, persistedNameOverride?: string): string;
|
|
491
|
-
getTokenId(type: TypeToken<unknown>): string | undefined;
|
|
492
|
-
resolve(tokenId: string): TypeToken<unknown> | undefined;
|
|
493
|
-
registerFromWorkflows?(workflows: ReadonlyArray<WorkflowDefinition>): void;
|
|
494
|
-
}
|
|
495
|
-
interface RunCompletionNotifier {
|
|
496
|
-
resolveRunCompletion(result: RunResult): void;
|
|
497
|
-
resolveWebhookResponse(result: WebhookRunResult): void;
|
|
498
|
-
}
|
|
499
|
-
interface RunEventPublisherDeps {
|
|
500
|
-
eventBus?: RunEventBus;
|
|
501
|
-
}
|
|
502
|
-
//#endregion
|
|
503
|
-
//#region src/contracts/webhookTypes.d.ts
|
|
504
|
-
type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
505
|
-
interface WebhookControlSignal {
|
|
506
|
-
readonly __webhookControl: true;
|
|
507
|
-
readonly kind: "respondNow" | "respondNowAndContinue";
|
|
508
|
-
readonly responseItems: Items;
|
|
509
|
-
readonly continueItems?: Items;
|
|
510
|
-
}
|
|
511
|
-
interface WebhookSpec {
|
|
512
|
-
endpointKey: string;
|
|
513
|
-
methods: ReadonlyArray<HttpMethod>;
|
|
514
|
-
parseJsonBody?: (body: unknown) => unknown;
|
|
515
|
-
}
|
|
516
|
-
interface WebhookRegistration {
|
|
517
|
-
endpointId: string;
|
|
518
|
-
methods: ReadonlyArray<HttpMethod>;
|
|
519
|
-
path: string;
|
|
520
|
-
}
|
|
521
|
-
interface TriggerInstanceId {
|
|
522
|
-
workflowId: WorkflowId;
|
|
523
|
-
nodeId: NodeId;
|
|
524
|
-
}
|
|
525
|
-
interface WebhookInvocationMatch {
|
|
526
|
-
endpointId: string;
|
|
527
|
-
workflowId: WorkflowId;
|
|
528
|
-
nodeId: NodeId;
|
|
529
|
-
methods: ReadonlyArray<HttpMethod>;
|
|
530
|
-
parseJsonBody?: (body: unknown) => unknown;
|
|
531
|
-
}
|
|
532
|
-
interface WebhookTriggerMatcher {
|
|
533
|
-
register(args: {
|
|
534
|
-
workflowId: WorkflowId;
|
|
535
|
-
nodeId: NodeId;
|
|
536
|
-
endpointId: string;
|
|
537
|
-
methods: ReadonlyArray<HttpMethod>;
|
|
538
|
-
parseJsonBody?: (body: unknown) => unknown;
|
|
539
|
-
}): void;
|
|
540
|
-
clear?(): void;
|
|
541
|
-
lookup(endpointId: string): WebhookInvocationMatch | undefined;
|
|
542
|
-
match(args: {
|
|
543
|
-
endpointId: string;
|
|
544
|
-
method: HttpMethod;
|
|
545
|
-
}): WebhookInvocationMatch | undefined;
|
|
546
|
-
}
|
|
547
|
-
//#endregion
|
|
548
|
-
//#region src/contracts/runtimeTypes.d.ts
|
|
549
|
-
interface WorkflowRunnerService {
|
|
550
|
-
runById(args: {
|
|
551
|
-
workflowId: WorkflowId;
|
|
552
|
-
startAt?: NodeId;
|
|
553
|
-
items: Items;
|
|
554
|
-
parent?: ParentExecutionRef;
|
|
555
|
-
}): Promise<RunResult>;
|
|
556
|
-
}
|
|
557
|
-
interface WorkflowRunnerResolver {
|
|
558
|
-
resolve(): WorkflowRunnerService | undefined;
|
|
559
|
-
}
|
|
560
|
-
interface WorkflowRepository {
|
|
561
|
-
list(): ReadonlyArray<WorkflowDefinition>;
|
|
562
|
-
get(workflowId: WorkflowId): WorkflowDefinition | undefined;
|
|
563
|
-
}
|
|
564
|
-
interface WorkflowCatalog extends WorkflowRepository {
|
|
565
|
-
setWorkflows(workflows: ReadonlyArray<WorkflowDefinition>): void;
|
|
566
|
-
}
|
|
567
|
-
type WorkflowRegistry = WorkflowCatalog;
|
|
568
|
-
interface NodeResolver {
|
|
569
|
-
resolve<T>(token: TypeToken<T>): T;
|
|
570
|
-
getContainer(): Container | undefined;
|
|
571
|
-
}
|
|
572
|
-
interface WebhookRegistrar {
|
|
573
|
-
registerWebhook(spec: {
|
|
574
|
-
workflowId: WorkflowId;
|
|
575
|
-
nodeId: NodeId;
|
|
576
|
-
endpointKey: string;
|
|
577
|
-
methods: ReadonlyArray<HttpMethod>;
|
|
578
|
-
parseJsonBody?: (body: unknown) => unknown;
|
|
579
|
-
basePath: string;
|
|
580
|
-
}): WebhookRegistration;
|
|
581
|
-
clear?(): Promise<void> | void;
|
|
582
|
-
}
|
|
583
|
-
interface NodeActivationObserver {
|
|
584
|
-
onNodeActivation(stats: NodeActivationStats): void;
|
|
585
|
-
}
|
|
586
|
-
interface NodeExecutionStatePublisher {
|
|
587
|
-
markQueued(args: {
|
|
588
|
-
nodeId: NodeId;
|
|
589
|
-
activationId?: NodeActivationId;
|
|
590
|
-
inputsByPort?: NodeInputsByPort;
|
|
591
|
-
}): Promise<void>;
|
|
592
|
-
markRunning(args: {
|
|
593
|
-
nodeId: NodeId;
|
|
594
|
-
activationId?: NodeActivationId;
|
|
595
|
-
inputsByPort?: NodeInputsByPort;
|
|
596
|
-
}): Promise<void>;
|
|
597
|
-
markCompleted(args: {
|
|
598
|
-
nodeId: NodeId;
|
|
599
|
-
activationId?: NodeActivationId;
|
|
600
|
-
inputsByPort?: NodeInputsByPort;
|
|
601
|
-
outputs?: NodeOutputs;
|
|
602
|
-
}): Promise<void>;
|
|
603
|
-
markFailed(args: {
|
|
604
|
-
nodeId: NodeId;
|
|
605
|
-
activationId?: NodeActivationId;
|
|
606
|
-
inputsByPort?: NodeInputsByPort;
|
|
607
|
-
error: Error;
|
|
608
|
-
}): Promise<void>;
|
|
609
|
-
}
|
|
610
|
-
type BinaryBody = ReadableStream<Uint8Array> | AsyncIterable<Uint8Array> | Uint8Array | ArrayBuffer;
|
|
611
|
-
interface BinaryStorageWriteRequest {
|
|
612
|
-
storageKey: string;
|
|
613
|
-
body: BinaryBody;
|
|
614
|
-
}
|
|
615
|
-
interface BinaryStorageWriteResult {
|
|
616
|
-
storageKey: string;
|
|
617
|
-
size: number;
|
|
618
|
-
sha256?: string;
|
|
619
|
-
}
|
|
620
|
-
interface BinaryStorageReadResult {
|
|
621
|
-
body: ReadableStream<Uint8Array>;
|
|
622
|
-
size?: number;
|
|
623
|
-
}
|
|
624
|
-
interface BinaryStorageStatResult {
|
|
625
|
-
exists: boolean;
|
|
626
|
-
size?: number;
|
|
627
|
-
}
|
|
628
|
-
interface BinaryStorage {
|
|
629
|
-
readonly driverName: string;
|
|
630
|
-
write(args: BinaryStorageWriteRequest): Promise<BinaryStorageWriteResult>;
|
|
631
|
-
openReadStream(storageKey: string): Promise<BinaryStorageReadResult | undefined>;
|
|
632
|
-
stat(storageKey: string): Promise<BinaryStorageStatResult>;
|
|
633
|
-
delete(storageKey: string): Promise<void>;
|
|
634
|
-
}
|
|
635
|
-
interface BinaryAttachmentCreateRequest {
|
|
636
|
-
name: string;
|
|
637
|
-
body: BinaryBody;
|
|
638
|
-
mimeType: string;
|
|
639
|
-
filename?: string;
|
|
640
|
-
previewKind?: BinaryAttachment["previewKind"];
|
|
641
|
-
}
|
|
642
|
-
interface NodeBinaryAttachmentService extends ExecutionBinaryService {
|
|
643
|
-
attach(args: BinaryAttachmentCreateRequest): Promise<BinaryAttachment>;
|
|
644
|
-
withAttachment<TJson>(item: Item<TJson>, name: string, attachment: BinaryAttachment): Item<TJson>;
|
|
645
|
-
}
|
|
646
|
-
interface ExecutionBinaryService {
|
|
647
|
-
forNode(args: {
|
|
648
|
-
nodeId: NodeId;
|
|
649
|
-
activationId: NodeActivationId;
|
|
650
|
-
}): NodeBinaryAttachmentService;
|
|
651
|
-
openReadStream(attachment: BinaryAttachment): Promise<BinaryStorageReadResult | undefined>;
|
|
652
|
-
}
|
|
653
|
-
interface ExecutionContext {
|
|
654
|
-
runId: RunId;
|
|
655
|
-
workflowId: WorkflowId;
|
|
656
|
-
parent?: ParentExecutionRef;
|
|
657
|
-
now: () => Date;
|
|
658
|
-
data: RunDataSnapshot;
|
|
659
|
-
nodeState?: NodeExecutionStatePublisher;
|
|
660
|
-
binary: ExecutionBinaryService;
|
|
661
|
-
getCredential<TSession = unknown>(slotKey: string): Promise<TSession>;
|
|
662
|
-
}
|
|
663
|
-
interface ExecutionContextFactory {
|
|
664
|
-
create(args: {
|
|
665
|
-
runId: RunId;
|
|
666
|
-
workflowId: WorkflowId;
|
|
667
|
-
parent?: ParentExecutionRef;
|
|
668
|
-
data: RunDataSnapshot;
|
|
669
|
-
nodeState?: NodeExecutionStatePublisher;
|
|
670
|
-
getCredential<TSession = unknown>(slotKey: string): Promise<TSession>;
|
|
671
|
-
}): ExecutionContext;
|
|
672
|
-
}
|
|
673
|
-
interface NodeExecutionContext<TConfig extends NodeConfigBase = NodeConfigBase> extends ExecutionContext {
|
|
674
|
-
nodeId: NodeId;
|
|
675
|
-
activationId: NodeActivationId;
|
|
676
|
-
config: TConfig;
|
|
677
|
-
binary: NodeBinaryAttachmentService;
|
|
678
|
-
}
|
|
679
|
-
interface TriggerSetupContext<TConfig extends TriggerNodeConfig<any, any> = TriggerNodeConfig<any, any>, TSetupState$1 extends JsonValue | undefined = TriggerNodeSetupState<TConfig>> extends ExecutionContext {
|
|
680
|
-
trigger: TriggerInstanceId;
|
|
681
|
-
config: TConfig;
|
|
682
|
-
previousState: TSetupState$1;
|
|
683
|
-
registerWebhook(spec: WebhookSpec): WebhookRegistration;
|
|
684
|
-
registerCleanup(cleanup: TriggerCleanupHandle): void;
|
|
685
|
-
emit(items: Items): Promise<void>;
|
|
686
|
-
}
|
|
687
|
-
interface TriggerTestItemsContext<TConfig extends TriggerNodeConfig<any, any> = TriggerNodeConfig<any, any>, TSetupState$1 extends JsonValue | undefined = TriggerNodeSetupState<TConfig>> extends ExecutionContext {
|
|
688
|
-
trigger: TriggerInstanceId;
|
|
689
|
-
nodeId: NodeId;
|
|
690
|
-
config: TConfig;
|
|
691
|
-
previousState: TSetupState$1;
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* Trigger setup state is intentionally engine-owned so future ownership and
|
|
695
|
-
* leader-election metadata can be coordinated centrally rather than pushed into
|
|
696
|
-
* package-level setup code.
|
|
697
|
-
*/
|
|
698
|
-
interface PersistedTriggerSetupState<TState extends JsonValue | undefined = JsonValue | undefined> {
|
|
699
|
-
trigger: TriggerInstanceId;
|
|
700
|
-
updatedAt: string;
|
|
701
|
-
state: TState;
|
|
702
|
-
}
|
|
703
|
-
interface TriggerSetupStateStore {
|
|
704
|
-
load(trigger: TriggerInstanceId): Promise<PersistedTriggerSetupState | undefined>;
|
|
705
|
-
save(state: PersistedTriggerSetupState): Promise<void>;
|
|
706
|
-
delete(trigger: TriggerInstanceId): Promise<void>;
|
|
707
|
-
}
|
|
708
|
-
interface TriggerCleanupHandle {
|
|
709
|
-
stop(): Promise<void> | void;
|
|
710
|
-
}
|
|
711
|
-
interface NodeActivationStats {
|
|
712
|
-
activationId: NodeActivationId;
|
|
713
|
-
nodeId: NodeId;
|
|
714
|
-
itemsIn: number;
|
|
715
|
-
itemsOutByPort: Readonly<Record<OutputPortKey, number>>;
|
|
716
|
-
}
|
|
717
|
-
interface EngineHost {
|
|
718
|
-
credentialSessions: CredentialSessionService;
|
|
719
|
-
workflows?: WorkflowRunnerService;
|
|
720
|
-
registerWebhook(spec: {
|
|
721
|
-
workflowId: WorkflowId;
|
|
722
|
-
nodeId: NodeId;
|
|
723
|
-
endpointKey: string;
|
|
724
|
-
methods: ReadonlyArray<HttpMethod>;
|
|
725
|
-
parseJsonBody?: (body: unknown) => unknown;
|
|
726
|
-
basePath: string;
|
|
727
|
-
}): WebhookRegistration;
|
|
728
|
-
onNodeActivation(stats: NodeActivationStats): void;
|
|
729
|
-
}
|
|
730
|
-
interface Node<TConfig extends NodeConfigBase = NodeConfigBase> {
|
|
731
|
-
kind: "node";
|
|
732
|
-
outputPorts: ReadonlyArray<OutputPortKey>;
|
|
733
|
-
execute(items: Items, ctx: NodeExecutionContext<TConfig>): Promise<NodeOutputs>;
|
|
734
|
-
}
|
|
735
|
-
interface MultiInputNode<TConfig extends NodeConfigBase = NodeConfigBase> {
|
|
736
|
-
kind: "node";
|
|
737
|
-
outputPorts: ReadonlyArray<OutputPortKey>;
|
|
738
|
-
executeMulti(inputsByPort: NodeInputsByPort, ctx: NodeExecutionContext<TConfig>): Promise<NodeOutputs>;
|
|
739
|
-
}
|
|
740
|
-
type TriggerSetupStateFor<TConfig extends TriggerNodeConfig<any, any>> = TriggerNodeSetupState<TConfig>;
|
|
741
|
-
interface TriggerNode<TConfig extends TriggerNodeConfig<any, any> = TriggerNodeConfig<any, any>> {
|
|
742
|
-
kind: "trigger";
|
|
743
|
-
outputPorts: readonly ["main"];
|
|
744
|
-
setup(ctx: TriggerSetupContext<TConfig>): Promise<TriggerSetupStateFor<TConfig>>;
|
|
745
|
-
execute(items: Items, ctx: NodeExecutionContext<TConfig>): Promise<NodeOutputs>;
|
|
746
|
-
}
|
|
747
|
-
interface TestableTriggerNode<TConfig extends TriggerNodeConfig<any, any> = TriggerNodeConfig<any, any>> extends TriggerNode<TConfig> {
|
|
748
|
-
getTestItems(ctx: TriggerTestItemsContext<TConfig>): Promise<Items>;
|
|
749
|
-
}
|
|
750
|
-
type ExecutableTriggerNode<TConfig extends TriggerNodeConfig<any, any> = TriggerNodeConfig<any, any>> = TriggerNode<TConfig>;
|
|
751
|
-
interface NodeExecutionRequest {
|
|
752
|
-
runId: RunId;
|
|
753
|
-
activationId: NodeActivationId;
|
|
754
|
-
workflowId: WorkflowId;
|
|
755
|
-
nodeId: NodeId;
|
|
756
|
-
input: Items;
|
|
757
|
-
parent?: ParentExecutionRef;
|
|
758
|
-
queue?: string;
|
|
759
|
-
executionOptions?: RunExecutionOptions;
|
|
760
|
-
}
|
|
761
|
-
interface NodeExecutionScheduler {
|
|
762
|
-
enqueue(request: NodeExecutionRequest): Promise<{
|
|
763
|
-
receiptId: string;
|
|
764
|
-
}>;
|
|
765
|
-
cancel?(receiptId: string): Promise<void>;
|
|
766
|
-
}
|
|
767
|
-
type NodeActivationRequestBase = Readonly<{
|
|
768
|
-
runId: RunId;
|
|
769
|
-
activationId: NodeActivationId;
|
|
770
|
-
workflowId: WorkflowId;
|
|
771
|
-
nodeId: NodeId;
|
|
772
|
-
parent?: ParentExecutionRef;
|
|
773
|
-
executionOptions?: RunExecutionOptions;
|
|
774
|
-
batchId?: string;
|
|
775
|
-
ctx: NodeExecutionContext;
|
|
776
|
-
}>;
|
|
777
|
-
type NodeActivationRequest = (NodeActivationRequestBase & Readonly<{
|
|
778
|
-
kind: "single";
|
|
779
|
-
input: Items;
|
|
780
|
-
}>) | (NodeActivationRequestBase & Readonly<{
|
|
781
|
-
kind: "multi";
|
|
782
|
-
inputsByPort: NodeInputsByPort;
|
|
783
|
-
}>);
|
|
784
|
-
interface NodeActivationReceipt {
|
|
785
|
-
receiptId: string;
|
|
786
|
-
mode?: "local" | "worker";
|
|
787
|
-
queue?: string;
|
|
788
|
-
}
|
|
789
|
-
interface NodeActivationContinuation {
|
|
790
|
-
markNodeRunning(args: {
|
|
791
|
-
runId: RunId;
|
|
792
|
-
activationId: NodeActivationId;
|
|
793
|
-
nodeId: NodeId;
|
|
794
|
-
inputsByPort: NodeInputsByPort;
|
|
795
|
-
}): Promise<void>;
|
|
796
|
-
resumeFromNodeResult(args: {
|
|
797
|
-
runId: RunId;
|
|
798
|
-
activationId: NodeActivationId;
|
|
799
|
-
nodeId: NodeId;
|
|
800
|
-
outputs: NodeOutputs;
|
|
801
|
-
}): Promise<RunResult>;
|
|
802
|
-
resumeFromNodeError(args: {
|
|
803
|
-
runId: RunId;
|
|
804
|
-
activationId: NodeActivationId;
|
|
805
|
-
nodeId: NodeId;
|
|
806
|
-
error: Error;
|
|
807
|
-
}): Promise<RunResult>;
|
|
808
|
-
}
|
|
809
|
-
interface NodeActivationScheduler {
|
|
810
|
-
setContinuation?(continuation: NodeActivationContinuation): void;
|
|
811
|
-
enqueue(request: NodeActivationRequest): Promise<NodeActivationReceipt>;
|
|
812
|
-
notifyPendingStatePersisted?(runId: RunId): void;
|
|
813
|
-
cancel?(receiptId: string): Promise<void>;
|
|
814
|
-
}
|
|
815
|
-
interface WorkflowNodeInstanceFactory {
|
|
816
|
-
createNodes(workflow: WorkflowDefinition): ReadonlyMap<NodeId, unknown>;
|
|
817
|
-
}
|
|
818
|
-
interface WorkflowSnapshotFactory {
|
|
819
|
-
create(workflow: WorkflowDefinition): PersistedWorkflowSnapshot;
|
|
820
|
-
}
|
|
821
|
-
interface WorkflowSnapshotResolver {
|
|
822
|
-
resolve(args: {
|
|
823
|
-
workflowId: WorkflowId;
|
|
824
|
-
workflowSnapshot?: PersistedWorkflowSnapshot;
|
|
825
|
-
}): WorkflowDefinition | undefined;
|
|
826
|
-
}
|
|
827
|
-
interface EngineDeps {
|
|
828
|
-
credentialSessions: CredentialSessionService;
|
|
829
|
-
workflowRunnerResolver: WorkflowRunnerResolver;
|
|
830
|
-
workflowCatalog: WorkflowCatalog;
|
|
831
|
-
workflowRepository: WorkflowRepository;
|
|
832
|
-
nodeResolver: NodeResolver;
|
|
833
|
-
webhookRegistrar: WebhookRegistrar;
|
|
834
|
-
triggerSetupStateStore: TriggerSetupStateStore;
|
|
835
|
-
webhookTriggerMatcher: WebhookTriggerMatcher;
|
|
836
|
-
nodeActivationObserver: NodeActivationObserver;
|
|
837
|
-
runIdFactory: RunIdFactory;
|
|
838
|
-
activationIdFactory: ActivationIdFactory;
|
|
839
|
-
webhookBasePath?: string;
|
|
840
|
-
runStore: RunStateStore;
|
|
841
|
-
activationScheduler: NodeActivationScheduler;
|
|
842
|
-
runDataFactory: RunDataFactory;
|
|
843
|
-
executionContextFactory: ExecutionContextFactory;
|
|
844
|
-
eventBus?: RunEventBus;
|
|
845
|
-
tokenRegistry: PersistedWorkflowTokenRegistryLike;
|
|
846
|
-
workflowNodeInstanceFactory: WorkflowNodeInstanceFactory;
|
|
847
|
-
}
|
|
848
|
-
//#endregion
|
|
849
|
-
//#region src/contracts/runFinishedAtFactory.d.ts
|
|
850
|
-
type RunFinishedAtSource = Pick<PersistedRunState, "status" | "nodeSnapshotsByNodeId">;
|
|
851
|
-
/** Derives workflow end time from node snapshots for run listings. */
|
|
852
|
-
declare class RunFinishedAtFactory {
|
|
853
|
-
static resolveIso(state: RunFinishedAtSource): string | undefined;
|
|
854
|
-
}
|
|
855
|
-
//#endregion
|
|
856
|
-
export { WebhookTriggerMatcher as $, instanceCachingFactory as $n, InputPortKey as $t, PersistedTriggerSetupState as A, TriggerNodeSetupState as An, RunEventSubscription as At, WorkflowNodeInstanceFactory as B, triggerNodeSetupStateType as Bn, CredentialRequirement as Bt, NodeActivationStats as C, RunId as Cn, RunStateStore as Ct, NodeExecutionScheduler as D, RunnableNodeOutputJson as Dn, WebhookRunResult as Dt, NodeExecutionRequest as E, RunnableNodeInputJson as En, RunSummary as Et, TriggerSetupStateFor as F, WorkflowId as Fn, CredentialHealth as Ft, WorkflowSnapshotFactory as G, Lifecycle as Gn, CredentialTypeRegistry as Gt, WorkflowRepository as H, DependencyContainer as Hn, CredentialSetupStatus as Ht, TriggerSetupStateStore as I, branchRef as In, CredentialHealthStatus as It, TriggerInstanceId as J, container as Jn, ActivationIdFactory as Jt, WorkflowSnapshotResolver as K, RegistrationOptions as Kn, CredentialUnboundError as Kt, TriggerTestItemsContext as L, runnableNodeInputType as Ln, CredentialInstanceId as Lt, TriggerCleanupHandle as M, WorkflowDefinition as Mn, CredentialBinding as Mt, TriggerNode as N, WorkflowGraph as Nn, CredentialBindingKey as Nt, NodeExecutionStatePublisher as O, TriggerNodeConfig as On, RunEvent as Ot, TriggerSetupContext as P, WorkflowGraphFactory as Pn, CredentialFieldSchema as Pt, WebhookSpec as Q, injectable as Qn, ExecutionMode as Qt, WebhookRegistrar as R, runnableNodeOutputType as Rn, CredentialMaterialSourceKind as Rt, NodeActivationScheduler as S, RunDataSnapshot as Sn, RunStateResetRequest as St, NodeExecutionContext as T, RunnableNodeConfig as Tn, RunStopCondition as Tt, WorkflowRunnerResolver as U, Disposable as Un, CredentialTypeDefinition as Ut, WorkflowRegistry as V, Container as Vn, CredentialSessionService as Vt, WorkflowRunnerService as W, InjectionToken as Wn, CredentialTypeId as Wt, WebhookInvocationMatch as X, inject as Xn, BinaryPreviewKind as Xt, WebhookControlSignal as Y, delay as Yn, BinaryAttachment as Yt, WebhookRegistration as Z, injectAll as Zn, Edge as Zt, NodeActivationContinuation as _, OutputPortKey as _n, RunEventPublisherDeps as _t, BinaryStorageReadResult as a, JsonPrimitive as an, NodeInputsByPort as at, NodeActivationRequest as b, PersistedTokenId as bn, RunQueueEntry as bt, BinaryStorageWriteResult as c, NodeActivationId as cn, PersistedMutableRunState as ct, ExecutableTriggerNode as d, NodeId as dn, PersistedWorkflowSnapshot as dt, Item as en, instancePerContainerCachingFactory as er, CurrentStateExecutionRequest as et, ExecutionBinaryService as f, NodeKind as fn, PersistedWorkflowSnapshotNode as ft, Node as g, NodeSchedulerDecision as gn, RunCurrentState as gt, MultiInputNode as h, NodeRef as hn, RunCompletionNotifier as ht, BinaryStorage as i, JsonObject as in, NodeExecutionStatus as it, TestableTriggerNode as j, UpstreamRefPlaceholder as jn, CredentialAuthDefinition as jt, NodeResolver as k, TriggerNodeOutputJson as kn, RunEventBus as kt, EngineDeps as l, NodeConfigBase as ln, PersistedRunControlState as lt, ExecutionContextFactory as m, NodeOutputs as mn, PinnedNodeOutputsByPort as mt, BinaryAttachmentCreateRequest as n, Items as nn, registry as nr, NodeExecutionError as nt, BinaryStorageStatResult as o, JsonValue as on, PendingNodeExecution as ot, ExecutionContext as p, NodeOffloadPolicy as pn, PersistedWorkflowTokenRegistryLike as pt, HttpMethod as q, TypeToken as qn, OAuth2ProviderFromPublicConfig as qt, BinaryBody as r, JsonArray as rn, singleton as rr, NodeExecutionSnapshot as rt, BinaryStorageWriteRequest as s, MutableRunData as sn, PersistedMutableNodeState as st, RunFinishedAtFactory as t, ItemBinary as tn, predicateAwareClassFactory as tr, ExecutionFrontierPlan as tt, EngineHost as u, NodeDefinition as un, PersistedRunState as ut, NodeActivationObserver as v, PairedItemRef as vn, RunExecutionOptions as vt, NodeBinaryAttachmentService as w, RunIdFactory as wn, RunStatus as wt, NodeActivationRequestBase as x, RunDataFactory as xn, RunResult as xt, NodeActivationReceipt as y, ParentExecutionRef as yn, RunListingStore as yt, WorkflowCatalog as z, triggerNodeOutputType as zn, CredentialOAuth2AuthDefinition as zt };
|
|
857
|
-
//# sourceMappingURL=types-Cb5UK7Y6.d.ts.map
|