@workflow/world-testing 5.0.0-beta.1 → 5.0.0-beta.2
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 +204 -37
- package/dist/.well-known/workflow/v1/manifest.json +35 -35
- package/dist/.well-known/workflow/v1/step.mjs +265 -33
- package/dist/src/addition.mjs.map +1 -1
- package/dist/src/errors.mjs.map +1 -1
- package/dist/src/hooks.mjs.map +1 -1
- package/dist/src/idempotency.mjs.map +1 -1
- package/dist/src/index.mjs.map +1 -1
- package/dist/src/jsonlines.mjs.map +1 -1
- package/dist/src/null-byte.mjs.map +1 -1
- package/dist/src/server.mjs.map +1 -1
- package/dist/src/util.mjs.map +1 -1
- package/dist/workflows/hooks.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"workflows/
|
|
5
|
-
"
|
|
6
|
-
"stepId": "step//./workflows/
|
|
4
|
+
"workflows/addition.ts": {
|
|
5
|
+
"add": {
|
|
6
|
+
"stepId": "step//./workflows/addition//add"
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
"workflows/hooks.ts": {
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
"stepId": "step//./workflows/hooks//writeEvent"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
+
"workflows/noop.ts": {
|
|
15
|
+
"noop": {
|
|
16
|
+
"stepId": "step//./workflows/noop//noop"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
14
19
|
"workflows/null-byte.ts": {
|
|
15
20
|
"nullByteStep": {
|
|
16
21
|
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
@@ -24,11 +29,6 @@
|
|
|
24
29
|
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
25
30
|
}
|
|
26
31
|
},
|
|
27
|
-
"workflows/addition.ts": {
|
|
28
|
-
"add": {
|
|
29
|
-
"stepId": "step//./workflows/addition//add"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
32
|
"workflow/dist/internal/builtins.js": {
|
|
33
33
|
"__builtin_response_array_buffer": {
|
|
34
34
|
"stepId": "__builtin_response_array_buffer"
|
|
@@ -42,48 +42,48 @@
|
|
|
42
42
|
},
|
|
43
43
|
"core/dist/runtime/run.js": {
|
|
44
44
|
"Run#cancel": {
|
|
45
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
45
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#cancel"
|
|
46
46
|
},
|
|
47
47
|
"Run#completedAt": {
|
|
48
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
48
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#completedAt"
|
|
49
49
|
},
|
|
50
50
|
"Run#createdAt": {
|
|
51
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
51
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#createdAt"
|
|
52
52
|
},
|
|
53
53
|
"Run#exists": {
|
|
54
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
54
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#exists"
|
|
55
55
|
},
|
|
56
56
|
"Run#getReadable": {
|
|
57
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
57
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#getReadable"
|
|
58
58
|
},
|
|
59
59
|
"Run#returnValue": {
|
|
60
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
60
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#returnValue"
|
|
61
61
|
},
|
|
62
62
|
"Run#startedAt": {
|
|
63
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
63
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#startedAt"
|
|
64
64
|
},
|
|
65
65
|
"Run#status": {
|
|
66
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
66
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#status"
|
|
67
67
|
},
|
|
68
68
|
"Run#wakeUp": {
|
|
69
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
69
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#wakeUp"
|
|
70
70
|
},
|
|
71
71
|
"Run#workflowName": {
|
|
72
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
72
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.2//Run#workflowName"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"workflows": {
|
|
77
|
-
"workflows/
|
|
78
|
-
"
|
|
79
|
-
"workflowId": "workflow//./workflows/
|
|
77
|
+
"workflows/addition.ts": {
|
|
78
|
+
"addition": {
|
|
79
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
80
80
|
"graph": {
|
|
81
81
|
"nodes": [
|
|
82
82
|
{
|
|
83
83
|
"id": "start",
|
|
84
84
|
"type": "workflowStart",
|
|
85
85
|
"data": {
|
|
86
|
-
"label": "Start:
|
|
86
|
+
"label": "Start: addition",
|
|
87
87
|
"nodeKind": "workflow_start"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
@@ -140,16 +140,16 @@
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
"workflows/
|
|
144
|
-
"
|
|
145
|
-
"workflowId": "workflow//./workflows/
|
|
143
|
+
"workflows/noop.ts": {
|
|
144
|
+
"brokenWf": {
|
|
145
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
146
146
|
"graph": {
|
|
147
147
|
"nodes": [
|
|
148
148
|
{
|
|
149
149
|
"id": "start",
|
|
150
150
|
"type": "workflowStart",
|
|
151
151
|
"data": {
|
|
152
|
-
"label": "Start:
|
|
152
|
+
"label": "Start: brokenWf",
|
|
153
153
|
"nodeKind": "workflow_start"
|
|
154
154
|
}
|
|
155
155
|
},
|
|
@@ -173,16 +173,16 @@
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
"workflows/
|
|
177
|
-
"
|
|
178
|
-
"workflowId": "workflow//./workflows/
|
|
176
|
+
"workflows/null-byte.ts": {
|
|
177
|
+
"nullByteWorkflow": {
|
|
178
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
179
179
|
"graph": {
|
|
180
180
|
"nodes": [
|
|
181
181
|
{
|
|
182
182
|
"id": "start",
|
|
183
183
|
"type": "workflowStart",
|
|
184
184
|
"data": {
|
|
185
|
-
"label": "Start:
|
|
185
|
+
"label": "Start: nullByteWorkflow",
|
|
186
186
|
"nodeKind": "workflow_start"
|
|
187
187
|
}
|
|
188
188
|
},
|
|
@@ -206,16 +206,16 @@
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
|
-
"workflows/
|
|
210
|
-
"
|
|
211
|
-
"workflowId": "workflow//./workflows/
|
|
209
|
+
"workflows/retriable-and-fatal.ts": {
|
|
210
|
+
"retryableAndFatalErrorWorkflow": {
|
|
211
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
212
212
|
"graph": {
|
|
213
213
|
"nodes": [
|
|
214
214
|
{
|
|
215
215
|
"id": "start",
|
|
216
216
|
"type": "workflowStart",
|
|
217
217
|
"data": {
|
|
218
|
-
"label": "Start:
|
|
218
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
219
219
|
"nodeKind": "workflow_start"
|
|
220
220
|
}
|
|
221
221
|
},
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"classes": {
|
|
244
244
|
"core/dist/runtime/run.js": {
|
|
245
245
|
"Run": {
|
|
246
|
-
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
246
|
+
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.2//Run"
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
}
|