@freelog/tools-lib 0.1.109 → 0.1.112

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.
@@ -16,8 +16,9 @@ interface DashboardParamsType {
16
16
  }
17
17
  export declare function dashboard({}?: DashboardParamsType): string;
18
18
  interface MarketParamsType {
19
+ query?: string;
19
20
  }
20
- export declare function market({}?: MarketParamsType): TReturnType;
21
+ export declare function market({ ...params }?: MarketParamsType): TReturnType;
21
22
  interface ExampleNodesParamsType {
22
23
  }
23
24
  export declare function exampleNodes({}?: ExampleNodesParamsType): TReturnType;
@@ -57,8 +58,9 @@ interface NodeCreatorParamsType {
57
58
  export declare function nodeCreator({}?: NodeCreatorParamsType): TReturnType;
58
59
  interface NodeManagementParamsType {
59
60
  nodeID: number;
61
+ showPage?: 'exhibit' | 'theme';
60
62
  }
61
- export declare function nodeManagement({ nodeID }: NodeManagementParamsType): TReturnType;
63
+ export declare function nodeManagement({ nodeID, showPage, ...params }: NodeManagementParamsType): TReturnType;
62
64
  interface ExhibitManagementParamsType {
63
65
  exhibitID: string;
64
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freelog/tools-lib",
3
- "version": "0.1.109",
3
+ "version": "0.1.112",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -13,7 +13,7 @@ import * as Activity from './activities';
13
13
  import * as TestQualification from './testQualifications';
14
14
  import * as Statistic from './statistics';
15
15
  import * as I18n from './i18n';
16
- import * as combination from './combinations';
16
+ import * as recombination from './recombinations';
17
17
 
18
18
  const FServiceAPI = {
19
19
  Node,
@@ -31,7 +31,7 @@ const FServiceAPI = {
31
31
  TestQualification,
32
32
  Statistic,
33
33
  I18n,
34
- combination,
34
+ recombination,
35
35
  };
36
36
 
37
37
  export default FServiceAPI;
@@ -1,4 +1,4 @@
1
- import * as FUtil from '../../utils/tools';
1
+ import * as Tool from '../../utils/tools';
2
2
  import * as Storage from '../storages';
3
3
 
4
4
  interface FileInfo {
@@ -23,8 +23,9 @@ export async function getFilesSha1Info({sha1}: GetFileInfosBySha1Params, cdParti
23
23
  let allData: FileInfo[] = [];
24
24
 
25
25
  while (true) {
26
+ console.log(needHandleSha1.join(','), 'needHandleSha1.join()90ojlskdfjsdlk')
26
27
  const {data} = await Storage.filesListInfo({
27
- sha1: needHandleSha1,
28
+ sha1: needHandleSha1.join(','),
28
29
  });
29
30
  needHandleSha1 = data
30
31
  .filter((d: any) => {
@@ -59,7 +60,7 @@ export async function getFilesSha1Info({sha1}: GetFileInfosBySha1Params, cdParti
59
60
  if (needHandleSha1.length === 0) {
60
61
  break;
61
62
  }
62
- await FUtil.promiseSleep(3000)
63
+ await Tool.promiseSleep(3000)
63
64
  }
64
65
  return allData;
65
66
  }