@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.
@@ -57,7 +57,7 @@ export declare function dependencyTreeFilter({ testResourceId, ...params }: Depe
57
57
  interface TestResourcesDependencyTreeParamsType {
58
58
  testResourceId: string;
59
59
  }
60
- export declare function TestResourcesDependencyTree({ testResourceId }: TestResourcesDependencyTreeParamsType): Promise<any>;
60
+ export declare function testResourcesDependencyTree({ testResourceId }: TestResourcesDependencyTreeParamsType): Promise<any>;
61
61
  interface TestResourcesAuthTreeParamsType {
62
62
  testResourceId: string;
63
63
  }
@@ -1,7 +1,14 @@
1
1
  interface DetailsParamsType {
2
- accountId: string;
3
2
  skip?: number;
4
3
  limit?: number;
4
+ accountId: string;
5
+ startCreatedDate?: string;
6
+ endCreatedDate?: string;
7
+ amountStartPoint?: number;
8
+ amountEndPoint?: number;
9
+ serialNo?: string;
10
+ status?: 1 | 2 | 3;
11
+ keywords?: string;
5
12
  }
6
13
  export declare function details({ accountId, ...params }: DetailsParamsType): Promise<any>;
7
14
  interface IndividualAccountsParamsType {
@@ -2188,7 +2188,7 @@ function resourceIsUsedByOther(params) {
2188
2188
  });
2189
2189
  }
2190
2190
  function resourcesDownload(params) {
2191
- return window.location.href = FUtil.Format.completeUrlByDomain('qi', true) + ("/v2/resources/" + params.resourceId + "/versions/" + params.version + "/download"); // return request.get(`/v2/resources/${params.resourceId}/versions/${params.$version}/download`, {
2191
+ 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`, {
2192
2192
  // responseType: 'arraybuffer',
2193
2193
  // });
2194
2194
  }
@@ -2209,8 +2209,7 @@ function resolveResources(params) {
2209
2209
  // return FUtil.Axios.get(`/v2/resources/${params.resourceId}/resolveResources`);
2210
2210
  return FUtil.Request({
2211
2211
  method: 'GET',
2212
- url: "/v2/resources/" + params.resourceId + "/resolveResources",
2213
- params: params
2212
+ url: "/v2/resources/" + params.resourceId + "/resolveResources"
2214
2213
  });
2215
2214
  }
2216
2215
  function batchSetContracts(_ref8) {
@@ -2515,7 +2514,7 @@ function dependencyTreeFilter(_ref8) {
2515
2514
  params: params
2516
2515
  });
2517
2516
  }
2518
- function TestResourcesDependencyTree(_ref9) {
2517
+ function testResourcesDependencyTree(_ref9) {
2519
2518
  var testResourceId = _ref9.testResourceId;
2520
2519
  return FUtil.Request({
2521
2520
  method: 'GET',
@@ -2527,7 +2526,7 @@ function testResourcesAuthTree(_ref10) {
2527
2526
  // return FUtil.Axios.get(`/v2/testNodes/testResources/${testResourceId}`);
2528
2527
  return FUtil.Request({
2529
2528
  method: 'GET',
2530
- url: "https://api.freelog.com/v2/testNodes/testResources/" + testResourceId + "/authTree"
2529
+ url: "/v2/testNodes/testResources/" + testResourceId + "/authTree"
2531
2530
  });
2532
2531
  }
2533
2532
  function testResourceDetails(_ref11) {
@@ -2573,7 +2572,7 @@ var InformalNode = {
2573
2572
  testNodeRules: testNodeRules,
2574
2573
  updateTestResourceContracts: updateTestResourceContracts,
2575
2574
  dependencyTreeFilter: dependencyTreeFilter,
2576
- TestResourcesDependencyTree: TestResourcesDependencyTree,
2575
+ testResourcesDependencyTree: testResourcesDependencyTree,
2577
2576
  testResourcesAuthTree: testResourcesAuthTree,
2578
2577
  testResourceDetails: testResourceDetails,
2579
2578
  searchTestResourcesByDependency: searchTestResourcesByDependency,