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 <zhoujun62@huawei.com>
Change-Id: Ia456b2de66bdff3341b21bee4565065a143194c3
This commit is contained in:
zhoujun62 2022-05-10 10:11:01 +08:00
parent ed53c754e0
commit a26893f5d9
2 changed files with 20 additions and 3 deletions

View File

@ -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<string>;
}
/**
* The description of an module name in an want.
* @since 9
* @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
moduleName?: string;
}

View File

@ -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;
}