@coding-flow/flow-types 0.0.31 → 0.0.32

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.
@@ -126,10 +126,13 @@ export interface FlowApprovalOperator {
126
126
  * 流程节点对象
127
127
  */
128
128
  export interface ProcessNode {
129
+ id: string;
129
130
  nodeId: string;
130
131
  nodeName: string;
131
132
  nodeType: string;
132
- state: number;
133
+ approveStrategy: 'SEQUENCE' | 'MERGE' | 'ANY' | 'RANDOM_ONE';
134
+ approveState: 'PASS' | 'PROCESSING' | 'PENDING' | 'ERROR';
135
+ operatorStrategy: 'OPERATOR_LIST' | 'INITIATOR_SELECT' | 'APPROVER_SELECT';
133
136
  operators: FlowApprovalOperator[];
134
137
  }
135
138
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coding-flow/flow-types",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "flow-engine types",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "react-dom": ">=18"
33
33
  },
34
34
  "dependencies": {
35
- "@coding-flow/flow-core": "0.0.31"
35
+ "@coding-flow/flow-core": "0.0.32"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "rslib build",