add metadata for hapModuleInfo

Signed-off-by: shilei <shilei91@huawei.com>
Change-Id: Ie08624c418e7b9b5fb5a42becb0dec40e633c902
This commit is contained in:
shilei 2022-02-27 08:24:18 +00:00
parent 4c8cf6205c
commit c520905ed9

View File

@ -15,6 +15,7 @@
import { AbilityInfo } from "./abilityInfo";
import { ExtensionAbilityInfo } from "./extensionAbilityInfo";
import { Metadata } from './metadata'
/**
* @name Obtains configuration information about an module.
@ -128,4 +129,11 @@ export interface HapModuleInfo {
* @syscap SystemCapability.BundleManager.BundleFramework
*/
readonly extensionAbilityInfo: Array<ExtensionAbilityInfo>;
/**
* @default Indicates the metadata of ability
* @since 9
* @syscap SystemCapability.BundleManager.BundleFramework
*
*/
readonly metadata: Array<Metadata>;
}