@workflow/world-testing 5.0.0-beta.6 → 5.0.0-beta.7

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.
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
+ "workflows/addition.ts": {
5
+ "add": {
6
+ "stepId": "step//./workflows/addition//add"
7
+ }
8
+ },
9
+ "workflows/hooks.ts": {
10
+ "writeEvent": {
11
+ "stepId": "step//./workflows/hooks//writeEvent"
12
+ }
13
+ },
4
14
  "workflows/retriable-and-fatal.ts": {
5
15
  "stepThatFails": {
6
16
  "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
@@ -9,9 +19,9 @@
9
19
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
10
20
  }
11
21
  },
12
- "workflows/addition.ts": {
13
- "add": {
14
- "stepId": "step//./workflows/addition//add"
22
+ "workflows/noop.ts": {
23
+ "noop": {
24
+ "stepId": "step//./workflows/noop//noop"
15
25
  }
16
26
  },
17
27
  "workflows/inline-execution.ts": {
@@ -25,26 +35,6 @@
25
35
  "stepId": "step//./workflows/inline-execution//writeToStream"
26
36
  }
27
37
  },
28
- "workflows/noop.ts": {
29
- "noop": {
30
- "stepId": "step//./workflows/noop//noop"
31
- }
32
- },
33
- "workflows/null-byte.ts": {
34
- "nullByteStep": {
35
- "stepId": "step//./workflows/null-byte//nullByteStep"
36
- }
37
- },
38
- "workflows/hooks.ts": {
39
- "writeEvent": {
40
- "stepId": "step//./workflows/hooks//writeEvent"
41
- }
42
- },
43
- "workflow/dist/stdlib.js": {
44
- "fetch": {
45
- "stepId": "step//workflow@5.0.0-beta.6//fetch"
46
- }
47
- },
48
38
  "workflow/dist/internal/builtins.js": {
49
39
  "__builtin_response_array_buffer": {
50
40
  "stepId": "__builtin_response_array_buffer"
@@ -56,55 +46,65 @@
56
46
  "stepId": "__builtin_response_text"
57
47
  }
58
48
  },
49
+ "workflows/null-byte.ts": {
50
+ "nullByteStep": {
51
+ "stepId": "step//./workflows/null-byte//nullByteStep"
52
+ }
53
+ },
54
+ "workflow/dist/stdlib.js": {
55
+ "fetch": {
56
+ "stepId": "step//workflow@5.0.0-beta.7//fetch"
57
+ }
58
+ },
59
59
  "core/dist/runtime/start.js": {
60
60
  "start": {
61
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.6//start"
61
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.7//start"
62
62
  }
63
63
  },
64
64
  "core/dist/runtime/run.js": {
65
65
  "Run#cancel": {
66
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#cancel"
66
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#cancel"
67
67
  },
68
68
  "Run#completedAt": {
69
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#completedAt"
69
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#completedAt"
70
70
  },
71
71
  "Run#createdAt": {
72
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#createdAt"
72
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#createdAt"
73
73
  },
74
74
  "Run#exists": {
75
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#exists"
75
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#exists"
76
76
  },
77
77
  "Run#getReadable": {
78
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#getReadable"
78
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#getReadable"
79
79
  },
80
80
  "Run#returnValue": {
81
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#returnValue"
81
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#returnValue"
82
82
  },
83
83
  "Run#startedAt": {
84
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#startedAt"
84
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#startedAt"
85
85
  },
86
86
  "Run#status": {
87
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#status"
87
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#status"
88
88
  },
89
89
  "Run#wakeUp": {
90
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#wakeUp"
90
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#wakeUp"
91
91
  },
92
92
  "Run#workflowName": {
93
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.6//Run#workflowName"
93
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.7//Run#workflowName"
94
94
  }
95
95
  }
96
96
  },
