@freelog/tools-lib 0.1.142 → 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/service-API/resources.d.ts +1 -1
- 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/service-API/resources.ts +1 -1
- package/src/utils/linkTo.ts +401 -399
package/dist/tools-lib.esm.js
CHANGED
|
@@ -594,7 +594,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
594
594
|
|
|
595
595
|
var _excluded = ["resourceID"],
|
|
596
596
|
_excluded2 = ["nodeID", "showPage"],
|
|
597
|
-
_excluded3 = ["nodeID", "showPage"]
|
|
597
|
+
_excluded3 = ["nodeID", "showPage"],
|
|
598
|
+
_excluded4 = ["goTo"];
|
|
598
599
|
function home(_temp) {
|
|
599
600
|
var _ref = _temp === void 0 ? {} : _temp;
|
|
600
601
|
|
|
@@ -780,11 +781,12 @@ function login(_temp13) {
|
|
|
780
781
|
}
|
|
781
782
|
function logon(_temp14) {
|
|
782
783
|
var _ref30 = _temp14 === void 0 ? {} : _temp14,
|
|
783
|
-
goTo = _ref30.goTo
|
|
784
|
+
goTo = _ref30.goTo,
|
|
785
|
+
params = _objectWithoutPropertiesLoose(_ref30, _excluded4);
|
|
784
786
|
|
|
785
|
-
return "/logon" + handleQuery({
|
|
787
|
+
return "/logon" + handleQuery(_extends({
|
|
786
788
|
goTo: goTo ? encodeURIComponent(goTo) : undefined
|
|
787
|
-
});
|
|
789
|
+
}, params));
|
|
788
790
|
}
|
|
789
791
|
function retrieveUserPassword(_temp15) {
|
|
790
792
|
var _ref31 = _temp15 === void 0 ? {} : _temp15,
|
|
@@ -1008,7 +1010,7 @@ var Node = {
|
|
|
1008
1010
|
var _excluded$1 = ["presentableId"],
|
|
1009
1011
|
_excluded2$1 = ["presentableId"],
|
|
1010
1012
|
_excluded3$1 = ["presentableId"],
|
|
1011
|
-
_excluded4 = ["presentableId"],
|
|
1013
|
+
_excluded4$1 = ["presentableId"],
|
|
1012
1014
|
_excluded5 = ["presentableId"],
|
|
1013
1015
|
_excluded6 = ["presentableId"],
|
|
1014
1016
|
_excluded7 = ["presentableId"],
|
|
@@ -1085,7 +1087,7 @@ function presentableList(params) {
|
|
|
1085
1087
|
}
|
|
1086
1088
|
function dependencyTree(_ref3) {
|
|
1087
1089
|
var presentableId = _ref3.presentableId,
|
|
1088
|
-
params = _objectWithoutPropertiesLoose(_ref3, _excluded4);
|
|
1090
|
+
params = _objectWithoutPropertiesLoose(_ref3, _excluded4$1);
|
|
1089
1091
|
|
|
1090
1092
|
// return FUtil.Axios.get(`/v2/presentables/${presentableId}/dependencyTree`, {params});
|
|
1091
1093
|
return FUtil.Request({
|
|
@@ -1185,7 +1187,7 @@ var Exhibit = {
|
|
|
1185
1187
|
var _excluded$2 = ["bucketName"],
|
|
1186
1188
|
_excluded2$2 = ["bucketName"],
|
|
1187
1189
|
_excluded3$2 = ["objectIdOrName"],
|
|
1188
|
-
_excluded4$
|
|
1190
|
+
_excluded4$2 = ["sha1"],
|
|
1189
1191
|
_excluded5$1 = ["objectIdOrName"];
|
|
1190
1192
|
function createBucket(params) {
|
|
1191
1193
|
return FUtil.Request({
|
|
@@ -1371,7 +1373,7 @@ function batchObjectList(params) {
|
|
|
1371
1373
|
}
|
|
1372
1374
|
function fileProperty(_ref6) {
|
|
1373
1375
|
var sha1 = _ref6.sha1,
|
|
1374
|
-
params = _objectWithoutPropertiesLoose(_ref6, _excluded4$
|
|
1376
|
+
params = _objectWithoutPropertiesLoose(_ref6, _excluded4$2);
|
|
1375
1377
|
|
|
1376
1378
|
return FUtil.Request({
|
|
1377
1379
|
method: 'GET',
|
|
@@ -1490,7 +1492,7 @@ var Collection = {
|
|
|
1490
1492
|
var _excluded$3 = ["resourceIdOrName"],
|
|
1491
1493
|
_excluded2$3 = ["resourceId"],
|
|
1492
1494
|
_excluded3$3 = ["resourceId"],
|
|
1493
|
-
_excluded4$
|
|
1495
|
+
_excluded4$3 = ["resourceId"],
|
|
1494
1496
|
_excluded5$2 = ["resourceId", "version"],
|
|
1495
1497
|
_excluded6$1 = ["fileSha1"],
|
|
1496
1498
|
_excluded7$1 = ["fileSha1"],
|
|
@@ -1562,7 +1564,7 @@ function authTree$1(_ref3) {
|
|
|
1562
1564
|
}
|
|
1563
1565
|
function createVersion(_ref4) {
|
|
1564
1566
|
var resourceId = _ref4.resourceId,
|
|
1565
|
-
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$
|
|
1567
|
+
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
|
|
1566
1568
|
|
|
1567
1569
|
// return FUtil.Axios.post(`/v2/resources/${resourceId}/versions`, params);
|
|
1568
1570
|
return FUtil.Request({
|
|
@@ -1985,7 +1987,7 @@ var User = {
|
|
|
1985
1987
|
var _excluded$5 = ["nodeId"],
|
|
1986
1988
|
_excluded2$4 = ["nodeId"],
|
|
1987
1989
|
_excluded3$4 = ["nodeId"],
|
|
1988
|
-
_excluded4$
|
|
1990
|
+
_excluded4$4 = ["nodeId"],
|
|
1989
1991
|
_excluded5$3 = ["nodeId"],
|
|
1990
1992
|
_excluded6$2 = ["testResourceId"],
|
|
1991
1993
|
_excluded7$2 = ["testResourceId"],
|
|
@@ -2025,7 +2027,7 @@ function batchTestResources(_ref3) {
|
|
|
2025
2027
|
}
|
|
2026
2028
|
function dependencyTree$2(_ref4) {
|
|
2027
2029
|
var nodeId = _ref4.nodeId,
|
|
2028
|
-
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$
|
|
2030
|
+
params = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
|
|
2029
2031
|
|
|
2030
2032
|
return FUtil.Request({
|
|
2031
2033
|
method: 'GET',
|