@ningboyz/apis 1.6.75 → 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/node.ts +6 -0
- package/packages/flow/types.ts +8 -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/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;
|
package/packages/flow/types.ts
CHANGED
|
@@ -267,3 +267,11 @@ export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeleted
|
|
|
267
267
|
export interface IFlowFlowRedoflowQuerys {}
|
|
268
268
|
|
|
269
269
|
export class TFlowFlowRedoflowQuerys implements IFlowFlowRedoflowQuerys {}
|
|
270
|
+
|
|
271
|
+
export interface IFlowFlowStarToneQuerys {
|
|
272
|
+
flowmain: number;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export class TFlowFlowStarToneQuerys implements IFlowFlowStarToneQuerys {
|
|
276
|
+
flowmain: number = -1;
|
|
277
|
+
}
|