97
97
  "workflows": {
98
- "workflows/retriable-and-fatal.ts": {
99
- "retryableAndFatalErrorWorkflow": {
100
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
98
+ "workflows/addition.ts": {
99
+ "addTenWorkflow": {
100
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
101
101
  "graph": {
102
102
  "nodes": [
103
103
  {
104
104
  "id": "start",
105
105
  "type": "workflowStart",
106
106
  "data": {
107
- "label": "Start: retryableAndFatalErrorWorkflow",
107
+ "label": "Start: addTenWorkflow",
108
108
  "nodeKind": "workflow_start"
109
109
  }
110
110
  },
@@ -126,18 +126,16 @@
126
126
  }
127
127
  ]
128
128
  }
129
- }
130
- },
131
- "workflows/addition.ts": {
132
- "addTenWorkflow": {
133
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
129
+ },
130
+ "addition": {
131
+ "workflowId": "workflow//./workflows/addition//addition",
134
132
  "graph": {
135
133
  "nodes": [
136
134
  {
137
135
  "id": "start",
138
136
  "type": "workflowStart",
139
137
  "data": {
140
- "label": "Start: addTenWorkflow",
138
+ "label": "Start: addition",
141
139
  "nodeKind": "workflow_start"
142
140
  }
143
141
  },
@@ -159,16 +157,18 @@
159
157
  }
160
158
  ]
161
159
  }
162
- },
163
- "addition": {
164
- "workflowId": "workflow//./workflows/addition//addition",
160
+ }
161
+ },
162
+ "workflows/hooks.ts": {
163
+ "collectWithHook": {
164
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
165
165
  "graph": {
166
166
  "nodes": [
167
167
  {
168
168
  "id": "start",
169
169
  "type": "workflowStart",
170
170
  "data": {
171
- "label": "Start: addition",
171
+ "label": "Start: collectWithHook",
172
172
  "nodeKind": "workflow_start"
173
173
  }
174
174
  },
@@ -192,16 +192,16 @@
192
192
  }
193
193
  }
194
194
  },
195
- "workflows/inline-execution.ts": {
196
- "hookWorkflow": {
197
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
195
+ "workflows/retriable-and-fatal.ts": {
196
+ "retryableAndFatalErrorWorkflow": {
197
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
198
198
  "graph": {
199
199
  "nodes": [
200
200
  {
201
201
  "id": "start",
202
202
  "type": "workflowStart",
203
203
  "data": {
204
- "label": "Start: hookWorkflow",
204
+ "label": "Start: retryableAndFatalErrorWorkflow",
205
205
  "nodeKind": "workflow_start"
206
206
  }
207
207
  },
@@ -223,16 +223,18 @@
223
223
  }
224
224
  ]
225
225
  }
226
- },
227
- "parallelStepsWorkflow": {
228
- "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
226
+ }
227
+ },
228
+ "workflows/noop.ts": {
229
+ "brokenWf": {
230
+ "workflowId": "workflow//./workflows/noop//brokenWf",
229
231
  "graph": {
230
232
  "nodes": [
231
233
  {
232
234
  "id": "start",
233
235
  "type": "workflowStart",
234
236
  "data": {
235
- "label": "Start: parallelStepsWorkflow",
237
+ "label": "Start: brokenWf",
236
238
  "nodeKind": "workflow_start"
237
239
  }
238
240
  },
@@ -254,16 +256,18 @@
254
256
  }
255
257
  ]
256
258
  }
257
- },
258
- "sequentialStepsWithStreamWorkflow": {
259
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
259
+ }
260
+ },
261
+ "workflows/inline-execution.ts": {
262
+ "hookWorkflow": {
263
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
260
264
  "graph": {
261
265
  "nodes": [
262
266
  {
263
267
  "id": "start",
264
268
  "type": "workflowStart",
265
269
  "data": {
266
- "label": "Start: sequentialStepsWithStreamWorkflow",
270
+ "label": "Start: hookWorkflow",
267
271
  "nodeKind": "workflow_start"
268
272
  }
269
273
  },
@@ -286,15 +290,15 @@
286
290
  ]
287
291
  }
288
292
  },
289
- "sequentialStepsWorkflow": {
290
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
293
+ "parallelStepsWorkflow": {
294
+ "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
291
295
  "graph": {
292
296
  "nodes": [
293
297
  {
294
298
  "id": "start",
295
299
  "type": "workflowStart",
296
300
  "data": {
297
- "label": "Start: sequentialStepsWorkflow",
301
+ "label": "Start: parallelStepsWorkflow",
298
302
  "nodeKind": "workflow_start"
299
303
  }
300
304
  },
@@ -317,26 +321,18 @@
317
321
  ]
318
322
  }
319
323
  },
320
- "sleepWorkflow": {
321
- "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
324
+ "sequentialStepsWithStreamWorkflow": {
325
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
322
326
  "graph": {
323
327
  "nodes": [
324
328
  {
325
329
  "id": "start",
326
330
  "type": "workflowStart",
327
331
  "data": {
328
- "label": "Start: sleepWorkflow",
332
+ "label": "Start: sequentialStepsWithStreamWorkflow",
329
333
  "nodeKind": "workflow_start"
330
334
  }
331
335
  },
332
- {
333
- "id": "node_0",
334
- "type": "primitive",
335
- "data": {
336
- "label": "sleep",
337
- "nodeKind": "primitive"
338
- }
339
- },
340
336
  {
341
337
  "id": "end",
342
338
  "type": "workflowEnd",
@@ -348,29 +344,23 @@
348
344
  ],
349
345
  "edges": [
350
346
  {
351
- "id": "e_start_node_0",
347
+ "id": "e_start_end",
352
348
  "source": "start",
353
- "target": "node_0",
354
- "type": "default"
355
- },
356
- {
357
- "id": "e_node_0_end",
358
- "source": "node_0",
359
349
  "target": "end",
360
350
  "type": "default"
361
351
  }
362
352
  ]
363
353
  }
364
354
  },
365
- "threeBatchesOfFiveWorkflow": {
366
- "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
355
+ "sequentialStepsWorkflow": {
356
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
367
357
  "graph": {
368
358
  "nodes": [
369
359
  {
370
360
  "id": "start",
371
361
  "type": "workflowStart",
372
362
  "data": {
373
- "label": "Start: threeBatchesOfFiveWorkflow",
363
+ "label": "Start: sequentialStepsWorkflow",
374
364
  "nodeKind": "workflow_start"
375
365
  }
376
366
  },
@@ -392,21 +382,27 @@
392
382
  }
393
383
  ]
394
384
  }
395
- }
396
- },
397
- "workflows/noop.ts": {
398
- "brokenWf": {
399
- "workflowId": "workflow//./workflows/noop//brokenWf",
385
+ },
386
+ "sleepWorkflow": {
387
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
400
388
  "graph": {
401
389
  "nodes": [
402
390
  {
403
391
  "id": "start",
404
392
  "type": "workflowStart",
405
393
  "data": {
406
- "label": "Start: brokenWf",
394
+ "label": "Start: sleepWorkflow",
407
395
  "nodeKind": "workflow_start"
408
396
  }
409
397
  },
398
+ {
399
+ "id": "node_0",
400
+ "type": "primitive",
401
+ "data": {
402
+ "label": "sleep",
403
+ "nodeKind": "primitive"
404
+ }
405
+ },
410
406
  {
411
407
  "id": "end",
412
408
  "type": "workflowEnd",
@@ -418,25 +414,29 @@
418
414
  ],
419
415
  "edges": [
420
416
  {
421
- "id": "e_start_end",
417
+ "id": "e_start_node_0",
422
418
  "source": "start",
419
+ "target": "node_0",
420
+ "type": "default"
421
+ },
422
+ {
423
+ "id": "e_node_0_end",
424
+ "source": "node_0",
423
425
  "target": "end",
424
426
  "type": "default"
425
427
  }
426
428
  ]
427
429
  }
428
- }
429
- },
430
- "workflows/null-byte.ts": {
431
- "nullByteWorkflow": {
432
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
430
+ },
431
+ "threeBatchesOfFiveWorkflow": {
432
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
433
433
  "graph": {
434
434
  "nodes": [
435
435
  {
436
436
  "id": "start",
437
437
  "type": "workflowStart",
438
438
  "data": {
439
- "label": "Start: nullByteWorkflow",
439
+ "label": "Start: threeBatchesOfFiveWorkflow",
440
440
  "nodeKind": "workflow_start"
441
441
  }
442
442
  },
@@ -460,16 +460,16 @@
460
460
  }
461
461
  }
462
462
  },
463
- "workflows/hooks.ts": {
464
- "collectWithHook": {
465
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
463
+ "workflows/null-byte.ts": {
464
+ "nullByteWorkflow": {
465
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
466
466
  "graph": {
467
467
  "nodes": [
468
468
  {
469
469
  "id": "start",
470
470
  "type": "workflowStart",
471
471
  "data": {
472
- "label": "Start: collectWithHook",
472
+ "label": "Start: nullByteWorkflow",
473
473
  "nodeKind": "workflow_start"
474
474
  }
475
475
  },
@@ -497,7 +497,7 @@
497
497
  "classes": {
498
498
  "core/dist/runtime/run.js": {
499
499
  "Run": {
500
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.6//Run"
500
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.7//Run"
501
501
  }
502
502
  }
503
503
  }