zyjj-web-sdk 1.0.7 → 1.0.9

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/lib/api/api.d.ts CHANGED
@@ -22,6 +22,7 @@ export declare const CostPoint: (data: {
22
22
  uid: string;
23
23
  }) => Promise<void>;
24
24
  export declare const GetToolList: (req: GetPageReq) => Promise<GetPageInfo<ToolInfo>>;
25
+ export declare const GetAllToolList: () => Promise<GetPageInfo<ToolInfo>>;
25
26
  export declare const GetToolDetail: (id: string) => Promise<GetToolDetailResp>;
26
27
  export declare const GetToolTagList: () => Promise<string[]>;
27
28
  export declare const ToolCountInc: (id: string) => Promise<void>;
package/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FileSource, LocalTaskStatus, LocalActionReqType, LocalActionResType, LocalTaskEventType, TaskType } from "./types/local-task.ts";
2
3
  import { CloudTaskStatus, ToolType } from "./types/cloud.ts";
3
4
  import { MQTTEventType } from "./types/mqtt.ts";
@@ -60,6 +61,7 @@ export declare const Enum: {
60
61
  TaskType: typeof TaskType;
61
62
  LabElementType: typeof LabElementType;
62
63
  ToolConfigType: typeof ToolConfigType;
64
+ IconMap: Map<string, JSX.Element>;
63
65
  };
64
66
  export declare const Tool: {
65
67
  render: {
@@ -76,7 +78,12 @@ export declare const Tool: {
76
78
  bucket: string;
77
79
  region: string;
78
80
  }>;
79
- object2query: (data: any) => string;
81
+ object2query: (data: {
82
+ [key: string]: any;
83
+ }) => string;
84
+ paramReplace: (value: string, data: {
85
+ [key: string]: any;
86
+ }) => string;
80
87
  };
81
88
  db: {
82
89
  addTask: (data: import("./types/local-task.ts").LocalTaskInfo, table?: string) => Promise<IDBValidKey>;