@frontera-sdk/workflow 1.52.28 → 1.52.29
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/package.json +3 -3
- package/src/definition.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/workflow",
|
|
3
|
-
"version": "1.52.
|
|
3
|
+
"version": "1.52.29",
|
|
4
4
|
"description": "Typed headless client for starting, inspecting, waiting on and cancelling Frontera workflow runs from a script or backend.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"typecheck": "bunx tsc --noEmit"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@frontera-sdk/core": "1.52.
|
|
42
|
-
"@frontera-sdk/functions": "1.52.
|
|
41
|
+
"@frontera-sdk/core": "1.52.29",
|
|
42
|
+
"@frontera-sdk/functions": "1.52.29"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/bun": "^1.3.14",
|
package/src/definition.ts
CHANGED
|
@@ -264,6 +264,13 @@ export interface DecideParams {
|
|
|
264
264
|
}
|
|
265
265
|
export interface ActionParams {
|
|
266
266
|
input: DataInput
|
|
267
|
+
/**
|
|
268
|
+
* Why the change is made, recorded on the request, like
|
|
269
|
+
* `{ type: 'expr', expr: '"Triage: " & $steps.classify.text' }`. Required
|
|
270
|
+
* when the Action's governance requires a reason: push refuses the step
|
|
271
|
+
* without one. An empty reason is not sent.
|
|
272
|
+
*/
|
|
273
|
+
reason?: DataInput
|
|
267
274
|
/**
|
|
268
275
|
* Keep the step open until the request settles (succeeded, rejected,
|
|
269
276
|
* expired, cancelled, failed, or closed with an unknown outcome) instead of
|