@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.
- package/dist/service-API/index.d.ts +2 -2
- package/dist/service-API/{combinations → recombinations}/index.d.ts +0 -0
- package/dist/tools-lib.cjs.development.js +26 -18
- 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 +26 -18
- package/dist/tools-lib.esm.js.map +1 -1
- package/dist/utils/linkTo.d.ts +4 -2
- package/package.json +1 -1
- package/src/service-API/index.ts +2 -2
- package/src/service-API/{combinations → recombinations}/.gitkeep +0 -0
- package/src/service-API/{combinations → recombinations}/index.ts +0 -0
- package/src/service-API/user.ts +1 -1
- package/src/utils/linkTo.ts +349 -344
package/dist/tools-lib.esm.js
CHANGED
|
@@ -1020,7 +1020,8 @@ var Regexp = {
|
|
|
1020
1020
|
};
|
|
1021
1021
|
|
|
1022
1022
|
var _excluded = ["resourceID"],
|
|
1023
|
-
_excluded2 = ["nodeID", "showPage"]
|
|
1023
|
+
_excluded2 = ["nodeID", "showPage"],
|
|
1024
|
+
_excluded3 = ["nodeID", "showPage"];
|
|
1024
1025
|
function home(_temp) {
|
|
1025
1026
|
var _ref = _temp === void 0 ? {} : _temp;
|
|
1026
1027
|
|
|
@@ -1047,11 +1048,12 @@ function dashboard(_temp3) {
|
|
|
1047
1048
|
return "/dashboard";
|
|
1048
1049
|
}
|
|
1049
1050
|
function market(_temp4) {
|
|
1050
|
-
var _ref5 = _temp4 === void 0 ? {} : _temp4
|
|
1051
|
+
var _ref5 = _temp4 === void 0 ? {} : _temp4,
|
|
1052
|
+
query = _ref5.query;
|
|
1051
1053
|
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1054
|
+
return "/market" + handleQuery({
|
|
1055
|
+
query: query
|
|
1056
|
+
});
|
|
1055
1057
|
}
|
|
1056
1058
|
function exampleNodes(_temp5) {
|
|
1057
1059
|
var _ref6 = _temp5 === void 0 ? {} : _temp5;
|
|
@@ -1112,8 +1114,14 @@ function nodeCreator(_temp9) {
|
|
|
1112
1114
|
return "/node/creator";
|
|
1113
1115
|
}
|
|
1114
1116
|
function nodeManagement(_ref16) {
|
|
1115
|
-
var nodeID = _ref16.nodeID
|
|
1116
|
-
|
|
1117
|
+
var nodeID = _ref16.nodeID,
|
|
1118
|
+
_ref16$showPage = _ref16.showPage,
|
|
1119
|
+
showPage = _ref16$showPage === void 0 ? 'exhibit' : _ref16$showPage,
|
|
1120
|
+
params = _objectWithoutPropertiesLoose(_ref16, _excluded2);
|
|
1121
|
+
|
|
1122
|
+
return "/node/formal/" + nodeID + handleQuery(_extends({
|
|
1123
|
+
showPage: showPage
|
|
1124
|
+
}, params));
|
|
1117
1125
|
}
|
|
1118
1126
|
function exhibitManagement(_ref17) {
|
|
1119
1127
|
var exhibitID = _ref17.exhibitID;
|
|
@@ -1123,7 +1131,7 @@ function informNodeManagement(_ref18) {
|
|
|
1123
1131
|
var nodeID = _ref18.nodeID,
|
|
1124
1132
|
_ref18$showPage = _ref18.showPage,
|
|
1125
1133
|
showPage = _ref18$showPage === void 0 ? 'exhibit' : _ref18$showPage,
|
|
1126
|
-
params = _objectWithoutPropertiesLoose(_ref18,
|
|
1134
|
+
params = _objectWithoutPropertiesLoose(_ref18, _excluded3);
|
|
1127
1135
|
|
|
1128
1136
|
return "/node/informal/" + nodeID + handleQuery(_extends({
|
|
1129
1137
|
showPage: showPage
|
|
@@ -1386,7 +1394,7 @@ var Node = {
|
|
|
1386
1394
|
|
|
1387
1395
|
var _excluded$1 = ["presentableId"],
|
|
1388
1396
|
_excluded2$1 = ["presentableId"],
|
|
1389
|
-
_excluded3 = ["presentableId"],
|
|
1397
|
+
_excluded3$1 = ["presentableId"],
|
|
1390
1398
|
_excluded4 = ["presentableId"],
|
|
1391
1399
|
_excluded5 = ["presentableId"],
|
|
1392
1400
|
_excluded6 = ["presentableId"],
|
|
@@ -1437,7 +1445,7 @@ function presentableDetails(params) {
|
|
|
1437
1445
|
}
|
|
1438
1446
|
|
|
1439
1447
|
var presentableId = params.presentableId,
|
|
1440
|
-
p = _objectWithoutPropertiesLoose(params, _excluded3); // return FUtil.Axios.get(`/v2/presentables/${presentableId}`, {
|
|
1448
|
+
p = _objectWithoutPropertiesLoose(params, _excluded3$1); // return FUtil.Axios.get(`/v2/presentables/${presentableId}`, {
|
|
1441
1449
|
// params: p,
|
|
1442
1450
|
// });
|
|
1443
1451
|
|
|
@@ -1563,7 +1571,7 @@ var Exhibit = {
|
|
|
1563
1571
|
|
|
1564
1572
|
var _excluded$2 = ["bucketName"],
|
|
1565
1573
|
_excluded2$2 = ["bucketName"],
|
|
1566
|
-
_excluded3$
|
|
1574
|
+
_excluded3$2 = ["objectIdOrName"],
|
|
1567
1575
|
_excluded4$1 = ["sha1"],
|
|
1568
1576
|
_excluded5$1 = ["objectIdOrName"];
|
|
1569
1577
|
function createBucket(params) {
|
|
@@ -1733,7 +1741,7 @@ function uploadImage(params, config) {
|
|
|
1733
1741
|
}
|
|
1734
1742
|
function updateObject(_ref5) {
|
|
1735
1743
|
var objectIdOrName = _ref5.objectIdOrName,
|
|
1736
|
-
params = _objectWithoutPropertiesLoose(_ref5, _excluded3$
|
|
1744
|
+
params = _objectWithoutPropertiesLoose(_ref5, _excluded3$2);
|
|
1737
1745
|
|
|
1738
1746
|
return FUtil.Request({
|
|
1739
1747
|
method: 'PUT',
|
|
@@ -1868,7 +1876,7 @@ var Collection = {
|
|
|
1868
1876
|
|
|
1869
1877
|
var _excluded$3 = ["resourceIdOrName"],
|
|
1870
1878
|
_excluded2$3 = ["resourceId"],
|
|
1871
|
-
_excluded3$
|
|
1879
|
+
_excluded3$3 = ["resourceId"],
|
|
1872
1880
|
_excluded4$2 = ["resourceId"],
|
|
1873
1881
|
_excluded5$2 = ["resourceId", "version"],
|
|
1874
1882
|
_excluded6$1 = ["fileSha1"],
|
|
@@ -1928,7 +1936,7 @@ function dependencyTree$1(_ref2) {
|
|
|
1928
1936
|
}
|
|
1929
1937
|
function authTree$1(_ref3) {
|
|
1930
1938
|
var resourceId = _ref3.resourceId,
|
|
1931
|
-
params = _objectWithoutPropertiesLoose(_ref3, _excluded3$
|
|
1939
|
+
params = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
|
|
1932
1940
|
|
|
1933
1941
|
return FUtil.Request({
|
|
1934
1942
|
method: 'GET',
|
|
@@ -2282,7 +2290,7 @@ var User = {
|
|
|
2282
2290
|
|
|
2283
2291
|
var _excluded$5 = ["nodeId"],
|
|
2284
2292
|
_excluded2$4 = ["nodeId"],
|
|
2285
|
-
_excluded3$
|
|
2293
|
+
_excluded3$4 = ["nodeId"],
|
|
2286
2294
|
_excluded4$3 = ["nodeId"],
|
|
2287
2295
|
_excluded5$3 = ["nodeId"],
|
|
2288
2296
|
_excluded6$2 = ["testResourceId"],
|
|
@@ -2313,7 +2321,7 @@ function createRules(_ref2) {
|
|
|
2313
2321
|
}
|
|
2314
2322
|
function batchTestResources(_ref3) {
|
|
2315
2323
|
var nodeId = _ref3.nodeId,
|
|
2316
|
-
params = _objectWithoutPropertiesLoose(_ref3, _excluded3$
|
|
2324
|
+
params = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
|
|
2317
2325
|
|
|
2318
2326
|
return FUtil.Request({
|
|
2319
2327
|
method: 'GET',
|
|
@@ -2941,7 +2949,7 @@ function _getFilesSha1Info() {
|
|
|
2941
2949
|
return _getFilesSha1Info.apply(this, arguments);
|
|
2942
2950
|
}
|
|
2943
2951
|
|
|
2944
|
-
var
|
|
2952
|
+
var recombination = {
|
|
2945
2953
|
__proto__: null,
|
|
2946
2954
|
getFilesSha1Info: getFilesSha1Info
|
|
2947
2955
|
};
|
|
@@ -2962,7 +2970,7 @@ var FServiceAPI = {
|
|
|
2962
2970
|
TestQualification: TestQualification,
|
|
2963
2971
|
Statistic: Statistic,
|
|
2964
2972
|
I18n: I18n,
|
|
2965
|
-
|
|
2973
|
+
recombination: recombination
|
|
2966
2974
|
};
|
|
2967
2975
|
|
|
2968
2976
|
var codeMessage = {
|