@freelog/tools-lib 0.1.143 → 0.1.144
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/tools-lib.cjs.development.js +14 -12
- 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 +14 -12
- package/dist/tools-lib.esm.js.map +1 -1
- package/dist/utils/linkTo.d.ts +2 -1
- package/package.json +1 -1
- package/src/utils/linkTo.ts +401 -399
|
@@ -600,7 +600,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
600
600
|
|
|
601
601
|
var _excluded = ["resourceID"],
|
|
602
602
|
_excluded2 = ["nodeID", "showPage"],
|
|
603
|
-
_excluded3 = ["nodeID", "showPage"]
|
|
603
|
+
_excluded3 = ["nodeID", "showPage"],
|
|
604
|
+
_excluded4 = ["goTo"];
|
|
604
605
|
function home(_temp) {
|
|
605
606
|
var _ref = _temp === void 0 ? {} : _temp;
|
|
606
607
|
|
|
@@ -786,11 +787,12 @@ function login(_temp13) {
|
|
|
786
787
|
}
|
|
787
788
|
function logon(_temp14) {
|
|
788
789
|
var _ref30 = _temp14 === void 0 ? {} : _temp14,
|
|
789
|
-
goTo = _ref30.goTo
|
|
790
|
+
goTo = _ref30.goTo,
|
|
791
|
+
params = _objectWithoutPropertiesLoose(_ref30, _excluded4);
|
|
790
792
|
|
|
791
|
-
return "/logon" + handleQuery({
|
|
793
|
+
return "/logon" + handleQuery(_extends({
|
|
792
794
|
goTo: goTo ? encodeURIComponent(goTo) : undefined
|
|
793
|
-
});
|
|
795
|
+
}, params));
|
|
794
796
|
}
|
|
795
797
|
function retrieveUserPassword(_temp15) {
|
|
796
798
|
var _ref31 = _temp15 === void 0 ? {} : _temp15,
|
|
@@ -1014,7 +1016,7 @@ var Node = {
|
|
|
1014
1016
|
var _excluded$1 = ["presentableId"],
|
|
1015
1017
|
_excluded2$1 = ["presentableId"],
|
|
1016
1018
|
_excluded3$1 = ["presentableId"],
|
|
1017
|
-
_excluded4 = ["presentableId"],
|
|
1019
|
+
_excluded4$1 = ["presentableId"],
|
|
1018
1020
|
_excluded5 = ["presentableId"],
|
|
1019
1021
|
_excluded6 = ["presentableId"],
|
|
1020
1022
|
_excluded7 = ["presentableId"],
|
|
@@ -1091,7 +1093,7 @@ function presentableList(params) {
|
|
|
1091
1093
|
}
|
|
1092
1094
|
function dependencyTree(_ref3) {
|
|
1093
1095
|
var presentableId = _ref3.presentableId,
|
|
1094
|
-
params = _objectWithoutPropertiesLoose(_ref3, _excluded4);
|
|
1096
|
+
params = _objectWithoutPropertiesLoose(_ref3, _excluded4$1);
|
|
1095
1097
|
|
|
1096
1098
|
// return FUtil.Axios.get(`/v2/presentables/${presentableId}/dependencyTree`, {params});
|
|
1097
1099
|
return FUtil.Request({
|
|
@@ -1191,7 +1193,7 @@ var Exhibit = {
|
|
|
1191
1193
|
var _excluded$2 = ["bucketName"],
|
|
1192
1194
|
_excluded2$2 = ["bucketName"],
|
|
1193
1195
|
_excluded3$2 = ["objectIdOrName"],
|
|
1194
|
-
_excluded4$
|
|
1196
|
+
_excluded4$2 = ["sha1"],
|
|
1195
1197
|
_excluded5$1 = ["objectIdOrName"];
|
|
1196
1198
|
function createBucket(params) {
|
|
1197
1199
|
return FUtil.Request({
|
|
@@ -1377,7 +1379,7 @@ function batchObjectList(params) {
|
|
|
1377
1379
|
}
|
|
1378
1380
|
function fileProperty(_ref6) {
|
|
1379
1381
|
var sha1 = _ref6.sha1,
|
|
1380
|
-
params = _objectWithoutPropertiesLoose(_ref6, _excluded4$
|
|
1382
|
+
params = _objectWithoutPropertiesLoose(_ref6, _excluded4$2);
|
|
1381
1383
|
|
|
1382
1384
|
return FUtil.Request({
|
|
1383
1385
|
method: 'GET',
|
|
@@ -1496,7 +1498,7 @@ var Collection = {
|
|
|
1496
1498
|
var _excluded$3 = ["resourceIdOrName"],
|
|
1497
1499
|
_excluded2$3 = ["resourceId"],
|
|
1498
1500
|
_excluded3$3 = ["resourceId"],
|
|
1499
|
-
_excluded4$
|
|
1501
|
+
_excluded4$3 = ["resourceId"],
|
|
1500
1502
|
_excluded5$2 = ["resourceId", "version"],
|
|
1501
1503
|
_excluded6$1 = ["fileSha1"],
|
|
1502
1504
|
_excluded7$1 = ["fileSha1"],
|
|
@@ -1568,7 +1570,7 @@ function authTree$1(_ref3) {
|
|
|
1568
1570
|
}
|
|
1569
1571
|
function createVersion(_ref4) {
|
|
1570
1572
|
var resourceId = _ref4.resourceId,
|
|
1571
|
-
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$
|
|
1573
|
+
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
|
|
1572
1574
|
|
|
1573
1575
|
// return FUtil.Axios.post(`/v2/resources/${resourceId}/versions`, params);
|
|
1574
1576
|
return FUtil.Request({
|
|
@@ -1991,7 +1993,7 @@ var User = {
|
|
|
1991
1993
|
var _excluded$5 = ["nodeId"],
|
|
1992
1994
|
_excluded2$4 = ["nodeId"],
|
|
1993
1995
|
_excluded3$4 = ["nodeId"],
|
|
1994
|
-
_excluded4$
|
|
1996
|
+
_excluded4$4 = ["nodeId"],
|
|
1995
1997
|
_excluded5$3 = ["nodeId"],
|
|
1996
1998
|
_excluded6$2 = ["testResourceId"],
|
|
1997
1999
|
_excluded7$2 = ["testResourceId"],
|
|
@@ -2031,7 +2033,7 @@ function batchTestResources(_ref3) {
|
|
|
2031
2033
|
}
|
|
2032
2034
|
function dependencyTree$2(_ref4) {
|
|
2033
2035
|
var nodeId = _ref4.nodeId,
|
|
2034
|
-
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$
|
|
2036
|
+
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
|
|
2035
2037
|
|
|
2036
2038
|
return FUtil.Request({
|
|
2037
2039
|
method: 'GET',
|