@workflow/world-testing 4.1.0-beta.53 → 4.1.0-beta.54

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,9 +1,9 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/null-byte.ts": {
5
- "nullByteStep": {
6
- "stepId": "step//workflows/null-byte.ts//nullByteStep"
4
+ "workflows/addition.ts": {
5
+ "add": {
6
+ "stepId": "step//./workflows/addition//add"
7
7
  }
8
8
  },
9
9
  "workflow/dist/internal/builtins.js": {
@@ -17,313 +17,78 @@
17
17
  "stepId": "__builtin_response_text"
18
18
  }
19
19
  },
20
- "workflows/noop.ts": {
21
- "noop": {
22
- "stepId": "step//workflows/noop.ts//noop"
23
- }
24
- },
25
20
  "workflows/hooks.ts": {
26
21
  "writeEvent": {
27
- "stepId": "step//workflows/hooks.ts//writeEvent"
28
- }
29
- },
30
- "workflow/dist/stdlib.js": {
31
- "fetch": {
32
- "stepId": "step//workflow/dist/stdlib.js//fetch"
22
+ "stepId": "step//./workflows/hooks//writeEvent"
33
23
  }
34
24
  },
35
- "workflows/addition.ts": {
36
- "add": {
37
- "stepId": "step//workflows/addition.ts//add"
25
+ "workflows/noop.ts": {
26
+ "noop": {
27
+ "stepId": "step//./workflows/noop//noop"
38
28
  }
39
29
  },
40
30
  "workflows/retriable-and-fatal.ts": {
41
31
  "stepThatFails": {
42
- "stepId": "step//workflows/retriable-and-fatal.ts//stepThatFails"
32
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
43
33
  },
44
34
  "stepThatThrowsRetryableError": {
45
- "stepId": "step//workflows/retriable-and-fatal.ts//stepThatThrowsRetryableError"
35
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
46
36
  }
47
- }
48
- },
49
- "workflows": {
37
+ },
50
38
  "workflows/null-byte.ts": {
51
- "nullByteWorkflow": {
52
- "workflowId": "workflow//workflows/null-byte.ts//nullByteWorkflow",
53
- "graph": {
54
- "nodes": [
55
- {
56
- "id": "start",
57
- "type": "workflowStart",
58
- "data": {
59
- "label": "Start: nullByteWorkflow",
60
- "nodeKind": "workflow_start"
61
- }
62
- },
63
- {
64
- "id": "node_0",
65
- "type": "step",
66
- "data": {
67
- "label": "nullByteStep",
68
- "nodeKind": "step",
69
- "stepId": "step//workflows/null-byte.ts//nullByteStep"
70
- }
71
- },
72
- {
73
- "id": "end",
74
- "type": "workflowEnd",
75
- "data": {
76
- "label": "Return",
77
- "nodeKind": "workflow_end"
78
- }
79
- }
80
- ],
81
- "edges": [
82
- {
83
- "id": "e_start_node_0",
84
- "source": "start",
85
- "target": "node_0",
86
- "type": "default"
87
- },
88
- {
89
- "id": "e_node_0_end",
90
- "source": "node_0",
91
- "target": "end",
92
- "type": "default"
93
- }
94
- ]
95
- }
39
+ "nullByteStep": {
40
+ "stepId": "step//./workflows/null-byte//nullByteStep"
96
41
  }
97
42
  },
98
- "workflows/noop.ts": {
99
- "brokenWf": {
100
- "workflowId": "workflow//workflows/noop.ts//brokenWf",
43
+ "workflow/dist/stdlib.js": {
44
+ "fetch": {
45
+ "stepId": "step//workflow@4.1.0-beta.53//fetch"
46
+ }
47
+ }
48
+ },
49
+ "workflows": {
50
+ "workflows/addition.ts": {
51
+ "addition": {
52
+ "workflowId": "workflow//./workflows/addition//addition",
101
53
  "graph": {
102
- "nodes": [
103
- {
104
- "id": "start",
105
- "type": "workflowStart",
106
- "data": {
107
- "label": "Start: brokenWf",
108
- "nodeKind": "workflow_start"
109
- }
110
- },
111
- {
112
- "id": "node_0",
113
- "type": "step",
114
- "data": {
115
- "label": "noop",
116
- "nodeKind": "step",
117
- "stepId": "step//workflows/noop.ts//noop"
118
- }
119
- },
120
- {
121
- "id": "node_1",
122
- "type": "step",
123
- "data": {
124
- "label": "noop",
125
- "nodeKind": "step",
126
- "stepId": "step//workflows/noop.ts//noop"
127
- }
128
- },
129
- {
130
- "id": "end",
131
- "type": "workflowEnd",
132
- "data": {
133
- "label": "Return",
134
- "nodeKind": "workflow_end"
135
- }
136
- }
137
- ],
138
- "edges": [
139
- {
140
- "id": "e_start_node_0",
141
- "source": "start",
142
- "target": "node_0",
143
- "type": "default"
144
- },
145
- {
146
- "id": "e_node_0_node_1",
147
- "source": "node_0",
148
- "target": "node_1",
149
- "type": "default"
150
- },
151
- {
152
- "id": "e_node_1_end",
153
- "source": "node_1",
154
- "target": "end",
155
- "type": "default"
156
- }
157
- ]
54
+ "nodes": [],
55
+ "edges": []
158
56
  }
159
57
  }
160
58
  },
161
59
  "workflows/hooks.ts": {
162
60
  "collectWithHook": {
163
- "workflowId": "workflow//workflows/hooks.ts//collectWithHook",
61
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
164
62
  "graph": {
165
- "nodes": [
166
- {
167
- "id": "start",
168
- "type": "workflowStart",
169
- "data": {
170
- "label": "Start: collectWithHook",
171
- "nodeKind": "workflow_start"
172
- }
173
- },
174
- {
175
- "id": "node_0",
176
- "type": "step",
177
- "data": {
178
- "label": "writeEvent",
179
- "nodeKind": "step",
180
- "stepId": "step//workflows/hooks.ts//writeEvent"
181
- }
182
- },
183
- {
184
- "id": "node_1",
185
- "type": "step",
186
- "data": {
187
- "label": "writeEvent",
188
- "nodeKind": "step",
189
- "stepId": "step//workflows/hooks.ts//writeEvent"
190
- },
191
- "metadata": {
192
- "loopId": "loop_0",
193
- "loopIsAwait": true
194
- }
195
- },
196
- {
197
- "id": "end",
198
- "type": "workflowEnd",
199
- "data": {
200
- "label": "Return",
201
- "nodeKind": "workflow_end"
202
- }
203
- }
204
- ],
205
- "edges": [
206
- {
207
- "id": "e_start_node_0",
208
- "source": "start",
209
- "target": "node_0",
210
- "type": "default"
211
- },
212
- {
213
- "id": "e_node_1_back_node_1",
214
- "source": "node_1",
215
- "target": "node_1",
216
- "type": "loop"
217
- },
218
- {
219
- "id": "e_node_0_node_1",
220
- "source": "node_0",
221
- "target": "node_1",
222
- "type": "default"
223
- },
224
- {
225
- "id": "e_node_1_end",
226
- "source": "node_1",
227
- "target": "end",
228
- "type": "default"
229
- }
230
- ]
63
+ "nodes": [],
64
+ "edges": []
231
65
  }
232
66
  }
233
67
  },
234
- "workflows/addition.ts": {
235
- "addition": {
236
- "workflowId": "workflow//workflows/addition.ts//addition",
68
+ "workflows/noop.ts": {
69
+ "brokenWf": {
70
+ "workflowId": "workflow//./workflows/noop//brokenWf",
237
71
  "graph": {
238
- "nodes": [
239
- {
240
- "id": "start",
241
- "type": "workflowStart",
242
- "data": {
243
- "label": "Start: addition",
244
- "nodeKind": "workflow_start"
245
- }
246
- },
247
- {
248
- "id": "node_0",
249
- "type": "step",
250
- "data": {
251
- "label": "add",
252
- "nodeKind": "step",
253
- "stepId": "step//workflows/addition.ts//add"
254
- }
255
- },
256
- {
257
- "id": "end",
258
- "type": "workflowEnd",
259
- "data": {
260
- "label": "Return",
261
- "nodeKind": "workflow_end"
262
- }
263
- }
264
- ],
265
- "edges": [
266
- {
267
- "id": "e_start_node_0",
268
- "source": "start",
269
- "target": "node_0",
270
- "type": "default"
271
- },
272
- {
273
- "id": "e_node_0_end",
274
- "source": "node_0",
275
- "target": "end",
276
- "type": "default"
277
- }
278
- ]
72
+ "nodes": [],
73
+ "edges": []
279
74
  }
280
75
  }
281
76
  },
282
77
  "workflows/retriable-and-fatal.ts": {
283
78
  "retryableAndFatalErrorWorkflow": {
284
- "workflowId": "workflow//workflows/retriable-and-fatal.ts//retryableAndFatalErrorWorkflow",
79
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
80
+ "graph": {
81
+ "nodes": [],
82
+ "edges": []
83
+ }
84
+ }
85
+ },
86
+ "workflows/null-byte.ts": {
87
+ "nullByteWorkflow": {
88
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
285
89
  "graph": {
286
- "nodes": [
287
- {
288
- "id": "start",
289
- "type": "workflowStart",
290
- "data": {
291
- "label": "Start: retryableAndFatalErrorWorkflow",
292
- "nodeKind": "workflow_start"
293
- }
294
- },
295
- {
296
- "id": "node_0",
297
- "type": "step",
298
- "data": {
299
- "label": "stepThatThrowsRetryableError",
300
- "nodeKind": "step",
301
- "stepId": "step//workflows/retriable-and-fatal.ts//stepThatThrowsRetryableError"
302
- }
303
- },
304
- {
305
- "id": "end",
306
- "type": "workflowEnd",
307
- "data": {
308
- "label": "Return",
309
- "nodeKind": "workflow_end"
310
- }
311
- }
312
- ],
313
- "edges": [
314
- {
315
- "id": "e_start_node_0",
316
- "source": "start",
317
- "target": "node_0",
318
- "type": "default"
319
- },
320
- {
321
- "id": "e_node_0_end",
322
- "source": "node_0",
323
- "target": "end",
324
- "type": "default"
325
- }
326
- ]
90
+ "nodes": [],
91
+ "edges": []
327
92
  }
328
93
  }
329
94
  }