diff --git a/api/bundle/bundleInstaller.d.ts b/api/bundle/bundleInstaller.d.ts index 671798824333ac80949166ca22e13b36df5794ac..b7a6539ffdc10d1729c63793aadf1eb24590bbf7 100644 --- a/api/bundle/bundleInstaller.d.ts +++ b/api/bundle/bundleInstaller.d.ts @@ -44,6 +44,13 @@ export interface InstallParam { * @syscap SystemCapability.BundleManager.BundleFramework */ isKeepData: boolean; + + /** + * @default Indicates whether to install a service or not + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + isHmService: boolean; } /** diff --git a/api/bundle/hapModuleInfo.d.ts b/api/bundle/hapModuleInfo.d.ts index 477ca86021fed8caf1c892dee53f3f2de6160065..5b8fc2dd78c2819c5e81db8e71b2e81619ee7fc9 100644 --- a/api/bundle/hapModuleInfo.d.ts +++ b/api/bundle/hapModuleInfo.d.ts @@ -115,7 +115,6 @@ export interface HapModuleInfo { * @syscap SystemCapability.BundleManager.BundleFramework */ readonly installationFree: boolean; - /** * @default Indicates main elementName of the module * @since 8 @@ -136,4 +135,11 @@ export interface HapModuleInfo { * */ readonly metadata: Array; + /** + * @default Indicates whether the bundle is a service + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + * + */ + readonly isHmService: boolean; } \ No newline at end of file