🎨 Support sending notifications on HarmonyOS https://github.com/siyuan-note/siyuan/issues/17125

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-03-05 23:25:00 +08:00
parent 8c98cc574d
commit b0abc47901
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -255,7 +255,8 @@ interface Window {
getScreenWidthPx(): number
exit(): void
setWebViewFocusable(enable: boolean): void
sendNotification(channel: string, title: string, body: string, delayInSeconds: number): void
sendNotification(channel: string, title: string, body: string, delayInSeconds: number): number
cancelNotification(id: number): void
};
JSHarmony: {
showKeyboard(): void
@ -275,6 +276,7 @@ interface Window {
exit(): void
setWebViewFocusable(enable: boolean): void
sendNotification(channel: string, title: string, body: string, delayInSeconds: number): void
cancelNotification(id: number): void
};
Protyle: import("../protyle/method").default;