siyuan 0.9.5 → 0.9.7
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/CHANGELOG.md +9 -1
- package/package.json +1 -1
- package/siyuan.d.ts +6 -0
- package/types/config.d.ts +2182 -0
- package/types/index.d.ts +1 -0
- package/types/protyle.d.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.9.
|
|
3
|
+
## 0.9.9 2024-04
|
|
4
|
+
|
|
5
|
+
## 0.9.7 2024-04-02
|
|
6
|
+
|
|
7
|
+
* [Add `global.siyuan.config` type definition](https://github.com/siyuan-note/petal/pull/27)
|
|
8
|
+
|
|
9
|
+
## 0.9.6 2024-03-19
|
|
10
|
+
|
|
11
|
+
* [Add method `getInstance` to IProtyle](https://github.com/siyuan-note/petal/pull/25)
|
|
4
12
|
|
|
5
13
|
## 0.9.5 2024-03-05
|
|
6
14
|
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./types";
|
|
2
2
|
|
|
3
3
|
import {IProtyle, Lute, Protyle, Toolbar, IProtyleOption, TProtyleAction} from "./types/protyle";
|
|
4
|
+
import {Config} from "./types/config";
|
|
4
5
|
import {IMenuBaseDetail} from "./types/events";
|
|
5
6
|
import {IGetDocInfo, IGetTreeStat} from "./types/response";
|
|
6
7
|
|
|
@@ -64,8 +65,13 @@ export type TAVCol =
|
|
|
64
65
|
| "email"
|
|
65
66
|
| "phone"
|
|
66
67
|
|
|
68
|
+
export interface ISiyuan {
|
|
69
|
+
config: Config.IConf;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
export interface Global {
|
|
68
73
|
Lute: typeof Lute;
|
|
74
|
+
siyuan: ISiyuan;
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
interface IKeymapItem {
|