@workflow/world-testing 5.0.0-beta.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.well-known/workflow/v1/{flow.js → flow.mjs} +2086 -2265
- package/dist/.well-known/workflow/v1/manifest.json +68 -30
- package/dist/.well-known/workflow/v1/{step.js → step.mjs} +30806 -30175
- package/dist/src/server.mjs +7 -6
- package/dist/src/server.mjs.map +1 -1
- package/package.json +6 -6
- /package/dist/.well-known/workflow/v1/{webhook.js → webhook.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"workflows/
|
|
5
|
-
"
|
|
6
|
-
"stepId": "step//./workflows/
|
|
4
|
+
"workflows/noop.ts": {
|
|
5
|
+
"noop": {
|
|
6
|
+
"stepId": "step//./workflows/noop//noop"
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
"workflows/hooks.ts": {
|
|
@@ -11,16 +11,24 @@
|
|
|
11
11
|
"stepId": "step//./workflows/hooks//writeEvent"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
"workflows/noop.ts": {
|
|
15
|
-
"noop": {
|
|
16
|
-
"stepId": "step//./workflows/noop//noop"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
14
|
"workflows/null-byte.ts": {
|
|
20
15
|
"nullByteStep": {
|
|
21
16
|
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
22
17
|
}
|
|
23
18
|
},
|
|
19
|
+
"workflows/retriable-and-fatal.ts": {
|
|
20
|
+
"stepThatFails": {
|
|
21
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
22
|
+
},
|
|
23
|
+
"stepThatThrowsRetryableError": {
|
|
24
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"workflows/addition.ts": {
|
|
28
|
+
"add": {
|
|
29
|
+
"stepId": "step//./workflows/addition//add"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
24
32
|
"workflow/dist/internal/builtins.js": {
|
|
25
33
|
"__builtin_response_array_buffer": {
|
|
26
34
|
"stepId": "__builtin_response_array_buffer"
|
|
@@ -32,26 +40,50 @@
|
|
|
32
40
|
"stepId": "__builtin_response_text"
|
|
33
41
|
}
|
|
34
42
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"stepId": "step
|
|
43
|
+
"core/dist/runtime/run.js": {
|
|
44
|
+
"Run#cancel": {
|
|
45
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#cancel"
|
|
38
46
|
},
|
|
39
|
-
"
|
|
40
|
-
"stepId": "step
|
|
47
|
+
"Run#completedAt": {
|
|
48
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#completedAt"
|
|
49
|
+
},
|
|
50
|
+
"Run#createdAt": {
|
|
51
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#createdAt"
|
|
52
|
+
},
|
|
53
|
+
"Run#exists": {
|
|
54
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#exists"
|
|
55
|
+
},
|
|
56
|
+
"Run#getReadable": {
|
|
57
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#getReadable"
|
|
58
|
+
},
|
|
59
|
+
"Run#returnValue": {
|
|
60
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#returnValue"
|
|
61
|
+
},
|
|
62
|
+
"Run#startedAt": {
|
|
63
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#startedAt"
|
|
64
|
+
},
|
|
65
|
+
"Run#status": {
|
|
66
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#status"
|
|
67
|
+
},
|
|
68
|
+
"Run#wakeUp": {
|
|
69
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#wakeUp"
|
|
70
|
+
},
|
|
71
|
+
"Run#workflowName": {
|
|
72
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#workflowName"
|
|
41
73
|
}
|
|
42
74
|
}
|
|
43
75
|
},
|
|
44
76
|
"workflows": {
|
|
45
|
-
"workflows/
|
|
46
|
-
"
|
|
47
|
-
"workflowId": "workflow//./workflows/
|
|
77
|
+
"workflows/noop.ts": {
|
|
78
|
+
"brokenWf": {
|
|
79
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
48
80
|
"graph": {
|
|
49
81
|
"nodes": [
|
|
50
82
|
{
|
|
51
83
|
"id": "start",
|
|
52
84
|
"type": "workflowStart",
|
|
53
85
|
"data": {
|
|
54
|
-
"label": "Start:
|
|
86
|
+
"label": "Start: brokenWf",
|
|
55
87
|
"nodeKind": "workflow_start"
|
|
56
88
|
}
|
|
57
89
|
},
|
|
@@ -108,16 +140,16 @@
|
|
|
108
140
|
}
|
|
109
141
|
}
|
|
110
142
|
},
|
|
111
|
-
"workflows/
|
|
112
|
-
"
|
|
113
|
-
"workflowId": "workflow//./workflows/
|
|
143
|
+
"workflows/null-byte.ts": {
|
|
144
|
+
"nullByteWorkflow": {
|
|
145
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
114
146
|
"graph": {
|
|
115
147
|
"nodes": [
|
|
116
148
|
{
|
|
117
149
|
"id": "start",
|
|
118
150
|
"type": "workflowStart",
|
|
119
151
|
"data": {
|
|
120
|
-
"label": "Start:
|
|
152
|
+
"label": "Start: nullByteWorkflow",
|
|
121
153
|
"nodeKind": "workflow_start"
|
|
122
154
|
}
|
|
123
155
|
},
|
|
@@ -141,16 +173,16 @@
|
|
|
141
173
|
}
|
|
142
174
|
}
|
|
143
175
|
},
|
|
144
|
-
"workflows/
|
|
145
|
-
"
|
|
146
|
-
"workflowId": "workflow//./workflows/
|
|
176
|
+
"workflows/retriable-and-fatal.ts": {
|
|
177
|
+
"retryableAndFatalErrorWorkflow": {
|
|
178
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
147
179
|
"graph": {
|
|
148
180
|
"nodes": [
|
|
149
181
|
{
|
|
150
182
|
"id": "start",
|
|
151
183
|
"type": "workflowStart",
|
|
152
184
|
"data": {
|
|
153
|
-
"label": "Start:
|
|
185
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
154
186
|
"nodeKind": "workflow_start"
|
|
155
187
|
}
|
|
156
188
|
},
|
|
@@ -174,16 +206,16 @@
|
|
|
174
206
|
}
|
|
175
207
|
}
|
|
176
208
|
},
|
|
177
|
-
"workflows/
|
|
178
|
-
"
|
|
179
|
-
"workflowId": "workflow//./workflows/
|
|
209
|
+
"workflows/addition.ts": {
|
|
210
|
+
"addition": {
|
|
211
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
180
212
|
"graph": {
|
|
181
213
|
"nodes": [
|
|
182
214
|
{
|
|
183
215
|
"id": "start",
|
|
184
216
|
"type": "workflowStart",
|
|
185
217
|
"data": {
|
|
186
|
-
"label": "Start:
|
|
218
|
+
"label": "Start: addition",
|
|
187
219
|
"nodeKind": "workflow_start"
|
|
188
220
|
}
|
|
189
221
|
},
|
|
@@ -208,5 +240,11 @@
|
|
|
208
240
|
}
|
|
209
241
|
}
|
|
210
242
|
},
|
|
211
|
-
"classes": {
|
|
243
|
+
"classes": {
|
|
244
|
+
"core/dist/runtime/run.js": {
|
|
245
|
+
"Run": {
|
|
246
|
+
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.1//Run"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
212
250
|
}
|