From 15a7b11269be690c93028d06825f19ed1988d69c Mon Sep 17 00:00:00 2001 From: lanhaoyu Date: Sat, 7 Jun 2025 11:09:32 +0800 Subject: [PATCH] bms arkts 1.2 Signed-off-by: lanhaoyu --- kits/@kit.AbilityKit.d.ts | 8 +++++++- kits/@kit.BasicServicesKit.d.ts | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/kits/@kit.AbilityKit.d.ts b/kits/@kit.AbilityKit.d.ts index 943347b17a..3e5c9de4b8 100644 --- a/kits/@kit.AbilityKit.d.ts +++ b/kits/@kit.AbilityKit.d.ts @@ -136,17 +136,23 @@ import { } from '@ohos.app.ability.UIAbility'; import wantAgent from '@ohos.app.ability.wantAgent'; import { WantAgent } from '@ohos.app.ability.wantAgent'; +import appControl from '@ohos.bundle.appControl'; import bundleManager from '@ohos.bundle.bundleManager'; import bundleMonitor from '@ohos.bundle.bundleMonitor'; import bundleResourceManager from '@ohos.bundle.bundleResourceManager'; +import defaultAppManager from '@ohos.bundle.defaultAppManager'; +import distributedBundleManager from '@ohos.bundle.distributedBundleManager'; +import freeInstall from '@ohos.bundle.freeInstall'; import installer from '@ohos.bundle.installer'; import launcherBundleManager from '@ohos.bundle.launcherBundleManager'; +import overlay from '@ohos.bundle.overlay'; import shortcutManager from '@ohos.bundle.shortcutManager'; export { common, ConfigurationConstant, Configuration, Want, StartOptions, contextConstant, AbilityConstant, UIExtensionContentSession, wantConstant, UIAbility, Callee, Caller, OnReleaseCallback, AbilityStage, UIExtensionAbility, uriPermissionManager, ServiceExtensionAbility, wantAgent, WantAgent, - bundleManager, bundleMonitor, bundleResourceManager, installer, launcherBundleManager, shortcutManager + appControl, bundleManager, bundleMonitor, bundleResourceManager, defaultAppManager, distributedBundleManager, + freeInstall, installer, launcherBundleManager, overlay, shortcutManager }; /*** endif */ diff --git a/kits/@kit.BasicServicesKit.d.ts b/kits/@kit.BasicServicesKit.d.ts index c5f1ca0a12..4d80e2a504 100644 --- a/kits/@kit.BasicServicesKit.d.ts +++ b/kits/@kit.BasicServicesKit.d.ts @@ -83,3 +83,11 @@ export { systemTimer, thermal, update, usb, usbManager, serialManager, wallpaper, zlib, commonEventManager, emitter, StaticSubscriberExtensionAbility, StaticSubscriberExtensionContext, systemLoad, intelligentVoice }; + +/*** if arkts 1.2 */ +import zlib from '@ohos.zlib'; + +export { + zlib +}; +/*** endif */ -- Gitee