@coding-flow/flow-types 0.0.34 → 0.0.37

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.
@@ -142,7 +142,7 @@ export interface ProcessNode {
142
142
  nodeType: string;
143
143
  approveStrategy: 'SEQUENCE' | 'MERGE' | 'ANY' | 'RANDOM_ONE';
144
144
  approveState: 'PASS' | 'PROCESSING' | 'PENDING' | 'ERROR';
145
- operatorStrategy: 'OPERATOR_LIST' | 'INITIATOR_SELECT' | 'APPROVER_SELECT';
145
+ operatorStrategy: 'OPERATOR_LIST' | 'INITIATOR_SELECT' | 'APPROVER_SELECT' | 'NO_OPERATOR';
146
146
  operators: FlowApprovalOperator[];
147
147
  }
148
148
  /**
@@ -153,6 +153,7 @@ export interface NodeOption {
153
153
  name: string;
154
154
  type: string;
155
155
  display: boolean;
156
+ operators?: ProcessNodeOperator[];
156
157
  }
157
158
  /**
158
159
  * 流程审批内容对象
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coding-flow/flow-types",
3
- "version": "0.0.34",
3
+ "version": "0.0.37",
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.34"
35
+ "@coding-flow/flow-core": "0.0.37"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "rslib build",