From a26893f5d90e5559a5ffeba46b0b125e8ab8ad8d Mon Sep 17 00:00:00 2001 From: zhoujun62 Date: Tue, 10 May 2022 10:11:01 +0800 Subject: [PATCH] IssueNo:#I568ZM:add module name to 'want' in sdk Description:add module name to 'want' in sdk Sig:SIG_ApplicationFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: zhoujun62 Change-Id: Ia456b2de66bdff3341b21bee4565065a143194c3 --- api/@ohos.application.Want.d.ts | 12 ++++++++++-- api/bundle/elementName.d.ts | 11 ++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/api/@ohos.application.Want.d.ts b/api/@ohos.application.Want.d.ts index 6b2c2b0ae6..1a54ebefd9 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 be8e31b4c2..92f4628f8c 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; } -- Gitee