From 9c3a9c0ed92c2c23f60b03df9019ba7594b631cd Mon Sep 17 00:00:00 2001 From: xiazhiqi Date: Wed, 27 Sep 2023 11:34:58 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiazhiqi --- api/@ohos.window.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index ccb0dfdcb..9fa377330 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -203,7 +203,16 @@ declare namespace window { * @StageModelOnly * @since 9 */ - TYPE_SCREENSHOT + TYPE_SCREENSHOT, + /** + * Top Toast. + * + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi Hide this for inner system use. + * @StageModelOnly + * @since 10 + */ + TYPE_TOP_TOAST, } /** From 6c21014b8eee7af1759207770ac2beb199225cb3 Mon Sep 17 00:00:00 2001 From: xiazhiqi Date: Wed, 27 Sep 2023 18:02:26 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8D=87=E7=BA=A711API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia17a2d3206afc3a4ebedd0a432b555a3afde2cd9 Signed-off-by: xiazhiqi --- api/@ohos.window.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 9fa377330..a10244ad3 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -210,7 +210,7 @@ declare namespace window { * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. * @StageModelOnly - * @since 10 + * @since 11 */ TYPE_TOP_TOAST, } From 627fd398a52f2ac3b596b70cf6ba888f88085d21 Mon Sep 17 00:00:00 2001 From: xiazhiqi Date: Thu, 28 Sep 2023 10:00:14 +0800 Subject: [PATCH 3/3] add comma Change-Id: I09f66308268abee8edc15a49780770735b23d084 Signed-off-by: xiazhiqi --- api/@ohos.window.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index a10244ad3..a7422f71b 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -205,14 +205,14 @@ declare namespace window { */ TYPE_SCREENSHOT, /** - * Top Toast. + * System Toast. * * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. * @StageModelOnly * @since 11 */ - TYPE_TOP_TOAST, + TYPE_SYSTEM_TOAST } /**