zyjj-web-sdk 1.0.8 → 1.0.10

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>;
@@ -41,3 +42,7 @@ export declare const SendCommonRequest: <T>(data: {
41
42
  method: string;
42
43
  }) => Promise<T>;
43
44
  export declare const AddFeedback: (data: any) => Promise<unknown>;
45
+ export declare const GetConfig: (key: string) => Promise<{
46
+ name: string;
47
+ value: string;
48
+ }>;
package/lib/index.d.ts CHANGED
@@ -17,7 +17,10 @@ export { default as UserInfoPage } from './pages/UserInfoPage.tsx';
17
17
  export type { UserInfoPageProps } from './pages/UserInfoPage.tsx';
18
18
  export { default as TaskList } from './pages/TaskList.tsx';
19
19
  export type { TaskListProps } from './pages/TaskList.tsx';
20
+ export { default as SearchBar } from './pages/SearchBar.tsx';
21
+ export type { SearchBarProps } from './pages/SearchBar.tsx';
20
22
  export declare const Api: {
23
+ GetAllTool: () => Promise<import("./api/entity.ts").GetPageInfo<import("./types/cloud.ts").ToolInfo>>;
21
24
  UpdateUserInfo: (data: {
22
25
  tool_id_list?: string[] | undefined;
23
26
  }) => Promise<unknown>;
@@ -84,6 +87,9 @@ export declare const Tool: {
84
87
  paramReplace: (value: string, data: {
85
88
  [key: string]: any;
86
89
  }) => string;
90
+ object2urlParam: (data: {
91
+ [key: string]: any;
92
+ }) => string;
87
93
  };
88
94
  db: {
89
95
  addTask: (data: import("./types/local-task.ts").LocalTaskInfo, table?: string) => Promise<IDBValidKey>;