siyuan 1.0.5 → 1.0.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 +8 -1
- package/package.json +1 -1
- package/siyuan.d.ts +4 -1
- package/types/config.d.ts +2 -1
- package/types/protyle.d.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v1.0.
|
|
3
|
+
## v1.0.7 2024-12-10
|
|
4
|
+
|
|
5
|
+
* [Support HarmonyOS NEXT system](https://github.com/siyuan-note/siyuan/issues/13184)
|
|
6
|
+
* [Add `disable`, `enable` method to Protyle](https://github.com/siyuan-note/siyuan/issues/13391)
|
|
7
|
+
|
|
8
|
+
## v1.0.6 2024-11-19
|
|
9
|
+
|
|
10
|
+
* [Add plugin method `updateProtyleToolbar`](https://github.com/siyuan-note/plugin-sample/issues/24)
|
|
4
11
|
|
|
5
12
|
## v1.0.5 2024-11-05
|
|
6
13
|
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
App,
|
|
21
21
|
Files,
|
|
22
22
|
Tab, Model,
|
|
23
|
+
IMenuItem,
|
|
23
24
|
} from "./types";
|
|
24
25
|
|
|
25
26
|
export * from "./types";
|
|
@@ -280,7 +281,7 @@ export function openTab(options: {
|
|
|
280
281
|
|
|
281
282
|
export function getFrontend(): "desktop" | "desktop-window" | "mobile" | "browser-desktop" | "browser-mobile";
|
|
282
283
|
|
|
283
|
-
export function getBackend(): "windows" | "linux" | "darwin" | "docker" | "android" | "ios";
|
|
284
|
+
export function getBackend(): "windows" | "linux" | "darwin" | "docker" | "android" | "ios" | "harmony";
|
|
284
285
|
|
|
285
286
|
export function lockScreen(app: App): void
|
|
286
287
|
|
|
@@ -396,6 +397,8 @@ export abstract class Plugin {
|
|
|
396
397
|
}): void;
|
|
397
398
|
|
|
398
399
|
updateCards(options: ICardData): Promise<ICardData> | ICardData;
|
|
400
|
+
|
|
401
|
+
updateProtyleToolbar(toolbar: Array<string | IMenuItem>): Array<string | IMenuItem>;
|
|
399
402
|
}
|
|
400
403
|
|
|
401
404
|
export class Setting {
|
package/types/config.d.ts
CHANGED
|
@@ -1542,9 +1542,10 @@ export namespace Config {
|
|
|
1542
1542
|
* - `docker`: Docker container
|
|
1543
1543
|
* - `android`: Android device
|
|
1544
1544
|
* - `ios`: iOS device
|
|
1545
|
+
* - `harmony`: HarmonyOS device
|
|
1545
1546
|
* - `std`: Desktop Electron environment
|
|
1546
1547
|
*/
|
|
1547
|
-
export type TSystemContainer = "docker" | "android" | "ios" | "std";
|
|
1548
|
+
export type TSystemContainer = "docker" | "android" | "ios" | "harmony" | "std";
|
|
1548
1549
|
|
|
1549
1550
|
/**
|
|
1550
1551
|
* SiYuan Network proxy configuration
|