@freelog/tools-lib 0.1.109 → 0.1.110

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.
@@ -13,7 +13,7 @@ import * as Activity from './activities';
13
13
  import * as TestQualification from './testQualifications';
14
14
  import * as Statistic from './statistics';
15
15
  import * as I18n from './i18n';
16
- import * as combination from './combinations';
16
+ import * as recombination from './recombinations';
17
17
  declare const FServiceAPI: {
18
18
  Node: typeof Node;
19
19
  Exhibit: typeof Exhibit;
@@ -30,6 +30,6 @@ declare const FServiceAPI: {
30
30
  TestQualification: typeof TestQualification;
31
31
  Statistic: typeof Statistic;
32
32
  I18n: typeof I18n;
33
- combination: typeof combination;
33
+ recombination: typeof recombination;
34
34
  };
35
35
  export default FServiceAPI;
@@ -1026,7 +1026,8 @@ var Regexp = {
1026
1026
  };
1027
1027
 
1028
1028
  var _excluded = ["resourceID"],
1029
- _excluded2 = ["nodeID", "showPage"];
1029
+ _excluded2 = ["nodeID", "showPage"],
1030
+ _excluded3 = ["nodeID", "showPage"];
1030
1031
  function home(_temp) {
1031
1032
  var _ref = _temp === void 0 ? {} : _temp;
1032
1033
 
@@ -1053,11 +1054,12 @@ function dashboard(_temp3) {
1053
1054
  return "/dashboard";
1054
1055
  }
1055
1056
  function market(_temp4) {
1056
- var _ref5 = _temp4 === void 0 ? {} : _temp4;
1057
+ var _ref5 = _temp4 === void 0 ? {} : _temp4,
1058
+ query = _ref5.query;
1057
1059
 
1058
- _objectDestructuringEmpty(_ref5);
1059
-
1060
- return "/market";
1060
+ return "/market" + handleQuery({
1061
+ query: query
1062
+ });
1061
1063
  }
1062
1064
  function exampleNodes(_temp5) {
1063
1065
  var _ref6 = _temp5 === void 0 ? {} : _temp5;
@@ -1118,8 +1120,14 @@ function nodeCreator(_temp9) {
1118
1120
  return "/node/creator";
1119
1121
  }
1120
1122
  function nodeManagement(_ref16) {
1121
- var nodeID = _ref16.nodeID;
1122
- return "/node/formal/" + nodeID;
1123
+ var nodeID = _ref16.nodeID,
1124
+ _ref16$showPage = _ref16.showPage,
1125
+ showPage = _ref16$showPage === void 0 ? 'exhibit' : _ref16$showPage,
1126
+ params = _objectWithoutPropertiesLoose(_ref16, _excluded2);
1127
+
1128
+ return "/node/formal/" + nodeID + handleQuery(_extends({
1129
+ showPage: showPage
1130
+ }, params));
1123
1131
  }
1124
1132
  function exhibitManagement(_ref17) {
1125
1133
  var exhibitID = _ref17.exhibitID;
@@ -1129,7 +1137,7 @@ function informNodeManagement(_ref18) {
1129
1137
  var nodeID = _ref18.nodeID,
1130
1138
  _ref18$showPage = _ref18.showPage,
1131
1139
  showPage = _ref18$showPage === void 0 ? 'exhibit' : _ref18$showPage,
1132
- params = _objectWithoutPropertiesLoose(_ref18, _excluded2);
1140
+ params = _objectWithoutPropertiesLoose(_ref18, _excluded3);
1133
1141
 
1134
1142
  return "/node/informal/" + nodeID + handleQuery(_extends({
1135
1143
  showPage: showPage
@@ -1392,7 +1400,7 @@ var Node = {
1392
1400
 
1393
1401
  var _excluded$1 = ["presentableId"],
1394
1402
  _excluded2$1 = ["presentableId"],
1395
- _excluded3 = ["presentableId"],
1403
+ _excluded3$1 = ["presentableId"],
1396
1404
  _excluded4 = ["presentableId"],
1397
1405
  _excluded5 = ["presentableId"],
1398
1406
  _excluded6 = ["presentableId"],
@@ -1443,7 +1451,7 @@ function presentableDetails(params) {
1443
1451
  }
1444
1452
 
1445
1453
  var presentableId = params.presentableId,
1446
- p = _objectWithoutPropertiesLoose(params, _excluded3); // return FUtil.Axios.get(`/v2/presentables/${presentableId}`, {
1454
+ p = _objectWithoutPropertiesLoose(params, _excluded3$1); // return FUtil.Axios.get(`/v2/presentables/${presentableId}`, {
1447
1455
  // params: p,
1448
1456
  // });
1449
1457
 
@@ -1569,7 +1577,7 @@ var Exhibit = {
1569
1577
 
1570
1578
  var _excluded$2 = ["bucketName"],
1571
1579
  _excluded2$2 = ["bucketName"],
1572
- _excluded3$1 = ["objectIdOrName"],
1580
+ _excluded3$2 = ["objectIdOrName"],
1573
1581
  _excluded4$1 = ["sha1"],
1574
1582
  _excluded5$1 = ["objectIdOrName"];
1575
1583
  function createBucket(params) {
@@ -1739,7 +1747,7 @@ function uploadImage(params, config) {
1739
1747
  }
1740
1748
  function updateObject(_ref5) {
1741
1749
  var objectIdOrName = _ref5.objectIdOrName,
1742
- params = _objectWithoutPropertiesLoose(_ref5, _excluded3$1);
1750
+ params = _objectWithoutPropertiesLoose(_ref5, _excluded3$2);
1743
1751
 
1744
1752
  return FUtil.Request({
1745
1753
  method: 'PUT',
@@ -1874,7 +1882,7 @@ var Collection = {
1874
1882
 
1875
1883
  var _excluded$3 = ["resourceIdOrName"],
1876
1884
  _excluded2$3 = ["resourceId"],
1877
- _excluded3$2 = ["resourceId"],
1885
+ _excluded3$3 = ["resourceId"],
1878
1886
  _excluded4$2 = ["resourceId"],
1879
1887
  _excluded5$2 = ["resourceId", "version"],
1880
1888
  _excluded6$1 = ["fileSha1"],
@@ -1934,7 +1942,7 @@ function dependencyTree$1(_ref2) {
1934
1942
  }
1935
1943
  function authTree$1(_ref3) {
1936
1944
  var resourceId = _ref3.resourceId,
1937
- params = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
1945
+ params = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
1938
1946
 
1939
1947
  return FUtil.Request({
1940
1948
  method: 'GET',
@@ -2288,7 +2296,7 @@ var User = {
2288
2296
 
2289
2297
  var _excluded$5 = ["nodeId"],
2290
2298
  _excluded2$4 = ["nodeId"],
2291
- _excluded3$3 = ["nodeId"],
2299
+ _excluded3$4 = ["nodeId"],
2292
2300
  _excluded4$3 = ["nodeId"],
2293
2301
  _excluded5$3 = ["nodeId"],
2294
2302
  _excluded6$2 = ["testResourceId"],
@@ -2319,7 +2327,7 @@ function createRules(_ref2) {
2319
2327
  }
2320
2328
  function batchTestResources(_ref3) {
2321
2329
  var nodeId = _ref3.nodeId,
2322
- params = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
2330
+ params = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
2323
2331
 
2324
2332
  return FUtil.Request({
2325
2333
  method: 'GET',
@@ -2947,7 +2955,7 @@ function _getFilesSha1Info() {
2947
2955
  return _getFilesSha1Info.apply(this, arguments);
2948
2956
  }
2949
2957
 
2950
- var combination = {
2958
+ var recombination = {
2951
2959
  __proto__: null,
2952
2960
  getFilesSha1Info: getFilesSha1Info
2953
2961
  };
@@ -2968,7 +2976,7 @@ var FServiceAPI = {
2968
2976
  TestQualification: TestQualification,
2969
2977
  Statistic: Statistic,
2970
2978
  I18n: I18n,
2971
- combination: combination
2979
+ recombination: recombination
2972
2980
  };
2973
2981
 
2974
2982
  var codeMessage = {