@blueking/chat-x 0.0.2 → 0.0.3-beta.1
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/dist/index.css +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types/editor.d.ts +5 -2
- package/package.json +2 -2
package/dist/types/editor.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ export interface IAiSlashGroupItem {
|
|
|
5
5
|
type: keyof typeof resourceTypeMap;
|
|
6
6
|
}
|
|
7
7
|
export interface IAiSlashMenuItem {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
code?: string;
|
|
10
|
+
icon: null | string;
|
|
11
|
+
id?: number | string;
|
|
10
12
|
name: string;
|
|
11
13
|
type: keyof typeof resourceTypeMap;
|
|
12
14
|
}
|
|
@@ -14,6 +16,7 @@ export declare const resourceTypeMap: {
|
|
|
14
16
|
readonly tool: "工具";
|
|
15
17
|
readonly mcp: "MCP";
|
|
16
18
|
readonly doc: "知识库";
|
|
19
|
+
readonly knowledgebase: "知识库";
|
|
17
20
|
readonly shortcut: "快捷指令";
|
|
18
21
|
};
|
|
19
22
|
export type ResourceType = keyof typeof resourceTypeMap;
|