@workflow/world-testing 5.0.0-beta.7 → 5.0.0-beta.8
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.mjs +13284 -1896
- package/dist/.well-known/workflow/v1/manifest.json +75 -72
- package/dist/.well-known/workflow/v1/step.mjs +104 -17
- package/dist/src/addition.mjs +1 -1
- package/dist/src/errors.mjs +1 -1
- package/dist/src/hooks.mjs +1 -1
- package/dist/src/idempotency.mjs +1 -1
- package/dist/src/index.mjs +1 -1
- package/dist/src/inline-batches-debug.mjs +1 -1
- package/dist/src/inline-execution.mjs +1 -1
- package/dist/src/jsonlines.mjs +1 -1
- package/dist/src/null-byte.mjs +1 -1
- package/dist/src/server.mjs +1 -1
- package/dist/src/util.d.mts +8 -4
- package/dist/src/util.d.mts.map +1 -1
- package/dist/src/util.mjs +1 -1
- package/dist/workflows/hooks.js +1 -1
- package/package.json +5 -5
- package/dist/src/addition.mjs.map +0 -1
- package/dist/src/errors.mjs.map +0 -1
- package/dist/src/hooks.mjs.map +0 -1
- package/dist/src/idempotency.mjs.map +0 -1
- package/dist/src/index.mjs.map +0 -1
- package/dist/src/inline-batches-debug.mjs.map +0 -1
- package/dist/src/inline-execution.mjs.map +0 -1
- package/dist/src/jsonlines.mjs.map +0 -1
- package/dist/src/null-byte.mjs.map +0 -1
- package/dist/src/server.mjs.map +0 -1
- package/dist/src/util.mjs.map +0 -1
- package/dist/workflows/hooks.js.map +0 -1
|
@@ -6,11 +6,6 @@
|
|
|
6
6
|
"stepId": "step//./workflows/addition//add"
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
|
-
"workflows/hooks.ts": {
|
|
10
|
-
"writeEvent": {
|
|
11
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
9
|
"workflows/retriable-and-fatal.ts": {
|
|
15
10
|
"stepThatFails": {
|
|
16
11
|
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
@@ -24,6 +19,16 @@
|
|
|
24
19
|
"stepId": "step//./workflows/noop//noop"
|
|
25
20
|
}
|
|
26
21
|
},
|
|
22
|
+
"workflows/hooks.ts": {
|
|
23
|
+
"writeEvent": {
|
|
24
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"workflows/null-byte.ts": {
|
|
28
|
+
"nullByteStep": {
|
|
29
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
27
32
|
"workflows/inline-execution.ts": {
|
|
28
33
|
"add": {
|
|
29
34
|
"stepId": "step//./workflows/inline-execution//add"
|
|
@@ -35,6 +40,11 @@
|
|
|
35
40
|
"stepId": "step//./workflows/inline-execution//writeToStream"
|
|
36
41
|
}
|
|
37
42
|
},
|
|
43
|
+
"core/dist/runtime/start.js": {
|
|
44
|
+
"start": {
|
|
45
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.8//start"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
38
48
|
"workflow/dist/internal/builtins.js": {
|
|
39
49
|
"__builtin_response_array_buffer": {
|
|
40
50
|
"stepId": "__builtin_response_array_buffer"
|
|
@@ -44,53 +54,46 @@
|
|
|
44
54
|
},
|
|
45
55
|
"__builtin_response_text": {
|
|
46
56
|
"stepId": "__builtin_response_text"
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"nullByteStep": {
|
|
51
|
-
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
57
|
+
},
|
|
58
|
+
"__builtin_set_attributes": {
|
|
59
|
+
"stepId": "__builtin_set_attributes"
|
|
52
60
|
}
|
|
53
61
|
},
|
|
54
62
|
"workflow/dist/stdlib.js": {
|
|
55
63
|
"fetch": {
|
|
56
|
-
"stepId": "step//workflow@5.0.0-beta.
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"core/dist/runtime/start.js": {
|
|
60
|
-
"start": {
|
|
61
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.7//start"
|
|
64
|
+
"stepId": "step//workflow@5.0.0-beta.8//fetch"
|
|
62
65
|
}
|
|
63
66
|
},
|
|
64
67
|
"core/dist/runtime/run.js": {
|
|
65
68
|
"Run#cancel": {
|
|
66
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
69
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#cancel"
|
|
67
70
|
},
|
|
68
71
|
"Run#completedAt": {
|
|
69
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
72
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#completedAt"
|
|
70
73
|
},
|
|
71
74
|
"Run#createdAt": {
|
|
72
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
75
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#createdAt"
|
|
73
76
|
},
|
|
74
77
|
"Run#exists": {
|
|
75
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
78
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#exists"
|
|
76
79
|
},
|
|
77
80
|
"Run#getReadable": {
|
|
78
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
81
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#getReadable"
|
|
79
82
|
},
|
|
80
83
|
"Run#returnValue": {
|
|
81
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
84
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#returnValue"
|
|
82
85
|
},
|
|
83
86
|
"Run#startedAt": {
|
|
84
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
87
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#startedAt"
|
|
85
88
|
},
|
|
86
89
|
"Run#status": {
|
|
87
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
90
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#status"
|
|
88
91
|
},
|
|
89
92
|
"Run#wakeUp": {
|
|
90
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
93
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#wakeUp"
|
|
91
94
|
},
|
|
92
95
|
"Run#workflowName": {
|
|
93
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
96
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.8//Run#workflowName"
|
|
94
97
|
}
|
|
95
98
|
}
|
|
96
99
|
},
|
|
@@ -159,16 +162,16 @@
|
|
|
159
162
|
}
|
|
160
163
|
}
|
|
161
164
|
},
|
|
162
|
-
"workflows/
|
|
163
|
-
"
|
|
164
|
-
"workflowId": "workflow//./workflows/
|
|
165
|
+
"workflows/retriable-and-fatal.ts": {
|
|
166
|
+
"retryableAndFatalErrorWorkflow": {
|
|
167
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
165
168
|
"graph": {
|
|
166
169
|
"nodes": [
|
|
167
170
|
{
|
|
168
171
|
"id": "start",
|
|
169
172
|
"type": "workflowStart",
|
|
170
173
|
"data": {
|
|
171
|
-
"label": "Start:
|
|
174
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
172
175
|
"nodeKind": "workflow_start"
|
|
173
176
|
}
|
|
174
177
|
},
|
|
@@ -192,16 +195,16 @@
|
|
|
192
195
|
}
|
|
193
196
|
}
|
|
194
197
|
},
|
|
195
|
-
"workflows/
|
|
196
|
-
"
|
|
197
|
-
"workflowId": "workflow//./workflows/
|
|
198
|
+
"workflows/noop.ts": {
|
|
199
|
+
"brokenWf": {
|
|
200
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
198
201
|
"graph": {
|
|
199
202
|
"nodes": [
|
|
200
203
|
{
|
|
201
204
|
"id": "start",
|
|
202
205
|
"type": "workflowStart",
|
|
203
206
|
"data": {
|
|
204
|
-
"label": "Start:
|
|
207
|
+
"label": "Start: brokenWf",
|
|
205
208
|
"nodeKind": "workflow_start"
|
|
206
209
|
}
|
|
207
210
|
},
|
|
@@ -225,16 +228,49 @@
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
},
|
|
228
|
-
"workflows/
|
|
229
|
-
"
|
|
230
|
-
"workflowId": "workflow//./workflows/
|
|
231
|
+
"workflows/hooks.ts": {
|
|
232
|
+
"collectWithHook": {
|
|
233
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
231
234
|
"graph": {
|
|
232
235
|
"nodes": [
|
|
233
236
|
{
|
|
234
237
|
"id": "start",
|
|
235
238
|
"type": "workflowStart",
|
|
236
239
|
"data": {
|
|
237
|
-
"label": "Start:
|
|
240
|
+
"label": "Start: collectWithHook",
|
|
241
|
+
"nodeKind": "workflow_start"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "end",
|
|
246
|
+
"type": "workflowEnd",
|
|
247
|
+
"data": {
|
|
248
|
+
"label": "Return",
|
|
249
|
+
"nodeKind": "workflow_end"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"edges": [
|
|
254
|
+
{
|
|
255
|
+
"id": "e_start_end",
|
|
256
|
+
"source": "start",
|
|
257
|
+
"target": "end",
|
|
258
|
+
"type": "default"
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"workflows/null-byte.ts": {
|
|
265
|
+
"nullByteWorkflow": {
|
|
266
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
267
|
+
"graph": {
|
|
268
|
+
"nodes": [
|
|
269
|
+
{
|
|
270
|
+
"id": "start",
|
|
271
|
+
"type": "workflowStart",
|
|
272
|
+
"data": {
|
|
273
|
+
"label": "Start: nullByteWorkflow",
|
|
238
274
|
"nodeKind": "workflow_start"
|
|
239
275
|
}
|
|
240
276
|
},
|
|
@@ -459,45 +495,12 @@
|
|
|
459
495
|
]
|
|
460
496
|
}
|
|
461
497
|
}
|
|
462
|
-
},
|
|
463
|
-
"workflows/null-byte.ts": {
|
|
464
|
-
"nullByteWorkflow": {
|
|
465
|
-
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
466
|
-
"graph": {
|
|
467
|
-
"nodes": [
|
|
468
|
-
{
|
|
469
|
-
"id": "start",
|
|
470
|
-
"type": "workflowStart",
|
|
471
|
-
"data": {
|
|
472
|
-
"label": "Start: nullByteWorkflow",
|
|
473
|
-
"nodeKind": "workflow_start"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"id": "end",
|
|
478
|
-
"type": "workflowEnd",
|
|
479
|
-
"data": {
|
|
480
|
-
"label": "Return",
|
|
481
|
-
"nodeKind": "workflow_end"
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
],
|
|
485
|
-
"edges": [
|
|
486
|
-
{
|
|
487
|
-
"id": "e_start_end",
|
|
488
|
-
"source": "start",
|
|
489
|
-
"target": "end",
|
|
490
|
-
"type": "default"
|
|
491
|
-
}
|
|
492
|
-
]
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
498
|
}
|
|
496
499
|
},
|
|
497
500
|
"classes": {
|
|
498
501
|
"core/dist/runtime/run.js": {
|
|
499
502
|
"Run": {
|
|
500
|
-
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
503
|
+
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.8//Run"
|
|
501
504
|
}
|
|
502
505
|
}
|
|
503
506
|
}
|