@5minds/processcube_engine_sdk 6.0.0-feature-5e892d-m02b9vh5 → 6.0.0-feature-914fda-m02hzed8
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/DataModels/FlowNodeInstance/FlowNodeInstance.d.ts +6 -2
- package/dist/DataModels/ProcessInstance/ProcessStartOptions.d.ts +5 -8
- package/dist/commonjs/DataModels/FlowNodeInstance/FlowNodeInstance.js.map +1 -1
- package/dist/commonjs/DataModels/ProcessInstance/ProcessStartOptions.js +0 -7
- package/dist/commonjs/DataModels/ProcessInstance/ProcessStartOptions.js.map +1 -1
- package/package.json +1 -1
|
@@ -84,10 +84,14 @@ export type FlowNodeInstanceList = {
|
|
|
84
84
|
* type: string
|
|
85
85
|
* startToken:
|
|
86
86
|
* description: The token with which the Flow Node Instance started
|
|
87
|
-
* type:
|
|
87
|
+
* type: object
|
|
88
|
+
* additionalProperties:
|
|
89
|
+
* type: any
|
|
88
90
|
* endToken:
|
|
89
91
|
* description: The token with which the Flow Node Instance finished
|
|
90
|
-
* type:
|
|
92
|
+
* type: object
|
|
93
|
+
* additionalProperties:
|
|
94
|
+
* type: any
|
|
91
95
|
* ownerId:
|
|
92
96
|
* description: The ID of the user that owns this FlowNodeInstance
|
|
93
97
|
* type: string
|
|
@@ -3,18 +3,11 @@
|
|
|
3
3
|
* components:
|
|
4
4
|
* schemas:
|
|
5
5
|
* StartCallbackType:
|
|
6
|
-
* description: |
|
|
7
|
-
* The type of callback to use for a ProcessInstance start.
|
|
8
|
-
*
|
|
9
|
-
* - **CallbackOnProcessInstanceCreated (1):** The Engine will resolve immediately after the ProcessInstance was started.
|
|
10
|
-
* - **CallbackOnProcessInstanceFinished (2):** The Engine will resolve after the first EndEvent was reached.
|
|
11
|
-
* - **CallbackOnEndEventReached (3):** The Engine will resolve after a specific EndEvent was reached.
|
|
12
6
|
* type: integer
|
|
13
7
|
* enum:
|
|
14
8
|
* - 1
|
|
15
9
|
* - 2
|
|
16
10
|
* - 3
|
|
17
|
-
|
|
18
11
|
*/
|
|
19
12
|
/**
|
|
20
13
|
* Determines when the Engine will resolve after a new ProcessInstance was started.
|
|
@@ -90,7 +83,11 @@ export declare type ProcessStartOptions<TToken extends Record<string, any>> = {
|
|
|
90
83
|
* - $ref: '#/components/schemas/StartCallbackType'
|
|
91
84
|
* - description: |
|
|
92
85
|
* Determines when the Engine will resolve, after a new request for starting a ProcessInstance was made.
|
|
93
|
-
* Note
|
|
86
|
+
* **Note**: If "CallbackOnEndEventReached" is selected, "endEventId" is no longer optional!
|
|
87
|
+
*
|
|
88
|
+
* - **CallbackOnProcessInstanceCreated (1):** The Engine will resolve immediately after the ProcessInstance was started.
|
|
89
|
+
* - **CallbackOnProcessInstanceFinished (2):** The Engine will resolve after the first EndEvent was reached.
|
|
90
|
+
* - **CallbackOnEndEventReached (3):** The Engine will resolve after a specific EndEvent was reached.
|
|
94
91
|
* endEventId:
|
|
95
92
|
* description: The ID of an EndEvent that should be awaited. Must be provided, of "returnOn" is set to "CallbackOnEndEventReached".
|
|
96
93
|
* type: string
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowNodeInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/FlowNodeInstance.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"FlowNodeInstance.js","sourceRoot":"","sources":["../../../../src/DataModels/FlowNodeInstance/FlowNodeInstance.ts"],"names":[],"mappings":";;;AA6KA;;;;;;;;;;;;;;GAcG;AACH,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;IACrB,kDAAyB,CAAA;IACzB,wCAAe,CAAA;IACf,8CAAqB,CAAA;AACvB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAOD,IAAY,+BAkBX;AAlBD,WAAY,+BAA+B;IACzC,4EAAyC,CAAA;IACzC,4DAAyB,CAAA;IACzB,gEAA6B,CAAA;IAC7B,gEAA6B,CAAA;IAC7B,gEAA6B,CAAA;IAC7B,0DAAuB,CAAA;IACvB,kDAAe,CAAA;IACf,4FAAyD,CAAA;IACzD,sFAAmD,CAAA;IACnD,8EAA2C,CAAA;IAC3C,oEAAiC,CAAA;IACjC,0EAAuC,CAAA;IACvC,kEAA+B,CAAA;IAC/B,sDAAmB,CAAA;IACnB,0DAAuB,CAAA;IACvB,4DAAyB,CAAA;IACzB,8FAA2D,CAAA;AAC7D,CAAC,EAlBW,+BAA+B,+CAA/B,+BAA+B,QAkB1C"}
|
|
@@ -6,18 +6,11 @@ exports.StartCallbackType = void 0;
|
|
|
6
6
|
* components:
|
|
7
7
|
* schemas:
|
|
8
8
|
* StartCallbackType:
|
|
9
|
-
* description: |
|
|
10
|
-
* The type of callback to use for a ProcessInstance start.
|
|
11
|
-
*
|
|
12
|
-
* - **CallbackOnProcessInstanceCreated (1):** The Engine will resolve immediately after the ProcessInstance was started.
|
|
13
|
-
* - **CallbackOnProcessInstanceFinished (2):** The Engine will resolve after the first EndEvent was reached.
|
|
14
|
-
* - **CallbackOnEndEventReached (3):** The Engine will resolve after a specific EndEvent was reached.
|
|
15
9
|
* type: integer
|
|
16
10
|
* enum:
|
|
17
11
|
* - 1
|
|
18
12
|
* - 2
|
|
19
13
|
* - 3
|
|
20
|
-
|
|
21
14
|
*/
|
|
22
15
|
/**
|
|
23
16
|
* Determines when the Engine will resolve after a new ProcessInstance was started.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProcessStartOptions.js","sourceRoot":"","sources":["../../../../src/DataModels/ProcessInstance/ProcessStartOptions.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"ProcessStartOptions.js","sourceRoot":"","sources":["../../../../src/DataModels/ProcessInstance/ProcessStartOptions.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;GAUG;AACH;;GAEG;AACH,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC3B;;OAEG;IACH,iHAAoC,CAAA;IACpC;;OAEG;IACH,mHAAqC,CAAA;IACrC;;OAEG;IACH,mGAA6B,CAAA;AAC/B,CAAC,EAbW,iBAAiB,iCAAjB,iBAAiB,QAa5B"}
|
package/package.json
CHANGED