@freelog/tools-lib 0.1.75 → 0.1.78

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.
@@ -1599,9 +1599,6 @@ function presentableDetails(params) {
1599
1599
  });
1600
1600
  }
1601
1601
  function presentables(params) {
1602
- // return FUtil.Axios.get(`/v2/presentables`, {
1603
- // params,
1604
- // });
1605
1602
  return FUtil.Request({
1606
1603
  method: 'GET',
1607
1604
  url: "/v2/presentables",
@@ -1609,9 +1606,6 @@ function presentables(params) {
1609
1606
  });
1610
1607
  }
1611
1608
  function presentableList(params) {
1612
- // return FUtil.Axios.get(`/v2/presentables/list`, {
1613
- // params,
1614
- // });
1615
1609
  return FUtil.Request({
1616
1610
  method: 'GET',
1617
1611
  url: "/v2/presentables/list",
@@ -2024,7 +2018,6 @@ var _excluded$3 = ["resourceIdOrName"],
2024
2018
  _excluded10$1 = ["resourceId"],
2025
2019
  _excluded11 = ["resourceId"];
2026
2020
  function create$1(params) {
2027
- // return FUtil.Axios.post('/v2/resources', params)
2028
2021
  return FUtil.Request({
2029
2022
  method: 'POST',
2030
2023
  url: "/v2/resources",
@@ -2032,7 +2025,6 @@ function create$1(params) {
2032
2025
  });
2033
2026
  }
2034
2027
  function update(params) {
2035
- // return FUtil.Axios.put(`/v2/resources/${params.resourceId}`, params);
2036
2028
  return FUtil.Request({
2037
2029
  method: 'PUT',
2038
2030
  url: "/v2/resources/" + params.resourceId,
@@ -2040,9 +2032,6 @@ function update(params) {
2040
2032
  });
2041
2033
  }
2042
2034
  function list(params) {
2043
- // return FUtil.Axios.get('/v2/resources', {
2044
- // params,
2045
- // });
2046
2035
  return FUtil.Request({
2047
2036
  method: 'GET',
2048
2037
  url: "/v2/resources",
@@ -2053,9 +2042,6 @@ function info(_ref) {
2053
2042
  var resourceIdOrName = _ref.resourceIdOrName,
2054
2043
  params = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2055
2044
 
2056
- // return FUtil.Axios.get(`/v2/resources/${encodeURIComponent(resourceIdOrName)}`, {
2057
- // params: params,
2058
- // });
2059
2045
  return FUtil.Request({
2060
2046
  method: 'GET',
2061
2047
  url: "/v2/resources/" + encodeURIComponent(resourceIdOrName),
@@ -2063,9 +2049,6 @@ function info(_ref) {
2063
2049
  });
2064
2050
  }
2065
2051
  function batchInfo(params) {
2066
- // return FUtil.Axios.get(`/v2/resources/list`, {
2067
- // params: params,
2068
- // });
2069
2052
  return FUtil.Request({
2070
2053
  method: 'GET',
2071
2054
  url: "/v2/resources/list",
@@ -2076,9 +2059,6 @@ function dependencyTree$1(_ref2) {
2076
2059
  var resourceId = _ref2.resourceId,
2077
2060
  params = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
2078
2061
 
2079
- // return FUtil.Axios.get(`/v2/resources/${resourceId}/dependencyTree`, {
2080
- // params: params,
2081
- // });
2082
2062
  return FUtil.Request({
2083
2063
  method: 'GET',
2084
2064
  url: "/v2/resources/" + resourceId + "/dependencyTree",
@@ -2089,9 +2069,6 @@ function authTree$1(_ref3) {
2089
2069
  var resourceId = _ref3.resourceId,
2090
2070
  params = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
2091
2071
 
2092
- // return FUtil.Axios.get(`/v2/resources/${resourceId}/authTree`, {
2093
- // params: params,
2094
- // });
2095
2072
  return FUtil.Request({
2096
2073
  method: 'GET',
2097
2074
  url: "/v2/resources/" + resourceId + "/authTree",
@@ -2110,22 +2087,13 @@ function createVersion(_ref4) {
2110
2087
  });
2111
2088
  }
2112
2089
  function resourceVersionInfo(params) {
2113
- // console.log('####!AAA');
2114
2090
  if (params.version) {
2115
- // return FUtil.Axios.get(`/v2/resources/${(params as ResourceVersionInfoParamsType1).resourceId}/versions/${(params as ResourceVersionInfoParamsType1).version}`, {
2116
- // params: {
2117
- // projection: params.projection,
2118
- // }
2119
- // });
2120
2091
  return FUtil.Request({
2121
2092
  method: 'GET',
2122
2093
  url: "/v2/resources/" + params.resourceId + "/versions/" + params.version,
2123
2094
  params: params
2124
2095
  });
2125
- } // return FUtil.Axios.get(`/v2/resources/versions/detail`, {
2126
- // params,
2127
- // });
2128
-
2096
+ }
2129
2097
 
2130
2098
  return FUtil.Request({
2131
2099
  method: 'GET',
@@ -2789,22 +2757,5 @@ var FServiceAPI = {
2789
2757
  Event: Event
2790
2758
  };
2791
2759
 
2792
-
2793
-
2794
- var ContractTypes = {
2795
- __proto__: null
2796
- };
2797
-
2798
-
2799
-
2800
- var InformalNodeTypes = {
2801
- __proto__: null
2802
- };
2803
-
2804
- var FTypes = {
2805
- ContractTypes: ContractTypes,
2806
- InformalNodeTypes: InformalNodeTypes
2807
- };
2808
-
2809
- export { FServiceAPI, FTypes, FUtil };
2760
+ export { FServiceAPI, FUtil };
2810
2761
  //# sourceMappingURL=tools-lib.esm.js.map