@freelog/tools-lib 0.1.61 → 0.1.62
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/dist/service-API/informalNodes.d.ts +6 -0
- package/dist/tools-lib.cjs.development.js +15 -2
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +15 -2
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/service-API/informalNodes.ts +16 -0
package/dist/tools-lib.esm.js
CHANGED
|
@@ -2437,7 +2437,8 @@ var _excluded$5 = ["nodeId"],
|
|
|
2437
2437
|
_excluded6$2 = ["testResourceId"],
|
|
2438
2438
|
_excluded7$2 = ["testResourceId"],
|
|
2439
2439
|
_excluded8$2 = ["nodeId"],
|
|
2440
|
-
_excluded9$2 = ["nodeId"]
|
|
2440
|
+
_excluded9$2 = ["nodeId"],
|
|
2441
|
+
_excluded10$2 = ["nodeId"];
|
|
2441
2442
|
function testResources(_ref) {
|
|
2442
2443
|
var nodeId = _ref.nodeId,
|
|
2443
2444
|
params = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
@@ -2566,6 +2567,17 @@ function rulesRematch(_ref13) {
|
|
|
2566
2567
|
data: params
|
|
2567
2568
|
});
|
|
2568
2569
|
}
|
|
2570
|
+
function batchGetAuths(_ref14) {
|
|
2571
|
+
var nodeId = _ref14.nodeId,
|
|
2572
|
+
params = _objectWithoutPropertiesLoose(_ref14, _excluded10$2);
|
|
2573
|
+
|
|
2574
|
+
// return FUtil.Axios.post(`/v2/testNodes/${nodeId}/rules/rematch`, params);
|
|
2575
|
+
return FUtil.Request({
|
|
2576
|
+
method: 'GET',
|
|
2577
|
+
url: "/v2/auths/testResources/nodes/" + nodeId + "/result",
|
|
2578
|
+
params: params
|
|
2579
|
+
});
|
|
2580
|
+
}
|
|
2569
2581
|
|
|
2570
2582
|
var InformalNode = {
|
|
2571
2583
|
__proto__: null,
|
|
@@ -2581,7 +2593,8 @@ var InformalNode = {
|
|
|
2581
2593
|
testResourcesAuthTree: testResourcesAuthTree,
|
|
2582
2594
|
testResourceDetails: testResourceDetails,
|
|
2583
2595
|
searchTestResourcesByDependency: searchTestResourcesByDependency,
|
|
2584
|
-
rulesRematch: rulesRematch
|
|
2596
|
+
rulesRematch: rulesRematch,
|
|
2597
|
+
batchGetAuths: batchGetAuths
|
|
2585
2598
|
};
|
|
2586
2599
|
|
|
2587
2600
|
var _excluded$6 = ["contractId"],
|