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