@ningboyz/apis 1.6.76 → 1.6.77
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 +2 -2
- package/packages/flow/flow.ts +1 -7
- package/packages/flow/node.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.77",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "宁波甬政请求库",
|
|
6
6
|
"author": "nbyt-syq",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"registry": "https://registry.npmjs.org/"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ningboyz/types": "1.6.
|
|
20
|
+
"@ningboyz/types": "1.6.77",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/flow/flow.ts
CHANGED
|
@@ -10,8 +10,7 @@ import {
|
|
|
10
10
|
IFlowFlowUserMemoDeletedbQuerys,
|
|
11
11
|
IFlowFlowUserMemoInsertdbQuerys,
|
|
12
12
|
IFlowFlowUserMemoSelectdbQuerys,
|
|
13
|
-
TFlowUserNotiUpdatedbQuerys
|
|
14
|
-
IFlowFlowStarToneQuerys
|
|
13
|
+
TFlowUserNotiUpdatedbQuerys
|
|
15
14
|
} from "./types";
|
|
16
15
|
|
|
17
16
|
class FlowRequest {
|
|
@@ -160,11 +159,6 @@ class FlowRequest {
|
|
|
160
159
|
redoflow(querys: IFlowFlowRedoflowQuerys, params: object) {
|
|
161
160
|
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/redoflow", querys, params);
|
|
162
161
|
}
|
|
163
|
-
|
|
164
|
-
/**获取首岗节点 */
|
|
165
|
-
startone(querys: IFlowFlowStarToneQuerys, params: object) {
|
|
166
|
-
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/startone", querys, params);
|
|
167
|
-
}
|
|
168
162
|
}
|
|
169
163
|
|
|
170
164
|
export default FlowRequest;
|
package/packages/flow/node.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TFlow } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
+
IFlowFlowStarToneQuerys,
|
|
4
5
|
IFlowNodeCopythisQuerys,
|
|
5
6
|
IFlowNodeDeletedbQuerys,
|
|
6
7
|
IFlowNodeDetaildbQuerys,
|
|
@@ -93,6 +94,11 @@ class NodeRequest {
|
|
|
93
94
|
selectd2(querys: IFlowNodeSelectdb2Querys) {
|
|
94
95
|
return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/selectd2", querys, undefined);
|
|
95
96
|
}
|
|
97
|
+
|
|
98
|
+
/**获取首岗节点 */
|
|
99
|
+
startone(querys: IFlowFlowStarToneQuerys, params: object) {
|
|
100
|
+
return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tflow/startone", querys, params);
|
|
101
|
+
}
|
|
96
102
|
}
|
|
97
103
|
|
|
98
104
|
export default NodeRequest;
|