@workflow/world-testing 4.1.14 → 4.1.16

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,14 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/null-byte.ts": {
5
- "nullByteStep": {
6
- "stepId": "step//./workflows/null-byte//nullByteStep"
4
+ "workflows/event-limit.ts": {
5
+ "tick": {
6
+ "stepId": "step//./workflows/event-limit//tick"
7
+ }
8
+ },
9
+ "workflows/hooks.ts": {
10
+ "writeEvent": {
11
+ "stepId": "step//./workflows/hooks//writeEvent"
7
12
  }
8
13
  },
9
14
  "workflows/addition.ts": {
@@ -16,14 +21,14 @@
16
21
  "stepId": "step//./workflows/noop//noop"
17
22
  }
18
23
  },
19
- "workflow/dist/stdlib.js": {
20
- "fetch": {
21
- "stepId": "step//workflow@4.7.0//fetch"
24
+ "workflows/null-byte.ts": {
25
+ "nullByteStep": {
26
+ "stepId": "step//./workflows/null-byte//nullByteStep"
22
27
  }
23
28
  },
24
- "workflows/hooks.ts": {
25
- "writeEvent": {
26
- "stepId": "step//./workflows/hooks//writeEvent"
29
+ "workflow/dist/stdlib.js": {
30
+ "fetch": {
31
+ "stepId": "step//workflow@4.8.1//fetch"
27
32
  }
28
33
  },
29
34
  "workflow/dist/internal/builtins.js": {
@@ -47,16 +52,16 @@
47
52
  }
48
53
  },
49
54
  "workflows": {
50
- "workflows/null-byte.ts": {
51
- "nullByteWorkflow": {
52
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
55
+ "workflows/event-limit.ts": {
56
+ "runawayWorkflow": {
57
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
53
58
  "graph": {
54
59
  "nodes": [
55
60
  {
56
61
  "id": "start",
57
62
  "type": "workflowStart",
58
63
  "data": {
59
- "label": "Start: nullByteWorkflow",
64
+ "label": "Start: runawayWorkflow",
60
65
  "nodeKind": "workflow_start"
61
66
  }
62
67
  },
@@ -64,9 +69,12 @@
64
69
  "id": "node_0",
65
70
  "type": "step",
66
71
  "data": {
67
- "label": "nullByteStep",
72
+ "label": "tick",
68
73
  "nodeKind": "step",
69
- "stepId": "step//./workflows/null-byte//nullByteStep"
74
+ "stepId": "step//./workflows/event-limit//tick"
75
+ },
76
+ "metadata": {
77
+ "loopId": "loop_0"
70
78
  }
71
79
  },
72
80
  {
@@ -79,6 +87,12 @@
79
87
  }
80
88
  ],
81
89
  "edges": [
90
+ {
91
+ "id": "e_node_0_back_node_0",
92
+ "source": "node_0",
93
+ "target": "node_0",
94
+ "type": "loop"
95
+ },
82
96
  {
83
97
  "id": "e_start_node_0",
84
98
  "source": "start",
@@ -95,6 +109,79 @@
95
109
  }
96
110
  }
97
111
  },
112
+ "workflows/hooks.ts": {
113
+ "collectWithHook": {
114
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
115
+ "graph": {
116
+ "nodes": [
117
+ {
118
+ "id": "start",
119
+ "type": "workflowStart",
120
+ "data": {
121
+ "label": "Start: collectWithHook",
122
+ "nodeKind": "workflow_start"
123
+ }
124
+ },
125
+ {
126
+ "id": "node_0",
127
+ "type": "step",
128
+ "data": {
129
+ "label": "writeEvent",
130
+ "nodeKind": "step",
131
+ "stepId": "step//./workflows/hooks//writeEvent"
132
+ }
133
+ },
134
+ {
135
+ "id": "node_1",
136
+ "type": "step",
137
+ "data": {
138
+ "label": "writeEvent",
139
+ "nodeKind": "step",
140
+ "stepId": "step//./workflows/hooks//writeEvent"
141
+ },
142
+ "metadata": {
143
+ "loopId": "loop_0",
144
+ "loopIsAwait": true
145
+ }
146
+ },
147
+ {
148
+ "id": "end",
149
+ "type": "workflowEnd",
150
+ "data": {
151
+ "label": "Return",
152
+ "nodeKind": "workflow_end"
153
+ }
154
+ }
155
+ ],
156
+ "edges": [
157
+ {
158
+ "id": "e_start_node_0",
159
+ "source": "start",
160
+ "target": "node_0",
161
+ "type": "default"
162
+ },
163
+ {
164
+ "id": "e_node_1_back_node_1",
165
+ "source": "node_1",
166
+ "target": "node_1",
167
+ "type": "loop"
168
+ },
169
+ {
170
+ "id": "e_node_0_node_1",
171
+ "source": "node_0",
172
+ "target": "node_1",
173
+ "type": "default"
174
+ },
175
+ {
176
+ "id": "e_node_1_end",
177
+ "source": "node_1",
178
+ "target": "end",
179
+ "type": "default"
180
+ }
181
+ ]
182
+ }
183
+ }
184
+ },
98
185
  "workflows/addition.ts": {
99
186
  "addition": {
100
187
  "workflowId": "workflow//./workflows/addition//addition",
@@ -206,16 +293,16 @@
206
293
  }
207
294
  }
208
295
  },
209
- "workflows/hooks.ts": {
210
- "collectWithHook": {
211
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
296
+ "workflows/null-byte.ts": {
297
+ "nullByteWorkflow": {
298
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
212
299
  "graph": {
213
300
  "nodes": [
214
301
  {
215
302
  "id": "start",
216
303
  "type": "workflowStart",
217
304
  "data": {
218
- "label": "Start: collectWithHook",
305
+ "label": "Start: nullByteWorkflow",
219
306
  "nodeKind": "workflow_start"
220
307
  }
221
308
  },
@@ -223,22 +310,9 @@
223
310
  "id": "node_0",
224
311
  "type": "step",
225
312
  "data": {
226
- "label": "writeEvent",
227
- "nodeKind": "step",
228
- "stepId": "step//./workflows/hooks//writeEvent"
229
- }
230
- },
231
- {
232
- "id": "node_1",
233
- "type": "step",
234
- "data": {
235
- "label": "writeEvent",
313
+ "label": "nullByteStep",
236
314
  "nodeKind": "step",
237
- "stepId": "step//./workflows/hooks//writeEvent"
238
- },
239
- "metadata": {
240
- "loopId": "loop_0",
241
- "loopIsAwait": true
315
+ "stepId": "step//./workflows/null-byte//nullByteStep"
242
316
  }
243
317
  },
244
318
  {
@@ -258,20 +332,8 @@
258
332
  "type": "default"
259
333
  },
260
334
  {
261
- "id": "e_node_1_back_node_1",
262
- "source": "node_1",
263
- "target": "node_1",
264
- "type": "loop"
265
- },
266
- {
267
- "id": "e_node_0_node_1",
335
+ "id": "e_node_0_end",
268
336
  "source": "node_0",
269
- "target": "node_1",
270
- "type": "default"
271
- },
272
- {
273
- "id": "e_node_1_end",
274
- "source": "node_1",
275
337
  "target": "end",
276
338
  "type": "default"
277
339
  }