From 8ff8001a4ba921ac7f841635269efd35b7e90c05 Mon Sep 17 00:00:00 2001 From: wangtiantian Date: Tue, 22 Feb 2022 11:59:01 +0800 Subject: [PATCH] IssueNo: #I4UPBF : modify bms api Description: modify bms api SIG_ApplicaitonFramework Feature or Bugfix:BugFix Binary Source:No Signed-off-by: wangtiantian --- api/@ohos.bundle.d.ts | 7 ----- api/bundle/abilityInfo.d.ts | 47 --------------------------------- api/bundle/applicationInfo.d.ts | 7 ----- api/bundle/bundleInfo.d.ts | 4 +-- 4 files changed, 2 insertions(+), 63 deletions(-) diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index f343494701..397678598d 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -306,13 +306,6 @@ declare namespace bundle { * @syscap SystemCapability.BundleManager.BundleFramework */ userId?: number; - - /** - * @default Indicates the network id - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - */ - networkId?: string; } /** diff --git a/api/bundle/abilityInfo.d.ts b/api/bundle/abilityInfo.d.ts index 28664606de..87bd8399bc 100644 --- a/api/bundle/abilityInfo.d.ts +++ b/api/bundle/abilityInfo.d.ts @@ -201,46 +201,6 @@ export interface AbilityInfo { */ readonly applicationInfo: ApplicationInfo; - /** - * @default Where form can be displayed - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - * @FAModelOnly - */ - readonly formEntity: number; - - /** - * @default Minimum height of ability. - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - * @FAModelOnly - */ - readonly minFormHeight: number; - - /** - * @default Default height of ability - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - * @FAModelOnly - */ - readonly defaultFormHeight: number; - - /** - * @default Minimum width of ability - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - * @FAModelOnly - */ - readonly minFormWidth: number; - - /** - * @default Default width of ability - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - * @FAModelOnly - */ - readonly defaultFormWidth: number; - /** * @default Uri of ability * @since 7 @@ -249,13 +209,6 @@ export interface AbilityInfo { */ readonly uri: string; - /** - * @default Indicates the custom metadata of ability - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - */ - customizeData: Map>; - /** * @default Indicates the metadata of ability * @since 8 diff --git a/api/bundle/applicationInfo.d.ts b/api/bundle/applicationInfo.d.ts index 380eeac770..469e18a970 100644 --- a/api/bundle/applicationInfo.d.ts +++ b/api/bundle/applicationInfo.d.ts @@ -137,13 +137,6 @@ export interface ApplicationInfo { */ readonly codePath: string; - /** - * @default Indicates the custom metadata of the application - * @since 7 - * @syscap SystemCapability.BundleManager.BundleFramework - */ - customizeData: Map; - /** * @default Indicates the metadata of module * @since 8 diff --git a/api/bundle/bundleInfo.d.ts b/api/bundle/bundleInfo.d.ts index a5814f744f..dddca46433 100644 --- a/api/bundle/bundleInfo.d.ts +++ b/api/bundle/bundleInfo.d.ts @@ -136,7 +136,7 @@ export interface BundleInfo { * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework */ - readonly abilityInfo: Array; + readonly abilityInfos: Array; /** * @default Indicates the required permissions name defined in file config.json @@ -199,7 +199,7 @@ export interface BundleInfo { * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework */ - readonly hapModuleInfo: Array; + readonly hapModuleInfos: Array; /** * @default Indicates entry module name -- Gitee