@freelog/tools-lib 0.1.67 → 0.1.68

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.
@@ -2439,7 +2439,8 @@ var _excluded$5 = ["nodeId"],
2439
2439
  _excluded7$2 = ["testResourceId"],
2440
2440
  _excluded8$2 = ["nodeId"],
2441
2441
  _excluded9$2 = ["nodeId"],
2442
- _excluded10$2 = ["nodeId"];
2442
+ _excluded10$2 = ["nodeId"],
2443
+ _excluded11$1 = ["nodeId"];
2443
2444
  function testResources(_ref) {
2444
2445
  var nodeId = _ref.nodeId,
2445
2446
  params = _objectWithoutPropertiesLoose(_ref, _excluded$5);
@@ -2561,21 +2562,28 @@ function rulesRematch(_ref13) {
2561
2562
  var nodeId = _ref13.nodeId,
2562
2563
  params = _objectWithoutPropertiesLoose(_ref13, _excluded9$2);
2563
2564
 
2564
- // return FUtil.Axios.post(`/v2/testNodes/${nodeId}/rules/rematch`, params);
2565
2565
  return FUtil.Request({
2566
2566
  method: 'POST',
2567
2567
  url: "/v2/testNodes/" + nodeId + "/rules/rematch",
2568
2568
  data: params
2569
2569
  });
2570
2570
  }
2571
- function batchGetAuths(_ref14) {
2571
+ function rulesPreExecution(_ref14) {
2572
2572
  var nodeId = _ref14.nodeId,
2573
2573
  params = _objectWithoutPropertiesLoose(_ref14, _excluded10$2);
2574
2574
 
2575
- // return FUtil.Axios.post(`/v2/testNodes/${nodeId}/rules/rematch`, params);
2575
+ return FUtil.Request({
2576
+ method: 'PUT',
2577
+ url: "/v2/testNodes/" + nodeId + "/rules/preExecution",
2578
+ data: params
2579
+ });
2580
+ }
2581
+ function batchGetAuths(_ref15) {
2582
+ var nodeId = _ref15.nodeId,
2583
+ params = _objectWithoutPropertiesLoose(_ref15, _excluded11$1);
2584
+
2576
2585
  return FUtil.Request({
2577
2586
  method: 'GET',
2578
- // url: `/v2/auths/testResources/nodes/${nodeId}/result`,
2579
2587
  url: "/v2/auths/exhibits/" + nodeId + "/test/batchAuth/results",
2580
2588
  params: params
2581
2589
  });
@@ -2596,6 +2604,7 @@ var InformalNode = {
2596
2604
  testResourceDetails: testResourceDetails,
2597
2605
  searchTestResourcesByDependency: searchTestResourcesByDependency,
2598
2606
  rulesRematch: rulesRematch,
2607
+ rulesPreExecution: rulesPreExecution,
2599
2608
  batchGetAuths: batchGetAuths
2600
2609
  };
2601
2610