@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.
@@ -595,7 +595,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
595
595
  var _excluded = ["resourceID"],
596
596
  _excluded2 = ["nodeID", "showPage"],
597
597
  _excluded3 = ["nodeID", "showPage"],
598
- _excluded4 = ["goTo"];
598
+ _excluded4 = ["goTo"],
599
+ _excluded5 = ["goTo"];
599
600
  function home(_temp) {
600
601
  var _ref = _temp === void 0 ? {} : _temp;
601
602
 
@@ -739,12 +740,13 @@ function nodeCreateSuccess(_ref24) {
739
740
  }
740
741
  function invitation(_temp11) {
741
742
  var _ref25 = _temp11 === void 0 ? {} : _temp11,
742
- params = _extends({}, _ref25);
743
+ goTo = _ref25.goTo,
744
+ params = _objectWithoutPropertiesLoose(_ref25, _excluded4);
743
745
 
744
746
  // console.log(params.goTo, 'goTo9iowjefklsdj;flksdjflk')
745
- return "/invitation" + handleQuery({
746
- returnUrl: params.goTo ? encodeURIComponent(params.goTo) : undefined
747
- });
747
+ return "/invitation" + handleQuery(_extends({}, params, {
748
+ returnUrl: goTo ? encodeURIComponent(goTo) : undefined
749
+ }));
748
750
  }
749
751
  function exception403(_temp12) {
750
752
  var _ref26 = _temp12 === void 0 ? {} : _temp12,
@@ -782,7 +784,7 @@ function login(_temp13) {
782
784
  function logon(_temp14) {
783
785
  var _ref30 = _temp14 === void 0 ? {} : _temp14,
784
786
  goTo = _ref30.goTo,
785
- params = _objectWithoutPropertiesLoose(_ref30, _excluded4);
787
+ params = _objectWithoutPropertiesLoose(_ref30, _excluded5);
786
788
 
787
789
  return "/logon" + handleQuery(_extends({
788
790
  goTo: goTo ? encodeURIComponent(goTo) : undefined
@@ -1011,7 +1013,7 @@ var _excluded$1 = ["presentableId"],
1011
1013
  _excluded2$1 = ["presentableId"],
1012
1014
  _excluded3$1 = ["presentableId"],
1013
1015
  _excluded4$1 = ["presentableId"],
1014
- _excluded5 = ["presentableId"],
1016
+ _excluded5$1 = ["presentableId"],
1015
1017
  _excluded6 = ["presentableId"],
1016
1018
  _excluded7 = ["presentableId"],
1017
1019
  _excluded8 = ["presentableId"],
@@ -1098,7 +1100,7 @@ function dependencyTree(_ref3) {
1098
1100
  }
1099
1101
  function relationTree(_ref4) {
1100
1102
  var presentableId = _ref4.presentableId,
1101
- params = _objectWithoutPropertiesLoose(_ref4, _excluded5);
1103
+ params = _objectWithoutPropertiesLoose(_ref4, _excluded5$1);
1102
1104
 
1103
1105
  // return FUtil.Axios.get(`/v2/presentables/${presentableId}/relationTree`, {params});
1104
1106
  return FUtil.Request({
@@ -1188,7 +1190,7 @@ var _excluded$2 = ["bucketName"],
1188
1190
  _excluded2$2 = ["bucketName"],
1189
1191
  _excluded3$2 = ["objectIdOrName"],
1190
1192
  _excluded4$2 = ["sha1"],
1191
- _excluded5$1 = ["objectIdOrName"];
1193
+ _excluded5$2 = ["objectIdOrName"];
1192
1194
  function createBucket(params) {
1193
1195
  return FUtil.Request({
1194
1196
  method: 'POST',
@@ -1383,7 +1385,7 @@ function fileProperty(_ref6) {
1383
1385
  }
1384
1386
  function cycleDependencyCheck(_ref7) {
1385
1387
  var objectIdOrName = _ref7.objectIdOrName,
1386
- params = _objectWithoutPropertiesLoose(_ref7, _excluded5$1);
1388
+ params = _objectWithoutPropertiesLoose(_ref7, _excluded5$2);
1387
1389
 
1388
1390
  return FUtil.Request({
1389
1391
  method: 'POST',
@@ -1493,7 +1495,7 @@ var _excluded$3 = ["resourceIdOrName"],
1493
1495
  _excluded2$3 = ["resourceId"],
1494
1496
  _excluded3$3 = ["resourceId"],
1495
1497
  _excluded4$3 = ["resourceId"],
1496
- _excluded5$2 = ["resourceId", "version"],
1498
+ _excluded5$3 = ["resourceId", "version"],
1497
1499
  _excluded6$1 = ["fileSha1"],
1498
1500
  _excluded7$1 = ["fileSha1"],
1499
1501
  _excluded8$1 = ["resourceId"],
@@ -1576,7 +1578,7 @@ function createVersion(_ref4) {
1576
1578
  function resourceVersionInfo1(_ref5) {
1577
1579
  var resourceId = _ref5.resourceId,
1578
1580
  version = _ref5.version,
1579
- params = _objectWithoutPropertiesLoose(_ref5, _excluded5$2);
1581
+ params = _objectWithoutPropertiesLoose(_ref5, _excluded5$3);
1580
1582
 
1581
1583
  return FUtil.Request({
1582
1584
  method: 'GET',
@@ -1988,7 +1990,7 @@ var _excluded$5 = ["nodeId"],
1988
1990
  _excluded2$4 = ["nodeId"],
1989
1991
  _excluded3$4 = ["nodeId"],
1990
1992
  _excluded4$4 = ["nodeId"],
1991
- _excluded5$3 = ["nodeId"],
1993
+ _excluded5$4 = ["nodeId"],
1992
1994
  _excluded6$2 = ["testResourceId"],
1993
1995
  _excluded7$2 = ["testResourceId"],
1994
1996
  _excluded8$2 = ["nodeId"],
@@ -2037,7 +2039,7 @@ function dependencyTree$2(_ref4) {
2037
2039
  }
2038
2040
  function putRules(_ref5) {
2039
2041
  var nodeId = _ref5.nodeId,
2040
- params = _objectWithoutPropertiesLoose(_ref5, _excluded5$3);
2042
+ params = _objectWithoutPropertiesLoose(_ref5, _excluded5$4);
2041
2043
 
2042
2044
  return FUtil.Request({
2043
2045
  method: 'PUT',