siyuan 1.0.6 → 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 +4 -1
- package/package.json +1 -1
- package/siyuan.d.ts +2 -2
- package/types/config.d.ts +2 -1
- package/types/protyle.d.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v1.0.7 2024-
|
|
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)
|
|
4
7
|
|
|
5
8
|
## v1.0.6 2024-11-19
|
|
6
9
|
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -281,7 +281,7 @@ export function openTab(options: {
|
|
|
281
281
|
|
|
282
282
|
export function getFrontend(): "desktop" | "desktop-window" | "mobile" | "browser-desktop" | "browser-mobile";
|
|
283
283
|
|
|
284
|
-
export function getBackend(): "windows" | "linux" | "darwin" | "docker" | "android" | "ios";
|
|
284
|
+
export function getBackend(): "windows" | "linux" | "darwin" | "docker" | "android" | "ios" | "harmony";
|
|
285
285
|
|
|
286
286
|
export function lockScreen(app: App): void
|
|
287
287
|
|
|
@@ -398,7 +398,7 @@ export abstract class Plugin {
|
|
|
398
398
|
|
|
399
399
|
updateCards(options: ICardData): Promise<ICardData> | ICardData;
|
|
400
400
|
|
|
401
|
-
updateProtyleToolbar(toolbar: Array<string | IMenuItem>)
|
|
401
|
+
updateProtyleToolbar(toolbar: Array<string | IMenuItem>): Array<string | IMenuItem>;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
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
|