From 905241602382513cd2106ceb0226187ba9c2c50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Wed, 13 Aug 2025 14:29:54 +0000 Subject: [PATCH 01/11] =?UTF-8?q?update=EF=BC=9AdeleteEvent=E3=80=81delete?= =?UTF-8?q?Events=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 067e0d955f..bd88ebea10 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -332,6 +332,7 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvent(id: number): Promise; @@ -341,6 +342,7 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvent(id: number, callback: AsyncCallback): void; @@ -350,6 +352,7 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvents(ids: number[]): Promise; @@ -359,6 +362,7 @@ declare namespace calendarManager { * @param { number[] } ids - Indicates the IDs of multiple events. * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 10 */ deleteEvents(ids: number[], callback: AsyncCallback): void; -- Gitee From b931c2f2dc601147bf4f1783e6a6a153738e4009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Thu, 14 Aug 2025 06:15:59 +0000 Subject: [PATCH 02/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 36 ++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index bd88ebea10..06aac2ce56 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -332,9 +332,16 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete a single event. + * @param { number } id - Indicates the ID of an event. + * @returns { Promise } The promise returned by function. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvent(id: number): Promise; /** @@ -342,9 +349,16 @@ declare namespace calendarManager { * @param { number } id - Indicates the ID of an event. * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete a single event. + * @param { number } id - Indicates the ID of an event. + * @param {AsyncCallback} callback - The callback of deleteEvent. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvent(id: number, callback: AsyncCallback): void; /** @@ -352,9 +366,16 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete multiple events. + * @param { number[] } ids - The id array of multiple events. + * @returns { Promise } The promise returned by function. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvents(ids: number[]): Promise; /** @@ -362,9 +383,16 @@ declare namespace calendarManager { * @param { number[] } ids - Indicates the IDs of multiple events. * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice * @since 10 */ + /** + * Delete multiple events. + * @param { number[] } ids - Indicates the IDs of multiple events. + * @param {AsyncCallback} callback - The callback of deleteEvents. + * @syscap SystemCapability.Applications.CalendarData + * @atomicservice + * @since 21 + */ deleteEvents(ids: number[], callback: AsyncCallback): void; /** -- Gitee From ad7224ed0b39060c57d9ce9b2a972b0dcb94fe62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Thu, 14 Aug 2025 11:12:43 +0000 Subject: [PATCH 03/11] update: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 06aac2ce56..3ae09c4db5 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvent(id: number): Promise; @@ -357,7 +357,7 @@ declare namespace calendarManager { * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvent(id: number, callback: AsyncCallback): void; @@ -374,7 +374,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvents(ids: number[]): Promise; @@ -391,7 +391,7 @@ declare namespace calendarManager { * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 21 + * @since 20 */ deleteEvents(ids: number[], callback: AsyncCallback): void; -- Gitee From 8cb7dc18cbf3069d1347b386f95557738100615b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Fri, 15 Aug 2025 10:02:16 +0000 Subject: [PATCH 04/11] =?UTF-8?q?update=EF=BC=9AdeleteEvent=E3=80=81delete?= =?UTF-8?q?Events=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 3ae09c4db5..e0ee268d6a 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -351,14 +351,6 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ - /** - * Delete a single event. - * @param { number } id - Indicates the ID of an event. - * @param {AsyncCallback} callback - The callback of deleteEvent. - * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 20 - */ deleteEvent(id: number, callback: AsyncCallback): void; /** @@ -385,14 +377,6 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ - /** - * Delete multiple events. - * @param { number[] } ids - Indicates the IDs of multiple events. - * @param {AsyncCallback} callback - The callback of deleteEvents. - * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 20 - */ deleteEvents(ids: number[], callback: AsyncCallback): void; /** -- Gitee From 4b113011071d6e740add54ad0ede32238d9edf12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 02:22:04 +0000 Subject: [PATCH 05/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index e0ee268d6a..0fcc3d41a9 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 20 + * @since 19 */ deleteEvent(id: number): Promise; @@ -366,7 +366,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 20 + * @since 19 */ deleteEvents(ids: number[]): Promise; -- Gitee From 1554fbe6796d3296ed9c543fcc2bc13acf9e3fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 07:43:21 +0000 Subject: [PATCH 06/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 0fcc3d41a9..60439104a2 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,8 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since 19 + * @since arkts{'1.1':'19','1.2':'20'} + * @arkts 1.1&1.2 */ deleteEvent(id: number): Promise; @@ -365,8 +366,8 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 19 + * @since arkts{'1.1':'19','1.2':'20'} + * @arkts 1.1&1.2 */ deleteEvents(ids: number[]): Promise; -- Gitee From 02bb5bcdcd2977533393c8406720ba5aaaaec577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:19:06 +0000 Subject: [PATCH 07/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 60439104a2..1d8e07770b 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -341,7 +341,7 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @atomicservice * @since arkts{'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 19 */ deleteEvent(id: number): Promise; @@ -366,8 +366,7 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData - * @since arkts{'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 */ deleteEvents(ids: number[]): Promise; -- Gitee From efebf5fe2ab789d6ed741d22e8bf3b31fa570f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:20:31 +0000 Subject: [PATCH 08/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 1d8e07770b..0fbb2983ce 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,6 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @since arkts{'1.1':'19','1.2':'20'} * @arkts 19 */ deleteEvent(id: number): Promise; -- Gitee From d195227a869f44c2c8ca53848edea625204ad9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:23:53 +0000 Subject: [PATCH 09/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 0fbb2983ce..2bfc5c7836 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -365,6 +365,7 @@ declare namespace calendarManager { * @param { number[] } ids - The id array of multiple events. * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData + * @atomicservice * @since 19 */ deleteEvents(ids: number[]): Promise; -- Gitee From abd1a79340cdc7d09dd12928afd3978193d3fe1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Sat, 16 Aug 2025 08:25:18 +0000 Subject: [PATCH 10/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 2bfc5c7836..0fcc3d41a9 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -340,7 +340,7 @@ declare namespace calendarManager { * @returns { Promise } The promise returned by function. * @syscap SystemCapability.Applications.CalendarData * @atomicservice - * @arkts 19 + * @since 19 */ deleteEvent(id: number): Promise; -- Gitee From f3f365545acfda2571a86f7904eaad033c08a492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E8=B6=85=E6=B4=8B?= <2656338986@qq.com> Date: Mon, 18 Aug 2025 03:26:11 +0000 Subject: [PATCH 11/11] =?UTF-8?q?update=20deleteEvent=E3=80=81deleteEvents?= =?UTF-8?q?=E5=85=83=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E6=89=93=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 渠超洋 <2656338986@qq.com> --- api/@ohos.calendarManager.d.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index 0fcc3d41a9..579a6d245c 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -334,22 +334,22 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ + deleteEvent(id: number): Promise; + /** * Delete a single event. * @param { number } id - Indicates the ID of an event. - * @returns { Promise } The promise returned by function. + * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 19 + * @since 10 */ - deleteEvent(id: number): Promise; - /** * Delete a single event. * @param { number } id - Indicates the ID of an event. * @param {AsyncCallback} callback - The callback of deleteEvent. * @syscap SystemCapability.Applications.CalendarData - * @since 10 + * @atomicservice + * @since 19 */ deleteEvent(id: number, callback: AsyncCallback): void; @@ -360,22 +360,22 @@ declare namespace calendarManager { * @syscap SystemCapability.Applications.CalendarData * @since 10 */ + deleteEvents(ids: number[]): Promise; + /** * Delete multiple events. - * @param { number[] } ids - The id array of multiple events. - * @returns { Promise } The promise returned by function. + * @param { number[] } ids - Indicates the IDs of multiple events. + * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData - * @atomicservice - * @since 19 + * @since 10 */ - deleteEvents(ids: number[]): Promise; - /** * Delete multiple events. * @param { number[] } ids - Indicates the IDs of multiple events. * @param {AsyncCallback} callback - The callback of deleteEvents. * @syscap SystemCapability.Applications.CalendarData - * @since 10 + * @atomicservice + * @since 19 */ deleteEvents(ids: number[], callback: AsyncCallback): void; -- Gitee