From 6bf791db92d1d462b4e3bb7a1a57d527be29e5d1 Mon Sep 17 00:00:00 2001 From: m30043719 Date: Mon, 11 Mar 2024 17:51:34 +0800 Subject: [PATCH] =?UTF-8?q?ContinuableInfo=E7=BB=93=E6=9E=84=E4=BD=93?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0srcBundleName=E5=92=8CcontinueType=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issue: https://gitee.com/xdmal/interface_sdk-js_1/issues/I97KF7 Signed-off-by: m30043719 --- api/application/ContinuableInfo.d.ts | 25 ++++++++++++++++++++---- api/application/ContinueMissionInfo.d.ts | 20 ++++++++++++++++++- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/api/application/ContinuableInfo.d.ts b/api/application/ContinuableInfo.d.ts index 91868cb801..d086ef513b 100644 --- a/api/application/ContinuableInfo.d.ts +++ b/api/application/ContinuableInfo.d.ts @@ -25,20 +25,37 @@ export interface ContinuableInfo { /** * Indicates the original deviceId to continue mission. * - * @type {string} + * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system user. * @since 10 */ srcDeviceId: string; - /** - * Indicates bundle name. + * Indicates the bundle name of the destination to continue. * - * @type {string} + * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system user. * @since 10 */ bundleName: string; + /** + * Indicates the original bundle name to continue mission. + * + * @type { ?string } + * @syscap SystemCapability.Ability.AbilityRuntime.Mission + * @systemapi Hide this for inner system user. + * @since 12 + */ + srcBundleName?: string; + /** + * Indicates continue type. + * + * @type { ?string } + * @syscap SystemCapability.Ability.AbilityRuntime.Mission + * @systemapi Hide this for inner system user. + * @since 12 + */ + continueType?: string; } \ No newline at end of file diff --git a/api/application/ContinueMissionInfo.d.ts b/api/application/ContinueMissionInfo.d.ts index 591966b12e..2467bd35b1 100644 --- a/api/application/ContinueMissionInfo.d.ts +++ b/api/application/ContinueMissionInfo.d.ts @@ -41,7 +41,7 @@ export interface ContinueMissionInfo { */ dstDeviceId: string; /** - * Indicates the bundle to continue. + * Indicates the bundle name of the destination to continue. * * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Mission @@ -49,6 +49,24 @@ export interface ContinueMissionInfo { * @since 10 */ bundleName: string; + /** + * Indicates the original bundle name to continue mission. + * + * @type { ?string } + * @syscap SystemCapability.Ability.AbilityRuntime.Mission + * @systemapi Hide this for inner system user. + * @since 12 + */ + srcBundleName?: string; + /** + * Indicates continue type. + * + * @type { ?string } + * @syscap SystemCapability.Ability.AbilityRuntime.Mission + * @systemapi Hide this for inner system user. + * @since 12 + */ + continueType?: string; /** * Indicates the extended param. * -- Gitee