@workflow/world-testing 4.1.0-beta.59 → 4.1.0-beta.60

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