@freelog/tools-lib 0.1.145 → 0.1.146

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.
@@ -601,7 +601,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
601
601
  var _excluded = ["resourceID"],
602
602
  _excluded2 = ["nodeID", "showPage"],
603
603
  _excluded3 = ["nodeID", "showPage"],
604
- _excluded4 = ["goTo"];
604
+ _excluded4 = ["goTo"],
605
+ _excluded5 = ["goTo"];
605
606
  function home(_temp) {
606
607
  var _ref = _temp === void 0 ? {} : _temp;
607
608
 
@@ -745,12 +746,13 @@ function nodeCreateSuccess(_ref24) {
745
746
  }
746
747
  function invitation(_temp11) {
747
748
  var _ref25 = _temp11 === void 0 ? {} : _temp11,
748
- params = _extends({}, _ref25);
749
+ goTo = _ref25.goTo,
750
+ params = _objectWithoutPropertiesLoose(_ref25, _excluded4);
749
751
 
750
752
  // console.log(params.goTo, 'goTo9iowjefklsdj;flksdjflk')
751
- return "/invitation" + handleQuery({
752
- returnUrl: params.goTo ? encodeURIComponent(params.goTo) : undefined
753
- });
753
+ return "/invitation" + handleQuery(_extends({}, params, {
754
+ returnUrl: goTo ? encodeURIComponent(goTo) : undefined
755
+ }));
754
756
  }
755
757
  function exception403(_temp12) {
756
758
  var _ref26 = _temp12 === void 0 ? {} : _temp12,
@@ -788,7 +790,7 @@ function login(_temp13) {
788
790
  function logon(_temp14) {
789
791
  var _ref30 = _temp14 === void 0 ? {} : _temp14,
790
792
  goTo = _ref30.goTo,
791
- params = _objectWithoutPropertiesLoose(_ref30, _excluded4);
793
+ params = _objectWithoutPropertiesLoose(_ref30, _excluded5);
792
794
 
793
795
  return "/logon" + handleQuery(_extends({
794
796
  goTo: goTo ? encodeURIComponent(goTo) : undefined
@@ -1017,7 +1019,7 @@ var _excluded$1 = ["presentableId"],
1017
1019
  _excluded2$1 = ["presentableId"],
1018
1020
  _excluded3$1 = ["presentableId"],
1019
1021
  _excluded4$1 = ["presentableId"],
1020
- _excluded5 = ["presentableId"],
1022
+ _excluded5$1 = ["presentableId"],
1021
1023
  _excluded6 = ["presentableId"],
1022
1024
  _excluded7 = ["presentableId"],
1023
1025
  _excluded8 = ["presentableId"],
@@ -1104,7 +1106,7 @@ function dependencyTree(_ref3) {
1104
1106
  }
1105
1107
  function relationTree(_ref4) {
1106
1108
  var presentableId = _ref4.presentableId,
1107
- params = _objectWithoutPropertiesLoose(_ref4, _excluded5);
1109
+ params = _objectWithoutPropertiesLoose(_ref4, _excluded5$1);
1108
1110
 
1109
1111
  // return FUtil.Axios.get(`/v2/presentables/${presentableId}/relationTree`, {params});
1110
1112
  return FUtil.Request({
@@ -1194,7 +1196,7 @@ var _excluded$2 = ["bucketName"],
1194
1196
  _excluded2$2 = ["bucketName"],
1195
1197
  _excluded3$2 = ["objectIdOrName"],
1196
1198
  _excluded4$2 = ["sha1"],
1197
- _excluded5$1 = ["objectIdOrName"];
1199
+ _excluded5$2 = ["objectIdOrName"];
1198
1200
  function createBucket(params) {
1199
1201
  return FUtil.Request({
1200
1202
  method: 'POST',
@@ -1389,7 +1391,7 @@ function fileProperty(_ref6) {
1389
1391
  }
1390
1392
  function cycleDependencyCheck(_ref7) {
1391
1393
  var objectIdOrName = _ref7.objectIdOrName,
1392
- params = _objectWithoutPropertiesLoose(_ref7, _excluded5$1);
1394
+ params = _objectWithoutPropertiesLoose(_ref7, _excluded5$2);
1393
1395
 
1394
1396
  return FUtil.Request({
1395
1397
  method: 'POST',
@@ -1499,7 +1501,7 @@ var _excluded$3 = ["resourceIdOrName"],
1499
1501
  _excluded2$3 = ["resourceId"],
1500
1502
  _excluded3$3 = ["resourceId"],
1501
1503
  _excluded4$3 = ["resourceId"],
1502
- _excluded5$2 = ["resourceId", "version"],
1504
+ _excluded5$3 = ["resourceId", "version"],
1503
1505
  _excluded6$1 = ["fileSha1"],
1504
1506
  _excluded7$1 = ["fileSha1"],
1505
1507
  _excluded8$1 = ["resourceId"],
@@ -1582,7 +1584,7 @@ function createVersion(_ref4) {
1582
1584
  function resourceVersionInfo1(_ref5) {
1583
1585
  var resourceId = _ref5.resourceId,
1584
1586
  version = _ref5.version,
1585
- params = _objectWithoutPropertiesLoose(_ref5, _excluded5$2);
1587
+ params = _objectWithoutPropertiesLoose(_ref5, _excluded5$3);
1586
1588
 
1587
1589
  return FUtil.Request({
1588
1590
  method: 'GET',
@@ -1994,7 +1996,7 @@ var _excluded$5 = ["nodeId"],
1994
1996
  _excluded2$4 = ["nodeId"],
1995
1997
  _excluded3$4 = ["nodeId"],
1996
1998
  _excluded4$4 = ["nodeId"],
1997
- _excluded5$3 = ["nodeId"],
1999
+ _excluded5$4 = ["nodeId"],
1998
2000
  _excluded6$2 = ["testResourceId"],
1999
2001
  _excluded7$2 = ["testResourceId"],
2000
2002
  _excluded8$2 = ["nodeId"],
@@ -2043,7 +2045,7 @@ function dependencyTree$2(_ref4) {
2043
2045
  }
2044
2046
  function putRules(_ref5) {
2045
2047
  var nodeId = _ref5.nodeId,
2046
- params = _objectWithoutPropertiesLoose(_ref5, _excluded5$3);
2048
+ params = _objectWithoutPropertiesLoose(_ref5, _excluded5$4);
2047
2049
 
2048
2050
  return FUtil.Request({
2049
2051
  method: 'PUT',