mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-22 10:17:51 +00:00
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:
parent
ed53c754e0
commit
a26893f5d9
12
api/@ohos.application.Want.d.ts
vendored
12
api/@ohos.application.Want.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
11
api/bundle/elementName.d.ts
vendored
11
api/bundle/elementName.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user