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