From 2074aefd97f313dd33a8b2fd0db1c341f1482c87 Mon Sep 17 00:00:00 2001 From: BrainL Date: Mon, 1 Sep 2025 14:28:47 +0800 Subject: [PATCH] taihe 0702 to 0728 Signed-off-by: BrainL --- kits/@kit.CoreFileKit.d.ts | 11 +++++++---- kits/@kit.DistributedServiceKit.d.ts | 12 +++++++++++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/kits/@kit.CoreFileKit.d.ts b/kits/@kit.CoreFileKit.d.ts index da5144379c..5d94583f07 100644 --- a/kits/@kit.CoreFileKit.d.ts +++ b/kits/@kit.CoreFileKit.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 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 @@ -67,12 +67,15 @@ import { import hash from '@ohos.file.hash'; import securityLabel from '@ohos.file.securityLabel'; import statfs from '@ohos.file.statvfs'; +import storageStatistics from '@ohos.file.storageStatistics'; +import volumeManager from '@ohos.file.volumeManager'; +import keyManager from '@ohos.file.keyManager'; import fileShare from '@ohos.fileshare'; export { BackupExtensionAbility, BundleVersion, ConflictFiles, Environment, Filter, Options, ReaderIteratorResult, WatchEvent, WatchEventListener, Watcher, ReadOptions, ReadTextOptions, WriteOptions, ListFileOptions, - cloudSync, cloudSyncManager, fileIo, fileShare, fileUri, hash, securityLabel, statfs, DfsListeners, - TaskSignal + cloudSync, cloudSyncManager, fileIo, fileShare, fileUri, hash, securityLabel, statfs, + storageStatistics, volumeManager, keyManager, DfsListeners, TaskSignal }; -/*** endif */ \ No newline at end of file +/*** endif */ diff --git a/kits/@kit.DistributedServiceKit.d.ts b/kits/@kit.DistributedServiceKit.d.ts index 27b463c5a2..627d8003e9 100644 --- a/kits/@kit.DistributedServiceKit.d.ts +++ b/kits/@kit.DistributedServiceKit.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 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 @@ -18,6 +18,7 @@ * @kit DistributedServiceKit */ +/*** if arkts 1.1 */ import cooperate from '@ohos.cooperate'; import distributedDeviceManager from '@ohos.distributedDeviceManager'; import deviceManager from '@ohos.distributedHardware.deviceManager'; @@ -32,3 +33,12 @@ export { cooperate, deviceManager, distributedDeviceManager, hardwareManager, abilityConnectionManager, linkEnhance, DistributedExtensionAbility, DistributedExtensionContext, proxyChannelManager }; +/*** endif */ + +/*** if arkts 1.2 */ +import distributedDeviceManager from '@ohos.distributedDeviceManager'; + +export { + distributedDeviceManager +}; +/*** endif */ -- Gitee