zyjj-web-sdk 1.1.12 → 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 +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +176 -175
- package/lib/index.umd.cjs +9 -9
- package/package.json +1 -1
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>;
|