From 3dd278f1837ecc80eb9b6b033ccb401353397a96 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Mon, 1 Sep 2025 03:13:09 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!25444?= =?UTF-8?q?=20:=20=E5=9B=9E=E9=80=80=20'Pull=20Request=20!25098=20:=20fix?= =?UTF-8?q?=20RecordData=200825''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.app.ability.AtomicServiceOptions.d.ts | 4 ++-- api/@ohos.app.ability.InsightIntentExecutor.d.ts | 16 ++++++++-------- api/@ohos.app.ability.OpenLinkOptions.d.ts | 4 ++-- ...os.app.ability.UIExtensionContentSession.d.ts | 12 ++++++------ api/@ohos.app.ability.Want.d.ts | 4 ++-- api/@ohos.app.ability.insightIntent.d.ts | 4 ++-- api/@ohos.app.ability.insightIntentDriver.d.ts | 4 ++-- api/@ohos.app.ability.wantAgent.d.ts | 4 ++-- api/application/CustomData.d.ts | 4 ++-- api/application/UIAbilityContext.d.ts | 8 ++++---- api/wantAgent/triggerInfo.d.ts | 8 ++++---- api/wantAgent/wantAgentInfo.d.ts | 8 ++++---- 12 files changed, 40 insertions(+), 40 deletions(-) diff --git a/api/@ohos.app.ability.AtomicServiceOptions.d.ts b/api/@ohos.app.ability.AtomicServiceOptions.d.ts index a79b05b458..05124dd601 100644 --- a/api/@ohos.app.ability.AtomicServiceOptions.d.ts +++ b/api/@ohos.app.ability.AtomicServiceOptions.d.ts @@ -60,11 +60,11 @@ export default class AtomicServiceOptions extends StartOptions { /** * The description of the WantParams object in an AtomicServiceOptions * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @since 20 * @arkts 1.2 */ - parameters?: RecordData; + parameters?: Record; } \ No newline at end of file diff --git a/api/@ohos.app.ability.InsightIntentExecutor.d.ts b/api/@ohos.app.ability.InsightIntentExecutor.d.ts index c435ac359c..9a082b80c3 100644 --- a/api/@ohos.app.ability.InsightIntentExecutor.d.ts +++ b/api/@ohos.app.ability.InsightIntentExecutor.d.ts @@ -67,7 +67,7 @@ declare class InsightIntentExecutor { * Called when a UIAbility executes the insight intent in the foreground. * * @param { string } name - Indicates the insight intent name. - * @param { RecordData } param - Indicates the insight intent parameters. + * @param { Record } param - Indicates the insight intent parameters. * @param { window.WindowStage } pageLoader - Indicates the page loader. * @returns { insightIntent.ExecuteResult | Promise } The result of * insight intent execution, support promise. @@ -76,7 +76,7 @@ declare class InsightIntentExecutor { * @since 20 * @arkts 1.2 */ - onExecuteInUIAbilityForegroundMode(name: string, param: RecordData, pageLoader: window.WindowStage): + onExecuteInUIAbilityForegroundMode(name: string, param: Record, pageLoader: window.WindowStage): insightIntent.ExecuteResult | Promise; /** @@ -97,7 +97,7 @@ declare class InsightIntentExecutor { * Called when a UIAbility executes the insight intent in the background. * * @param { string } name - Indicates the insight intent name. - * @param { RecordData } param - Indicates the insight intent parameters. + * @param { Record } param - Indicates the insight intent parameters. * @returns { insightIntent.ExecuteResult | Promise } The result of * insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore @@ -105,7 +105,7 @@ declare class InsightIntentExecutor { * @since 20 * @arkts 1.2 */ - onExecuteInUIAbilityBackgroundMode(name: string, param: RecordData): + onExecuteInUIAbilityBackgroundMode(name: string, param: Record): insightIntent.ExecuteResult | Promise; /** @@ -126,7 +126,7 @@ declare class InsightIntentExecutor { * Called when a UIExtensionAbility executes the insight intent. * * @param { string } name - Indicates the insight intent name. - * @param { RecordData } param - Indicates the insight intent parameters. + * @param { Record } param - Indicates the insight intent parameters. * @param { UIExtensionContentSession } pageLoader - Indicates the page loader. * @returns { insightIntent.ExecuteResult | Promise } The result of * insight intent execution, support promise. @@ -135,7 +135,7 @@ declare class InsightIntentExecutor { * @since 20 * @arkts 1.2 */ - onExecuteInUIExtensionAbility(name: string, param: RecordData, pageLoader: UIExtensionContentSession): + onExecuteInUIExtensionAbility(name: string, param: Record, pageLoader: UIExtensionContentSession): insightIntent.ExecuteResult | Promise; /** @@ -155,7 +155,7 @@ declare class InsightIntentExecutor { * Called when a ServiceExtensionAbility executes the insight intent. * * @param { string } name - Indicates the insight intent name. - * @param { RecordData } param - Indicates the insight intent parameters. + * @param { Record } param - Indicates the insight intent parameters. * @returns { insightIntent.ExecuteResult | Promise } The result of * insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.Core @@ -163,7 +163,7 @@ declare class InsightIntentExecutor { * @since 20 * @arkts 1.2 */ - onExecuteInServiceExtensionAbility(name: string, param: RecordData): + onExecuteInServiceExtensionAbility(name: string, param: Record): insightIntent.ExecuteResult | Promise; } diff --git a/api/@ohos.app.ability.OpenLinkOptions.d.ts b/api/@ohos.app.ability.OpenLinkOptions.d.ts index aa8859f729..388fa79d5d 100644 --- a/api/@ohos.app.ability.OpenLinkOptions.d.ts +++ b/api/@ohos.app.ability.OpenLinkOptions.d.ts @@ -60,11 +60,11 @@ export default interface OpenLinkOptions { /** * OpenLinkOptions parameters in the form of custom key-value pairs. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @since 20 * @arkts 1.2 */ - parameters?: RecordData; + parameters?: Record; } diff --git a/api/@ohos.app.ability.UIExtensionContentSession.d.ts b/api/@ohos.app.ability.UIExtensionContentSession.d.ts index fc8a730d0e..fc11f36164 100644 --- a/api/@ohos.app.ability.UIExtensionContentSession.d.ts +++ b/api/@ohos.app.ability.UIExtensionContentSession.d.ts @@ -73,7 +73,7 @@ declare class UIExtensionContentSession { /** * Send data from an ui extension to an ui extension component. * - * @param { RecordData } data - Indicates the data send to ui extension component. + * @param { Record } data - Indicates the data send to ui extension component. * @throws { BusinessError } 202 - Not System App. Interface caller is not a system app. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core @@ -82,7 +82,7 @@ declare class UIExtensionContentSession { * @since 20 * @arkts 1.2 */ - sendData(data: RecordData): void; + sendData(data: Record): void; /** * Sets the callback for the ui extension to receive data from an ui extension component. @@ -613,7 +613,7 @@ declare class UIExtensionContentSession { * If the caller application is in the background, it is not allowed to call this interface. * * @param { string } type - The type of target ability. - * @param { RecordData } wantParam - Indicates the want parameter. + * @param { Record } wantParam - Indicates the want parameter. * @param { AbilityStartCallback } abilityStartCallback - Indicates the abilityStartCallback. * @param { AsyncCallback } callback - The callback of startAbility. * @throws { BusinessError } 16000050 - Internal error. @@ -622,7 +622,7 @@ declare class UIExtensionContentSession { * @since 20 * @arkts 1.2 */ - startAbilityByType(type: string, wantParam: RecordData, + startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback, callback: AsyncCallback): void; /** @@ -669,7 +669,7 @@ declare class UIExtensionContentSession { * If the caller application is in the background, it is not allowed to call this interface. * * @param { string } type - The type of target ability. - * @param { RecordData } wantParam - Indicates the want parameter. + * @param { Record } wantParam - Indicates the want parameter. * @param { AbilityStartCallback } abilityStartCallback - Indicates the abilityStartCallback. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 16000050 - Internal error. @@ -678,7 +678,7 @@ declare class UIExtensionContentSession { * @since 20 * @arkts 1.2 */ - startAbilityByType(type: string, wantParam: RecordData, + startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback): Promise; /** diff --git a/api/@ohos.app.ability.Want.d.ts b/api/@ohos.app.ability.Want.d.ts index 8479c4f9c9..c41234d2b7 100644 --- a/api/@ohos.app.ability.Want.d.ts +++ b/api/@ohos.app.ability.Want.d.ts @@ -310,12 +310,12 @@ export default class Want { /** * The description of the WantParams object in an Want * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityBase * @since 20 * @arkts 1.2 */ - parameters?: RecordData; + parameters?: Record; /** * The description of a entities in a Want. diff --git a/api/@ohos.app.ability.insightIntent.d.ts b/api/@ohos.app.ability.insightIntent.d.ts index b39edf40f1..662d7aa907 100644 --- a/api/@ohos.app.ability.insightIntent.d.ts +++ b/api/@ohos.app.ability.insightIntent.d.ts @@ -127,13 +127,13 @@ declare namespace insightIntent { /** * Indicates execute result. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @since 20 * @arkts 1.2 */ - result?: RecordData; + result?: Record; /** * Indicates the URIs will be authorized to the insight intent driver. diff --git a/api/@ohos.app.ability.insightIntentDriver.d.ts b/api/@ohos.app.ability.insightIntentDriver.d.ts index 5cf3f5d7ea..e18135280e 100644 --- a/api/@ohos.app.ability.insightIntentDriver.d.ts +++ b/api/@ohos.app.ability.insightIntentDriver.d.ts @@ -110,14 +110,14 @@ declare namespace insightIntentDriver { /** * Indicates the insight intent param. * - * @type { RecordData } + * @type { Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly * @since 20 * @arkts 1.2 */ - insightIntentParam: RecordData; + insightIntentParam: Record; /** * Indicates the execute mode. diff --git a/api/@ohos.app.ability.wantAgent.d.ts b/api/@ohos.app.ability.wantAgent.d.ts index 38157f48e5..085083cf2f 100644 --- a/api/@ohos.app.ability.wantAgent.d.ts +++ b/api/@ohos.app.ability.wantAgent.d.ts @@ -980,12 +980,12 @@ declare namespace wantAgent { /** * Extra information. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @since 20 * @arkts 1.2 */ - extraInfo?: RecordData; + extraInfo?: Record; } /** diff --git a/api/application/CustomData.d.ts b/api/application/CustomData.d.ts index 9cd994b842..a5822c3e0e 100644 --- a/api/application/CustomData.d.ts +++ b/api/application/CustomData.d.ts @@ -51,12 +51,12 @@ export default interface CustomData { * User defined data. When the modal window of AutoFillExtension needs to be raised again, * pass this parameter to the application framework. * - * @type { RecordData } + * @type { Record } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly * @since 20 * @arkts 1.2 */ - data: RecordData; + data: Record; } \ No newline at end of file diff --git a/api/application/UIAbilityContext.d.ts b/api/application/UIAbilityContext.d.ts index 5e9fc72d02..2a723015b1 100644 --- a/api/application/UIAbilityContext.d.ts +++ b/api/application/UIAbilityContext.d.ts @@ -4536,7 +4536,7 @@ declare class UIAbilityContext extends Context { * If the caller application is in the background, it is not allowed to call this interface. * * @param { string } type - The type of target ability. - * @param { RecordData } wantParam - Indicates the want parameter. + * @param { Record } wantParam - Indicates the want parameter. * @param { AbilityStartCallback } abilityStartCallback - Indicates the abilityStartCallback. * @param { AsyncCallback } callback - The callback of startAbility. * @throws { BusinessError } 16000050 - Internal error. @@ -4545,7 +4545,7 @@ declare class UIAbilityContext extends Context { * @since 20 * @arkts 1.2 */ - startAbilityByType(type: string, wantParam: RecordData, + startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback, callback: AsyncCallback): void; /** @@ -4594,7 +4594,7 @@ declare class UIAbilityContext extends Context { * If the caller application is in the background, it is not allowed to call this interface. * * @param { string } type - The type of target ability. - * @param { RecordData } wantParam - Indicates the want parameter. + * @param { Record } wantParam - Indicates the want parameter. * @param { AbilityStartCallback } abilityStartCallback - Indicates the abilityStartCallback. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 16000050 - Internal error. @@ -4603,7 +4603,7 @@ declare class UIAbilityContext extends Context { * @since 20 * @arkts 1.2 */ - startAbilityByType(type: string, wantParam: RecordData, + startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback): Promise; /** diff --git a/api/wantAgent/triggerInfo.d.ts b/api/wantAgent/triggerInfo.d.ts index 1a1adaaa06..3f830215e6 100644 --- a/api/wantAgent/triggerInfo.d.ts +++ b/api/wantAgent/triggerInfo.d.ts @@ -129,12 +129,12 @@ export interface TriggerInfo { /** * Custom extra data you want to add for triggering a WantAgent. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @since 20 * @arkts 1.2 */ - extraInfo?: RecordData; + extraInfo?: Record; /** * Custom extra data you want to add for triggering a WantAgent. @@ -159,12 +159,12 @@ export interface TriggerInfo { * Custom extra data you want to add for triggering a WantAgent. * The ability of this property is same as extraInfo. If both are set, this property will be used. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @since 20 * @arkts 1.2 */ - extraInfos?: RecordData; + extraInfos?: Record; /** * Specific options for triggering a wantagent which is used for starting an ability. diff --git a/api/wantAgent/wantAgentInfo.d.ts b/api/wantAgent/wantAgentInfo.d.ts index 0692bd4def..0b386c68b2 100644 --- a/api/wantAgent/wantAgentInfo.d.ts +++ b/api/wantAgent/wantAgentInfo.d.ts @@ -181,12 +181,12 @@ export interface WantAgentInfo { * Extra information about how the Want starts an ability. * If there is no extra information to set, this constant can be left empty. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @since 20 * @arkts 1.2 */ - extraInfo?: RecordData; + extraInfo?: Record; /** * Extra information about how the Want starts an ability. @@ -214,12 +214,12 @@ export interface WantAgentInfo { * If there is no extra information to set, this constant can be left empty. * The ability of this property is same as extraInfo. If both are set, this property will be used. * - * @type { ?RecordData } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @since 20 * @arkts 1.2 */ - extraInfos?: RecordData; + extraInfos?: Record; } /** -- Gitee