siyuan 1.0.2 → 1.0.4
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 +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v1.0.
|
|
3
|
+
## v1.0.5 2024-11
|
|
4
|
+
|
|
5
|
+
## v1.0.4 2024-10-15
|
|
6
|
+
|
|
7
|
+
* [Add plugin method `exitSiYuan`]https://github.com/siyuan-note/siyuan/pull/12767)
|
|
8
|
+
|
|
9
|
+
## v1.0.3 2024-09-27
|
|
10
|
+
|
|
11
|
+
* [Add plugin event bus `opened-notebook` & `closed-notebook`](https://github.com/siyuan-note/siyuan/issues/11974)
|
|
4
12
|
|
|
5
13
|
## v1.0.2 2024-06-04
|
|
6
14
|
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -182,6 +182,8 @@ export interface IEventBusMap {
|
|
|
182
182
|
"open-siyuan-url-plugin": {
|
|
183
183
|
url: string,
|
|
184
184
|
};
|
|
185
|
+
"opened-notebook": IWebSocketData;
|
|
186
|
+
"closed-notebook":IWebSocketData;
|
|
185
187
|
"paste": {
|
|
186
188
|
protyle: IProtyle,
|
|
187
189
|
resolve: new <T>(value: T | PromiseLike<T>) => void,
|
|
@@ -458,6 +460,8 @@ export function getFrontend(): "desktop" | "desktop-window" | "mobile" | "browse
|
|
|
458
460
|
|
|
459
461
|
export function lockScreen(app: App): void
|
|
460
462
|
|
|
463
|
+
export function exitSiYuan(): void
|
|
464
|
+
|
|
461
465
|
export function getBackend(): "windows" | "linux" | "darwin" | "docker" | "android" | "ios";
|
|
462
466
|
|
|
463
467
|
export function adaptHotkey(hotkey: string): string;
|