diff --git a/api/@ohos.application.Want.d.ts b/api/@ohos.application.Want.d.ts index 6b2c2b0ae671dc0d0f36a7f79506d7801fa7e39d..1a54ebefd9e6dd0cff0c86d9681044c0147318b1 100644 --- a/api/@ohos.application.Want.d.ts +++ b/api/@ohos.application.Want.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -93,4 +93,12 @@ export default class Want { * @default - */ entities?: Array; -} \ No newline at end of file + + /** + * The description of an module name in an want. + * @since 9 + * @syscap SystemCapability.Ability.AbilityBase + * @default - + */ + moduleName?: string; +} diff --git a/api/bundle/elementName.d.ts b/api/bundle/elementName.d.ts index be8e31b4c20f5cd1c38b823c8784e4a8049e41c6..92f4628f8c0628e5cceb1d1079785301b9d25822 100644 --- a/api/bundle/elementName.d.ts +++ b/api/bundle/elementName.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -68,4 +68,13 @@ * @syscap SystemCapability.BundleManager.BundleFramework */ shortName?: string; + + /** + * module name + * @default - + * + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + moduleName?: string; }