@freelog/tools-lib 0.1.52 → 0.1.56
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/informalNodes.d.ts +1 -1
- package/dist/service-API/transactions.d.ts +8 -1
- package/dist/tools-lib.cjs.development.js +5 -6
- 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 +5 -6
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/service-API/informalNodes.ts +2 -2
- package/src/service-API/resources.ts +451 -451
- package/src/service-API/transactions.ts +8 -1
package/dist/tools-lib.esm.js
CHANGED
|
@@ -2182,7 +2182,7 @@ function resourceIsUsedByOther(params) {
|
|
|
2182
2182
|
});
|
|
2183
2183
|
}
|
|
2184
2184
|
function resourcesDownload(params) {
|
|
2185
|
-
return window.location.href = FUtil.Format.completeUrlByDomain('qi'
|
|
2185
|
+
return window.location.href = FUtil.Format.completeUrlByDomain('qi') + ("/v2/resources/" + params.resourceId + "/versions/" + params.version + "/download"); // return request.get(`/v2/resources/${params.resourceId}/versions/${params.$version}/download`, {
|
|
2186
2186
|
// responseType: 'arraybuffer',
|
|
2187
2187
|
// });
|
|
2188
2188
|
}
|
|
@@ -2203,8 +2203,7 @@ function resolveResources(params) {
|
|
|
2203
2203
|
// return FUtil.Axios.get(`/v2/resources/${params.resourceId}/resolveResources`);
|
|
2204
2204
|
return FUtil.Request({
|
|
2205
2205
|
method: 'GET',
|
|
2206
|
-
url: "/v2/resources/" + params.resourceId + "/resolveResources"
|
|
2207
|
-
params: params
|
|
2206
|
+
url: "/v2/resources/" + params.resourceId + "/resolveResources"
|
|
2208
2207
|
});
|
|
2209
2208
|
}
|
|
2210
2209
|
function batchSetContracts(_ref8) {
|
|
@@ -2509,7 +2508,7 @@ function dependencyTreeFilter(_ref8) {
|
|
|
2509
2508
|
params: params
|
|
2510
2509
|
});
|
|
2511
2510
|
}
|
|
2512
|
-
function
|
|
2511
|
+
function testResourcesDependencyTree(_ref9) {
|
|
2513
2512
|
var testResourceId = _ref9.testResourceId;
|
|
2514
2513
|
return FUtil.Request({
|
|
2515
2514
|
method: 'GET',
|
|
@@ -2521,7 +2520,7 @@ function testResourcesAuthTree(_ref10) {
|
|
|
2521
2520
|
// return FUtil.Axios.get(`/v2/testNodes/testResources/${testResourceId}`);
|
|
2522
2521
|
return FUtil.Request({
|
|
2523
2522
|
method: 'GET',
|
|
2524
|
-
url: "
|
|
2523
|
+
url: "/v2/testNodes/testResources/" + testResourceId + "/authTree"
|
|
2525
2524
|
});
|
|
2526
2525
|
}
|
|
2527
2526
|
function testResourceDetails(_ref11) {
|
|
@@ -2567,7 +2566,7 @@ var InformalNode = {
|
|
|
2567
2566
|
testNodeRules: testNodeRules,
|
|
2568
2567
|
updateTestResourceContracts: updateTestResourceContracts,
|
|
2569
2568
|
dependencyTreeFilter: dependencyTreeFilter,
|
|
2570
|
-
|
|
2569
|
+
testResourcesDependencyTree: testResourcesDependencyTree,
|
|
2571
2570
|
testResourcesAuthTree: testResourcesAuthTree,
|
|
2572
2571
|
testResourceDetails: testResourceDetails,
|
|
2573
2572
|
searchTestResourcesByDependency: searchTestResourcesByDependency,
|