zyjj-web-sdk 1.1.11 → 1.1.13

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
@@ -32,6 +32,7 @@ export declare const GetMaterialUrl: (key_list: string[]) => Promise<{
32
32
  [key: string]: string;
33
33
  }>;
34
34
  export declare const SendCommonRequest: <T>(data: SendCommonRequestInfo) => Promise<T>;
35
+ export declare const SendKnowledgeRequest: <T>(data: SendCommonRequestInfo) => Promise<T>;
35
36
  export declare const AddFeedback: (data: any) => Promise<unknown>;
36
37
  export declare const GetConfig: (key: string) => Promise<{
37
38
  name: string;
package/lib/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { default as UserLoginModal } from './components/UserLogin.tsx';
8
8
  export type { UserLoginModalProps } from './components/UserLogin.tsx';
9
9
  export { default as PageTable } from './components/PageTable.tsx';
10
10
  export type { PageTableProps } from './components/PageTable.tsx';
11
- export { SendCommonRequest } from './api/api.ts';
11
+ export { SendCommonRequest, SendKnowledgeRequest } from './api/api.ts';
12
12
  export declare const Api: {
13
13
  GetAllTool: () => Promise<import("./api/entity.ts").GetPageInfo<import("./types/cloud.ts").ToolInfo>>;
14
14
  ToolInc: (id: string) => Promise<unknown>;
@@ -108,10 +108,6 @@ export declare const Store: {
108
108
  GetUserInfo: import("@reduxjs/toolkit").AsyncThunk<import("./types/cloud.ts").UserInfo | undefined, undefined, any>;
109
109
  MqttReducer: import("redux").Reducer<import("./store/entity.ts").MqttState>;
110
110
  MqttAction: import("@reduxjs/toolkit").CaseReducerActions<{
111
- onMqttResponse(state: import("immer").WritableDraft<import("./store/entity.ts").MqttState>, info: {
112
- payload: import("./types/mqtt.ts").MqttResponse;
113
- type: string;
114
- }): void;
115
111
  closeClient(state: import("immer").WritableDraft<import("./store/entity.ts").MqttState>): void;
116
112
  addMqttCallback(state: import("immer").WritableDraft<import("./store/entity.ts").MqttState>, info: {
117
113
  payload: import("./types/mqtt.ts").MqttAddCallbackReq;