Skip to content

Commit bd2a99c

Browse files
committed
1 parent 5a0382a commit bd2a99c

File tree

4 files changed

+606
-0
lines changed

4 files changed

+606
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 0.8.8 2023-10
44

5+
* [Export `Constants` to plugin](https://github.com/siyuan-note/siyuan/issues/9555)
56
* [Add plugin `app.appId`](https://github.com/siyuan-note/siyuan/issues/9538)
67
* [Add plugin event bus `switch-protyle`](https://github.com/siyuan-note/siyuan/issues/9454)
78

siyuan.d.ts

+33
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,39 @@ export interface Global {
7777
Lute: Lute;
7878
}
7979

80+
interface IKeymapItem {
81+
default: string,
82+
custom: string
83+
}
84+
85+
export interface IKeymap {
86+
plugin: {
87+
[key: string]: {
88+
[key: string]: IKeymapItem
89+
}
90+
}
91+
general: {
92+
[key: string]: IKeymapItem
93+
}
94+
editor: {
95+
general: {
96+
[key: string]: IKeymapItem
97+
}
98+
insert: {
99+
[key: string]: IKeymapItem
100+
}
101+
heading: {
102+
[key: string]: IKeymapItem
103+
}
104+
list: {
105+
[key: string]: IKeymapItem
106+
}
107+
table: {
108+
[key: string]: IKeymapItem
109+
}
110+
}
111+
}
112+
80113
export interface IEventBusMap {
81114
"click-blockicon": {
82115
menu: EventMenu,

0 commit comments

Comments
 (0)