mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 10:21:25 -04:00
c470f7537b
update napi/query_syscap.js. 同步 master, 2022-04-24 新增,2023-05-24 最后一次修改; Signed-off-by: 严学舟 <yangang20@huawei.com>
22 lines
871 B
JavaScript
22 lines
871 B
JavaScript
/*
|
|
* Copyright (c) 2022-2023 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
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
// 首先需要通过requireInternal函数加载本模块
|
|
const systemCapability = requireInternal('systemCapability');
|
|
|
|
// 这里定义了模块对外暴露的所有api
|
|
export default {
|
|
querySystemCapabilities: systemCapability.querySystemCapabilities
|
|
}; |