@acorex/platform 20.7.4 → 20.7.5
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.7.
|
|
3
|
+
"version": "20.7.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
6
6
|
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
"types": "./core/index.d.ts",
|
|
36
36
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
37
37
|
},
|
|
38
|
+
"./auth": {
|
|
39
|
+
"types": "./auth/index.d.ts",
|
|
40
|
+
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
41
|
+
},
|
|
38
42
|
"./domain": {
|
|
39
43
|
"types": "./domain/index.d.ts",
|
|
40
44
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
@@ -43,10 +47,6 @@
|
|
|
43
47
|
"types": "./native/index.d.ts",
|
|
44
48
|
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
45
49
|
},
|
|
46
|
-
"./auth": {
|
|
47
|
-
"types": "./auth/index.d.ts",
|
|
48
|
-
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
49
|
-
},
|
|
50
50
|
"./runtime": {
|
|
51
51
|
"types": "./runtime/index.d.ts",
|
|
52
52
|
"default": "./fesm2022/acorex-platform-runtime.mjs"
|
package/workflow/index.d.ts
CHANGED
|
@@ -689,6 +689,14 @@ interface AXPWorkflowInstance {
|
|
|
689
689
|
* Finished at timestamp (ISO date-time, nullable).
|
|
690
690
|
*/
|
|
691
691
|
finishedAt?: string | null;
|
|
692
|
+
/**
|
|
693
|
+
* Entity reference ID (for linking workflow instances to business entities).
|
|
694
|
+
*/
|
|
695
|
+
entityRefId?: string | null;
|
|
696
|
+
/**
|
|
697
|
+
* Entity reference type (e.g., 'HumanCapitalManagement.LeaveRequest').
|
|
698
|
+
*/
|
|
699
|
+
entityRefType?: string | null;
|
|
692
700
|
}
|
|
693
701
|
|
|
694
702
|
/**
|
|
@@ -1038,7 +1046,16 @@ interface AXPStartWorkflowResponse {
|
|
|
1038
1046
|
* Client should execute this task based on executionMode.
|
|
1039
1047
|
*/
|
|
1040
1048
|
pendingTask?: AXPWorkflowTask | null;
|
|
1041
|
-
|
|
1049
|
+
/**
|
|
1050
|
+
* Activity outputs map (activityId -> output).
|
|
1051
|
+
* Returned for expression evaluation in subsequent activities.
|
|
1052
|
+
*/
|
|
1053
|
+
activityOutputs?: Record<string, any>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Last activity output (convenience).
|
|
1056
|
+
* Prefer using `activityOutputs[activityId]` when possible.
|
|
1057
|
+
*/
|
|
1058
|
+
lastActivityOutput?: any;
|
|
1042
1059
|
}
|
|
1043
1060
|
/**
|
|
1044
1061
|
* Request to resume a suspended workflow.
|
|
@@ -1120,6 +1137,16 @@ interface AXPWorkflowInstanceState {
|
|
|
1120
1137
|
* Workflow variables (state).
|
|
1121
1138
|
*/
|
|
1122
1139
|
variables: Record<string, any>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Activity outputs map (activityId -> output).
|
|
1142
|
+
* Used by expression evaluation scope as `outputs.activityId`.
|
|
1143
|
+
*/
|
|
1144
|
+
activityOutputs?: Record<string, any>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Last activity output (convenience).
|
|
1147
|
+
* Useful when the next activity needs a quick access to the previous result.
|
|
1148
|
+
*/
|
|
1149
|
+
lastActivityOutput?: any;
|
|
1123
1150
|
/**
|
|
1124
1151
|
* Initial input data.
|
|
1125
1152
|
*/
|