From 010e47054b7f98302eaebae935896179ddd9153c Mon Sep 17 00:00:00 2001 From: wangcaoyu Date: Mon, 11 Dec 2023 17:08:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?kit=E8=84=9A=E6=9C=AC=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=8F=8A=E6=96=87=E4=BB=B6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangcaoyu --- api/@ohos.InputMethodExtensionAbility.d.ts | 5 + api/@ohos.InputMethodExtensionContext.d.ts | 5 + api/@ohos.InputMethodSubtype.d.ts | 5 + api/@ohos.PiPWindow.d.ts | 5 + api/@ohos.UiTest.d.ts | 5 + api/@ohos.WallpaperExtensionAbility.d.ts | 5 + api/@ohos.WorkSchedulerExtensionAbility.d.ts | 5 + api/@ohos.ability.ability.d.ts | 5 + api/@ohos.ability.dataUriUtils.d.ts | 5 + api/@ohos.ability.errorCode.d.ts | 5 + api/@ohos.ability.featureAbility.d.ts | 5 + api/@ohos.ability.particleAbility.d.ts | 5 + api/@ohos.ability.wantConstant.d.ts | 5 + api/@ohos.abilityAccessCtrl.d.ts | 5 + api/@ohos.accessibility.GesturePath.d.ts | 5 + api/@ohos.accessibility.GesturePoint.d.ts | 5 + api/@ohos.accessibility.config.d.ts | 5 + api/@ohos.accessibility.d.ts | 5 + api/@ohos.account.appAccount.d.ts | 5 + api/@ohos.account.distributedAccount.d.ts | 5 + api/@ohos.account.osAccount.d.ts | 5 + api/@ohos.advertising.AdComponent.d.ets | 5 + ...dvertising.AdsServiceExtensionAbility.d.ts | 5 + api/@ohos.advertising.AutoAdComponent.d.ets | 5 + api/@ohos.advertising.d.ts | 5 + api/@ohos.ai.intelligentVoice.d.ts | 5 + api/@ohos.ai.mindSporeLite.d.ts | 5 + ...ohos.animation.windowAnimationManager.d.ts | 5 + api/@ohos.animator.d.ts | 5 + api/@ohos.app.ability.Ability.d.ts | 5 + api/@ohos.app.ability.AbilityConstant.d.ts | 5 + ....app.ability.AbilityLifecycleCallback.d.ts | 5 + api/@ohos.app.ability.AbilityStage.d.ts | 5 + ...os.app.ability.ActionExtensionAbility.d.ts | 5 + ...bility.ApplicationStateChangeCallback.d.ts | 5 + ....app.ability.AutoFillExtensionAbility.d.ts | 5 + api/@ohos.app.ability.ChildProcess.d.ts | 5 + api/@ohos.app.ability.Configuration.d.ts | 5 + ...hos.app.ability.ConfigurationConstant.d.ts | 5 + ...os.app.ability.DriverExtensionAbility.d.ts | 5 + ...@ohos.app.ability.EnvironmentCallback.d.ts | 5 + api/@ohos.app.ability.ExtensionAbility.d.ts | 5 + ...ohos.app.ability.InsightIntentContext.d.ts | 5 + ...hos.app.ability.InsightIntentExecutor.d.ts | 5 + ....ability.MediaControlExtensionAbility.d.ts | 5 + ...hos.app.ability.PrintExtensionAbility.d.ts | 5 + ...s.app.ability.ServiceExtensionAbility.d.ts | 5 + ...hos.app.ability.ShareExtensionAbility.d.ts | 5 + api/@ohos.app.ability.StartOptions.d.ts | 5 + api/@ohos.app.ability.UIAbility.d.ts | 5 + api/@ohos.app.ability.UIExtensionAbility.d.ts | 5 + ...app.ability.UIExtensionContentSession.d.ts | 5 + ....app.ability.UserAuthExtensionAbility.d.ts | 5 + api/@ohos.app.ability.Want.d.ts | 5 + ....app.ability.abilityDelegatorRegistry.d.ts | 5 + api/@ohos.app.ability.abilityManager.d.ts | 5 + api/@ohos.app.ability.appManager.d.ts | 5 + api/@ohos.app.ability.appRecovery.d.ts | 5 + api/@ohos.app.ability.autoFillManager.d.ts | 5 + api/@ohos.app.ability.autoStartupManager.d.ts | 5 + ...@ohos.app.ability.childProcessManager.d.ts | 5 + api/@ohos.app.ability.common.d.ts | 5 + api/@ohos.app.ability.contextConstant.d.ts | 5 + api/@ohos.app.ability.dataUriUtils.d.ts | 5 + api/@ohos.app.ability.dialogRequest.d.ts | 5 + api/@ohos.app.ability.dialogSession.d.ts | 5 + api/@ohos.app.ability.errorManager.d.ts | 5 + api/@ohos.app.ability.insightIntent.d.ts | 5 + ...@ohos.app.ability.insightIntentDriver.d.ts | 5 + api/@ohos.app.ability.missionManager.d.ts | 5 + api/@ohos.app.ability.quickFixManager.d.ts | 5 + api/@ohos.app.ability.wantAgent.d.ts | 5 + api/@ohos.app.ability.wantConstant.d.ts | 5 + api/@ohos.app.businessAbilityRouter.d.ts | 5 + api/@ohos.app.form.FormExtensionAbility.d.ts | 5 + api/@ohos.app.form.formAgent.d.ts | 5 + api/@ohos.app.form.formBindingData.d.ts | 5 + api/@ohos.app.form.formHost.d.ts | 5 + api/@ohos.app.form.formInfo.d.ts | 5 + api/@ohos.app.form.formObserver.d.ts | 5 + api/@ohos.app.form.formProvider.d.ts | 5 + ...ication.AccessibilityExtensionAbility.d.ts | 5 + ...os.application.BackupExtensionAbility.d.ts | 5 + api/@ohos.application.Configuration.d.ts | 5 + ...hos.application.ConfigurationConstant.d.ts | 5 + ...application.DataShareExtensionAbility.d.ts | 5 + ...tion.StaticSubscriberExtensionAbility.d.ts | 5 + ...tion.StaticSubscriberExtensionContext.d.ts | 5 + api/@ohos.application.Want.d.ts | 5 + ...os.application.WindowExtensionAbility.d.ts | 5 + ....application.abilityDelegatorRegistry.d.ts | 5 + api/@ohos.application.abilityManager.d.ts | 5 + api/@ohos.application.appManager.d.ts | 5 + api/@ohos.application.formBindingData.d.ts | 5 + api/@ohos.application.formError.d.ts | 5 + api/@ohos.application.formHost.d.ts | 5 + api/@ohos.application.formInfo.d.ts | 5 + api/@ohos.application.formProvider.d.ts | 5 + api/@ohos.application.missionManager.d.ts | 5 + api/@ohos.application.testRunner.d.ts | 5 + ...ohos.application.uriPermissionManager.d.ts | 5 + api/@ohos.arkui.UIContext.d.ts | 5 + api/@ohos.arkui.advanced.Breadcrumb.d.ets | 139 ++++++++++++++++++ api/@ohos.arkui.advanced.Chip.d.ets | 7 + ...@ohos.arkui.advanced.ComposeListItem.d.ets | 7 + ...@ohos.arkui.advanced.ComposeTitleBar.d.ets | 5 + api/@ohos.arkui.advanced.Counter.d.ets | 7 +- api/@ohos.arkui.advanced.Dialog.d.ets | 7 + ...ohos.arkui.advanced.EditableTitleBar.d.ets | 5 + api/@ohos.arkui.advanced.Filter.d.ets | 7 + api/@ohos.arkui.advanced.Popup.d.ets | 7 + api/@ohos.arkui.advanced.ProgressButton.d.ets | 5 + api/@ohos.arkui.advanced.SegmentButton.d.ets | 7 + api/@ohos.arkui.advanced.SelectTitleBar.d.ets | 5 + api/@ohos.arkui.advanced.SelectionMenu.d.ets | 7 + api/@ohos.arkui.advanced.SplitLayout.d.ets | 5 + api/@ohos.arkui.advanced.SubHeader.d.ets | 5 + api/@ohos.arkui.advanced.SwipeRefresher.d.ets | 5 + api/@ohos.arkui.advanced.TabTitleBar.d.ets | 5 + api/@ohos.arkui.advanced.ToolBar.d.ets | 5 + api/@ohos.arkui.advanced.TreeView.d.ets | 7 + api/@ohos.arkui.componentSnapshot.d.ts | 5 + api/@ohos.arkui.componentUtils.d.ts | 5 + api/@ohos.arkui.dragController.d.ts | 5 + api/@ohos.arkui.drawableDescriptor.d.ts | 5 + api/@ohos.arkui.inspector.d.ts | 5 + api/@ohos.arkui.observer.d.ts | 5 + api/@ohos.arkui.performanceMonitor.d.ts | 5 + api/@ohos.backgroundTaskManager.d.ts | 5 + api/@ohos.base.d.ts | 5 + api/@ohos.batteryInfo.d.ts | 5 + api/@ohos.batteryStatistics.d.ts | 5 + api/@ohos.bluetooth.a2dp.d.ts | 5 + api/@ohos.bluetooth.access.d.ts | 5 + api/@ohos.bluetooth.baseProfile.d.ts | 5 + api/@ohos.bluetooth.ble.d.ts | 5 + api/@ohos.bluetooth.connection.d.ts | 5 + api/@ohos.bluetooth.constant.d.ts | 5 + api/@ohos.bluetooth.d.ts | 5 + api/@ohos.bluetooth.hfp.d.ts | 5 + api/@ohos.bluetooth.hid.d.ts | 5 + api/@ohos.bluetooth.pan.d.ts | 5 + api/@ohos.bluetooth.pbap.d.ts | 5 + api/@ohos.bluetooth.socket.d.ts | 5 + api/@ohos.bluetooth.wearDetection.d.ts | 5 + api/@ohos.bluetoothManager.d.ts | 5 + api/@ohos.brightness.d.ts | 5 + api/@ohos.buffer.d.ts | 5 + api/@ohos.bundle.appControl.d.ts | 5 + api/@ohos.bundle.bundleManager.d.ts | 5 + api/@ohos.bundle.bundleMonitor.d.ts | 5 + api/@ohos.bundle.bundleResourceManager.d.ts | 5 + api/@ohos.bundle.d.ts | 5 + api/@ohos.bundle.defaultAppManager.d.ts | 5 + ...@ohos.bundle.distributedBundleManager.d.ts | 5 + api/@ohos.bundle.freeInstall.d.ts | 5 + api/@ohos.bundle.innerBundleManager.d.ts | 5 + api/@ohos.bundle.installer.d.ts | 5 + api/@ohos.bundle.launcherBundleManager.d.ts | 5 + api/@ohos.bundle.overlay.d.ts | 5 + api/@ohos.bundleState.d.ts | 5 + api/@ohos.bytrace.d.ts | 5 + api/@ohos.calendarManager.d.ts | 5 + api/@ohos.charger.d.ts | 5 + api/@ohos.commonEvent.d.ts | 5 + api/@ohos.commonEventManager.d.ts | 5 + api/@ohos.configPolicy.d.ts | 5 + api/@ohos.connectedTag.d.ts | 5 + api/@ohos.contact.d.ts | 5 + ...ohos.continuation.continuationManager.d.ts | 5 + api/@ohos.convertxml.d.ts | 5 + api/@ohos.cooperate.d.ts | 5 + api/@ohos.curves.d.ts | 5 + api/@ohos.data.DataShareResultSet.d.ts | 5 + api/@ohos.data.ValuesBucket.d.ts | 5 + api/@ohos.data.cloudData.d.ts | 5 + api/@ohos.data.commonType.d.ts | 5 + api/@ohos.data.dataAbility.d.ts | 5 + api/@ohos.data.dataShare.d.ts | 5 + api/@ohos.data.dataSharePredicates.d.ts | 5 + api/@ohos.data.distributedData.d.ts | 5 + api/@ohos.data.distributedDataObject.d.ts | 5 + api/@ohos.data.distributedKVStore.d.ts | 5 + api/@ohos.data.preferences.d.ts | 5 + api/@ohos.data.rdb.d.ts | 5 + api/@ohos.data.relationalStore.d.ts | 5 + api/@ohos.data.storage.d.ts | 7 + api/@ohos.data.unifiedDataChannel.d.ts | 5 + api/@ohos.data.uniformTypeDescriptor.d.ts | 5 + api/@ohos.deviceAttest.d.ts | 5 + api/@ohos.deviceInfo.d.ts | 5 + api/@ohos.deviceStatus.dragInteraction.d.ts | 5 + api/@ohos.display.d.ts | 5 + api/@ohos.distributedBundle.d.ts | 5 + api/@ohos.distributedDeviceManager.d.ts | 5 + ...hos.distributedHardware.deviceManager.d.ts | 5 + ...s.distributedHardware.hardwareManager.d.ts | 5 + api/@ohos.distributedMissionManager.d.ts | 5 + api/@ohos.dlpPermission.d.ts | 5 + api/@ohos.document.d.ts | 5 + api/@ohos.driver.deviceManager.d.ts | 5 + api/@ohos.effectKit.d.ts | 7 + ...prise.EnterpriseAdminExtensionAbility.d.ts | 5 + api/@ohos.enterprise.accountManager.d.ts | 5 + api/@ohos.enterprise.adminManager.d.ts | 5 + api/@ohos.enterprise.applicationManager.d.ts | 5 + api/@ohos.enterprise.bluetoothManager.d.ts | 5 + api/@ohos.enterprise.browser.d.ts | 5 + api/@ohos.enterprise.bundleManager.d.ts | 5 + api/@ohos.enterprise.dateTimeManager.d.ts | 5 + api/@ohos.enterprise.deviceControl.d.ts | 5 + api/@ohos.enterprise.deviceInfo.d.ts | 5 + api/@ohos.enterprise.deviceSettings.d.ts | 5 + api/@ohos.enterprise.locationManager.d.ts | 5 + api/@ohos.enterprise.networkManager.d.ts | 5 + api/@ohos.enterprise.restrictions.d.ts | 5 + api/@ohos.enterprise.securityManager.d.ts | 5 + api/@ohos.enterprise.systemManager.d.ts | 5 + api/@ohos.enterprise.usbManager.d.ts | 5 + api/@ohos.enterprise.wifiManager.d.ts | 5 + api/@ohos.events.emitter.d.ts | 5 + api/@ohos.faultLogger.d.ts | 7 + api/@ohos.file.backup.d.ts | 5 + api/@ohos.file.cloudSync.d.ts | 5 + api/@ohos.file.cloudSyncManager.d.ts | 5 + api/@ohos.file.environment.d.ts | 5 + api/@ohos.file.fileAccess.d.ts | 5 + api/@ohos.file.fileExtensionInfo.d.ts | 5 + api/@ohos.file.fileuri.d.ts | 6 + api/@ohos.file.fs.d.ts | 5 + api/@ohos.file.hash.d.ts | 5 + api/@ohos.file.photoAccessHelper.d.ts | 5 + api/@ohos.file.picker.d.ts | 5 + api/@ohos.file.recent.d.ts | 5 + api/@ohos.file.securityLabel.d.ts | 5 + api/@ohos.file.statvfs.d.ts | 5 + api/@ohos.file.storageStatistics.d.ts | 5 + api/@ohos.file.trash.d.ts | 5 + api/@ohos.file.volumeManager.d.ts | 5 + api/@ohos.fileio.d.ts | 5 + api/@ohos.filemanagement.userFileManager.d.ts | 5 + api/@ohos.fileshare.d.ts | 5 + api/@ohos.font.d.ts | 5 + api/@ohos.geoLocationManager.d.ts | 5 + api/@ohos.geolocation.d.ts | 5 + api/@ohos.graphics.colorSpaceManager.d.ts | 7 + api/@ohos.hiAppEvent.d.ts | 5 + api/@ohos.hiSysEvent.d.ts | 5 + api/@ohos.hiTraceChain.d.ts | 5 + api/@ohos.hiTraceMeter.d.ts | 5 + api/@ohos.hichecker.d.ts | 5 + api/@ohos.hidebug.d.ts | 7 + api/@ohos.hilog.d.ts | 5 + api/@ohos.hiviewdfx.hiAppEvent.d.ts | 5 + api/@ohos.i18n.d.ts | 5 + api/@ohos.identifier.oaid.d.ts | 5 + api/@ohos.inputMethod.Panel.d.ts | 5 + api/@ohos.inputMethod.d.ts | 5 + api/@ohos.inputMethodEngine.d.ts | 5 + api/@ohos.inputMethodList.d.ets | 4 + api/@ohos.intl.d.ts | 5 + api/@ohos.logLibrary.d.ts | 5 + api/@ohos.matrix4.d.ts | 5 + api/@ohos.measure.d.ts | 5 + api/@ohos.mediaquery.d.ts | 5 + api/@ohos.multimedia.audio.d.ts | 5 + api/@ohos.multimedia.audioHaptic.d.ts | 5 + api/@ohos.multimedia.avCastPicker.d.ets | 5 + api/@ohos.multimedia.avsession.d.ts | 7 + api/@ohos.multimedia.camera.d.ts | 5 + api/@ohos.multimedia.image.d.ts | 5 + api/@ohos.multimedia.media.d.ts | 7 + api/@ohos.multimedia.mediaLibrary.d.ts | 5 + api/@ohos.multimedia.systemSoundManager.d.ts | 5 + api/@ohos.multimodalInput.gestureEvent.d.ts | 5 + api/@ohos.multimodalInput.inputConsumer.d.ts | 5 + api/@ohos.multimodalInput.inputDevice.d.ts | 5 + ....multimodalInput.inputDeviceCooperate.d.ts | 7 + api/@ohos.multimodalInput.inputEvent.d.ts | 5 + ...ohos.multimodalInput.inputEventClient.d.ts | 5 + api/@ohos.multimodalInput.inputMonitor.d.ts | 5 + api/@ohos.multimodalInput.intentionCode.d.ts | 5 + api/@ohos.multimodalInput.keyCode.d.ts | 5 + api/@ohos.multimodalInput.keyEvent.d.ts | 5 + api/@ohos.multimodalInput.mouseEvent.d.ts | 5 + api/@ohos.multimodalInput.pointer.d.ts | 5 + api/@ohos.multimodalInput.shortKey.d.ts | 7 + api/@ohos.multimodalInput.touchEvent.d.ts | 5 + api/@ohos.net.connection.d.ts | 5 + api/@ohos.net.ethernet.d.ts | 6 + api/@ohos.net.http.d.ts | 5 + api/@ohos.net.mdns.d.ts | 5 + api/@ohos.net.policy.d.ts | 5 + api/@ohos.net.sharing.d.ts | 5 + api/@ohos.net.socket.d.ts | 5 + api/@ohos.net.statistics.d.ts | 5 + api/@ohos.net.vpn.d.ts | 5 + api/@ohos.net.webSocket.d.ts | 5 + api/@ohos.nfc.cardEmulation.d.ts | 5 + api/@ohos.nfc.controller.d.ts | 5 + api/@ohos.nfc.tag.d.ts | 5 + api/@ohos.notification.d.ts | 5 + api/@ohos.notificationManager.d.ts | 5 + api/@ohos.notificationSubscribe.d.ts | 5 + api/@ohos.pasteboard.d.ts | 6 + api/@ohos.pluginComponent.d.ts | 5 + api/@ohos.power.d.ts | 5 + api/@ohos.print.d.ts | 5 + api/@ohos.privacyManager.d.ts | 5 + api/@ohos.process.d.ts | 5 + api/@ohos.prompt.d.ts | 5 + api/@ohos.promptAction.d.ts | 5 + api/@ohos.reminderAgent.d.ts | 5 + api/@ohos.reminderAgentManager.d.ts | 5 + api/@ohos.request.d.ts | 5 + api/@ohos.resourceManager.d.ts | 5 + ...esourceschedule.backgroundTaskManager.d.ts | 5 + api/@ohos.resourceschedule.deviceStandby.d.ts | 5 + ...ohos.resourceschedule.usageStatistics.d.ts | 5 + api/@ohos.resourceschedule.workScheduler.d.ts | 5 + api/@ohos.router.d.ts | 5 + api/@ohos.rpc.d.ts | 5 + api/@ohos.runningLock.d.ts | 5 + api/@ohos.screen.d.ts | 5 + api/@ohos.screenLock.d.ts | 6 + api/@ohos.screenshot.d.ts | 5 + api/@ohos.secureElement.d.ts | 5 + api/@ohos.security.cert.d.ts | 5 + api/@ohos.security.certManager.d.ts | 5 + api/@ohos.security.cryptoFramework.d.ts | 5 + api/@ohos.security.huks.d.ts | 5 + api/@ohos.sensor.d.ts | 5 + api/@ohos.settings.d.ts | 6 + api/@ohos.statfs.d.ts | 5 + api/@ohos.stationary.d.ts | 5 + api/@ohos.systemCapability.d.ts | 6 + api/@ohos.systemDateTime.d.ts | 5 + api/@ohos.systemParameterEnhance.d.ts | 5 + api/@ohos.systemTime.d.ts | 5 + api/@ohos.systemTimer.d.ts | 5 + api/@ohos.systemparameter.d.ts | 5 + api/@ohos.taskpool.d.ts | 5 + api/@ohos.telephony.call.d.ts | 5 + api/@ohos.telephony.data.d.ts | 5 + api/@ohos.telephony.observer.d.ts | 5 + api/@ohos.telephony.radio.d.ts | 5 + api/@ohos.telephony.sim.d.ts | 5 + api/@ohos.telephony.sms.d.ts | 5 + api/@ohos.telephony.vcard.d.ts | 5 + api/@ohos.thermal.d.ts | 5 + api/@ohos.uiAppearance.d.ts | 5 + api/@ohos.update.d.ts | 5 + api/@ohos.uri.d.ts | 5 + api/@ohos.url.d.ts | 5 + api/@ohos.usb.d.ts | 5 + api/@ohos.usbManager.d.ts | 5 + api/@ohos.userIAM.faceAuth.d.ts | 5 + api/@ohos.userIAM.userAuth.d.ts | 5 + api/@ohos.util.ArrayList.d.ts | 5 + api/@ohos.util.Deque.d.ts | 5 + api/@ohos.util.HashMap.d.ts | 5 + api/@ohos.util.HashSet.d.ts | 5 + api/@ohos.util.LightWeightMap.d.ts | 7 +- api/@ohos.util.LightWeightSet.d.ts | 5 + api/@ohos.util.LinkedList.d.ts | 7 +- api/@ohos.util.List.d.ts | 5 + api/@ohos.util.PlainArray.d.ts | 5 + api/@ohos.util.Queue.d.ts | 5 + api/@ohos.util.Stack.d.ts | 5 + api/@ohos.util.TreeMap.d.ts | 5 + api/@ohos.util.TreeSet.d.ts | 5 + api/@ohos.util.Vector.d.ts | 5 + api/@ohos.util.d.ts | 5 + api/@ohos.vibrator.d.ts | 5 + api/@ohos.wallpaper.d.ts | 5 + api/@ohos.wantAgent.d.ts | 5 + api/@ohos.web.webview.d.ts | 5 + api/@ohos.wifi.d.ts | 5 + api/@ohos.wifiManager.d.ts | 5 + api/@ohos.wifiManagerExt.d.ts | 5 + api/@ohos.wifiext.d.ts | 5 + api/@ohos.window.d.ts | 5 + api/@ohos.worker.d.ts | 5 + api/@ohos.xml.d.ts | 5 + api/@ohos.zlib.d.ts | 5 + api/@system.app.d.ts | 5 + api/@system.battery.d.ts | 5 + api/@system.bluetooth.d.ts | 5 + api/@system.brightness.d.ts | 5 + api/@system.cipher.d.ts | 5 + api/@system.configuration.d.ts | 5 + api/@system.device.d.ts | 5 + api/@system.fetch.d.ts | 5 + api/@system.file.d.ts | 5 + api/@system.geolocation.d.ts | 5 + api/@system.mediaquery.d.ts | 5 + api/@system.network.d.ts | 5 + api/@system.notification.d.ts | 5 + api/@system.package.d.ts | 5 + api/@system.prompt.d.ts | 5 + api/@system.request.d.ts | 5 + api/@system.router.d.ts | 5 + api/@system.sensor.d.ts | 5 + api/@system.storage.d.ts | 5 + api/@system.vibrator.d.ts | 5 + api/kit/AVSessionKit.d.ts | 19 +++ api/kit/AbilityKit.d.ts | 97 ++++++++++++ api/kit/AccessibilityKit.d.ts | 29 ++++ api/kit/AdsKit.d.ts | 22 +++ api/kit/ArkData.d.ts | 42 ++++++ api/kit/ArkGraphics.d.ts | 19 +++ api/kit/ArkGraphics2D.d.ts | 19 +++ api/kit/ArkTS.d.ts | 48 ++++++ api/kit/ArkUI.d.ts | 116 +++++++++++++++ api/kit/ArkWeb.d.ts | 18 +++ api/kit/AudioKit.d.ts | 20 +++ api/kit/BackgroundTasksKit.d.ts | 28 ++++ api/kit/BasicServicesKit.d.ts | 68 +++++++++ api/kit/CalendarKit.d.ts | 18 +++ api/kit/CallKit.d.ts | 18 +++ api/kit/CameraKit.d.ts | 18 +++ api/kit/ConnectivityKit.d.ts | 49 ++++++ api/kit/ContactsKit.d.ts | 18 +++ api/kit/CoreFileKit.d.ts | 54 +++++++ api/kit/CryptoArchitectureKit.d.ts | 19 +++ api/kit/DataLossPreventionKit.d.ts | 18 +++ api/kit/DeviceCertificateKit.d.ts | 19 +++ api/kit/DistributedServiceKit.d.ts | 21 +++ api/kit/DriverDevelopmentKit.d.ts | 19 +++ api/kit/FormKit.d.ts | 25 ++++ api/kit/IMEKit.d.ts | 24 +++ api/kit/IPCKit.d.ts | 18 +++ api/kit/ImageKit.d.ts | 18 +++ api/kit/InputKit.d.ts | 42 ++++++ api/kit/LancetKit.d.ts | 30 ++++ api/kit/LocalAuthenticationKit.d.ts | 19 +++ api/kit/LocalizationKit.d.ts | 20 +++ api/kit/LocationKit.d.ts | 26 ++++ api/kit/MDMKit.d.ts | 40 +++++ api/kit/MediaKit.d.ts | 18 +++ api/kit/MediaLibraryKit.d.ts | 19 +++ api/kit/MindSporeLiteKit.d.ts | 19 +++ api/kit/MultimodalAwarenessKit.d.ts | 18 +++ api/kit/NetworkKit.d.ts | 32 ++++ api/kit/NotificationKit.d.ts | 30 ++++ api/kit/SafetyDetectKit.d.ts | 18 +++ api/kit/SensorServiceKit.d.ts | 34 +++++ api/kit/TelephonyKit.d.ts | 23 +++ api/kit/TestKit.d.ts | 27 ++++ api/kit/UniversalKeystoreKit.d.ts | 18 +++ 450 files changed, 3535 insertions(+), 3 deletions(-) create mode 100755 api/@ohos.arkui.advanced.Breadcrumb.d.ets create mode 100644 api/kit/AVSessionKit.d.ts create mode 100644 api/kit/AbilityKit.d.ts create mode 100644 api/kit/AccessibilityKit.d.ts create mode 100644 api/kit/AdsKit.d.ts create mode 100644 api/kit/ArkData.d.ts create mode 100644 api/kit/ArkGraphics.d.ts create mode 100644 api/kit/ArkGraphics2D.d.ts create mode 100644 api/kit/ArkTS.d.ts create mode 100644 api/kit/ArkUI.d.ts create mode 100644 api/kit/ArkWeb.d.ts create mode 100644 api/kit/AudioKit.d.ts create mode 100644 api/kit/BackgroundTasksKit.d.ts create mode 100644 api/kit/BasicServicesKit.d.ts create mode 100644 api/kit/CalendarKit.d.ts create mode 100644 api/kit/CallKit.d.ts create mode 100644 api/kit/CameraKit.d.ts create mode 100644 api/kit/ConnectivityKit.d.ts create mode 100644 api/kit/ContactsKit.d.ts create mode 100644 api/kit/CoreFileKit.d.ts create mode 100644 api/kit/CryptoArchitectureKit.d.ts create mode 100644 api/kit/DataLossPreventionKit.d.ts create mode 100644 api/kit/DeviceCertificateKit.d.ts create mode 100644 api/kit/DistributedServiceKit.d.ts create mode 100644 api/kit/DriverDevelopmentKit.d.ts create mode 100644 api/kit/FormKit.d.ts create mode 100644 api/kit/IMEKit.d.ts create mode 100644 api/kit/IPCKit.d.ts create mode 100644 api/kit/ImageKit.d.ts create mode 100644 api/kit/InputKit.d.ts create mode 100644 api/kit/LancetKit.d.ts create mode 100644 api/kit/LocalAuthenticationKit.d.ts create mode 100644 api/kit/LocalizationKit.d.ts create mode 100644 api/kit/LocationKit.d.ts create mode 100644 api/kit/MDMKit.d.ts create mode 100644 api/kit/MediaKit.d.ts create mode 100644 api/kit/MediaLibraryKit.d.ts create mode 100644 api/kit/MindSporeLiteKit.d.ts create mode 100644 api/kit/MultimodalAwarenessKit.d.ts create mode 100644 api/kit/NetworkKit.d.ts create mode 100644 api/kit/NotificationKit.d.ts create mode 100644 api/kit/SafetyDetectKit.d.ts create mode 100644 api/kit/SensorServiceKit.d.ts create mode 100644 api/kit/TelephonyKit.d.ts create mode 100644 api/kit/TestKit.d.ts create mode 100644 api/kit/UniversalKeystoreKit.d.ts diff --git a/api/@ohos.InputMethodExtensionAbility.d.ts b/api/@ohos.InputMethodExtensionAbility.d.ts index eaeb083750..66223ca97f 100644 --- a/api/@ohos.InputMethodExtensionAbility.d.ts +++ b/api/@ohos.InputMethodExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit IME Kit + */ + import Want from './@ohos.app.ability.Want'; import type InputMethodExtensionContext from './@ohos.InputMethodExtensionContext'; diff --git a/api/@ohos.InputMethodExtensionContext.d.ts b/api/@ohos.InputMethodExtensionContext.d.ts index 867140014d..1d56d01be0 100644 --- a/api/@ohos.InputMethodExtensionContext.d.ts +++ b/api/@ohos.InputMethodExtensionContext.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit IME Kit + */ + import { AsyncCallback } from './@ohos.base'; import ExtensionContext from './application/ExtensionContext'; diff --git a/api/@ohos.InputMethodSubtype.d.ts b/api/@ohos.InputMethodSubtype.d.ts index 1e03e17166..7b8bb56c54 100644 --- a/api/@ohos.InputMethodSubtype.d.ts +++ b/api/@ohos.InputMethodSubtype.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit IME Kit + */ + /** * Input method subtype * diff --git a/api/@ohos.PiPWindow.d.ts b/api/@ohos.PiPWindow.d.ts index 77ec4a82e3..80938813a2 100644 --- a/api/@ohos.PiPWindow.d.ts +++ b/api/@ohos.PiPWindow.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import type AsyncCallback from './@ohos.base'; import type BaseContext from './application/BaseContext'; diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index 5e897bb993..bcf07c2482 100644 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Test Kit + */ + import type { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.WallpaperExtensionAbility.d.ts b/api/@ohos.WallpaperExtensionAbility.d.ts index 64af50a297..b61d4bd399 100644 --- a/api/@ohos.WallpaperExtensionAbility.d.ts +++ b/api/@ohos.WallpaperExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * class of wallpaper extension ability. * diff --git a/api/@ohos.WorkSchedulerExtensionAbility.d.ts b/api/@ohos.WorkSchedulerExtensionAbility.d.ts index 90dd8e0121..f8c1f5df9c 100644 --- a/api/@ohos.WorkSchedulerExtensionAbility.d.ts +++ b/api/@ohos.WorkSchedulerExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import workScheduler from './@ohos.resourceschedule.workScheduler'; import _WorkSchedulerExtensionContext from './application/WorkSchedulerExtensionContext'; export type WorkSchedulerExtensionContext = _WorkSchedulerExtensionContext; diff --git a/api/@ohos.ability.ability.d.ts b/api/@ohos.ability.ability.d.ts index b4d19b9e83..6f8d1eefe7 100644 --- a/api/@ohos.ability.ability.d.ts +++ b/api/@ohos.ability.ability.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { DataAbilityHelper as _DataAbilityHelper } from './ability/dataAbilityHelper'; import { PacMap as _PacMap } from './ability/dataAbilityHelper'; import { DataAbilityOperation as _DataAbilityOperation } from './ability/dataAbilityOperation'; diff --git a/api/@ohos.ability.dataUriUtils.d.ts b/api/@ohos.ability.dataUriUtils.d.ts index dbe495c96b..cb875b6d10 100644 --- a/api/@ohos.ability.dataUriUtils.d.ts +++ b/api/@ohos.ability.dataUriUtils.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * A utility class used for handling objects that use the DataAbilityHelper scheme. * diff --git a/api/@ohos.ability.errorCode.d.ts b/api/@ohos.ability.errorCode.d.ts index 88a542f146..ef7105d020 100644 --- a/api/@ohos.ability.errorCode.d.ts +++ b/api/@ohos.ability.errorCode.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * Defines error codes used when starting an ability, for example, featureAbility.ErrorCode.NO_ERROR. * diff --git a/api/@ohos.ability.featureAbility.d.ts b/api/@ohos.ability.featureAbility.d.ts index 98c06f420a..64596e5ffc 100644 --- a/api/@ohos.ability.featureAbility.d.ts +++ b/api/@ohos.ability.featureAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.ability.particleAbility.d.ts b/api/@ohos.ability.particleAbility.d.ts index 3dda59da95..10b23b6ab5 100644 --- a/api/@ohos.ability.particleAbility.d.ts +++ b/api/@ohos.ability.particleAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { StartAbilityParameter } from './ability/startAbilityParameter'; import { DataAbilityHelper } from './ability/dataAbilityHelper'; diff --git a/api/@ohos.ability.wantConstant.d.ts b/api/@ohos.ability.wantConstant.d.ts index 5ef1723142..cd94ddc06d 100644 --- a/api/@ohos.ability.wantConstant.d.ts +++ b/api/@ohos.ability.wantConstant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * the constant for action and entity in the want * diff --git a/api/@ohos.abilityAccessCtrl.d.ts b/api/@ohos.abilityAccessCtrl.d.ts index e8af68aaf0..6885c7267d 100644 --- a/api/@ohos.abilityAccessCtrl.d.ts +++ b/api/@ohos.abilityAccessCtrl.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { Permissions } from './permissions'; import type _Context from './application/Context'; diff --git a/api/@ohos.accessibility.GesturePath.d.ts b/api/@ohos.accessibility.GesturePath.d.ts index 1f1a3ed914..34cb645001 100644 --- a/api/@ohos.accessibility.GesturePath.d.ts +++ b/api/@ohos.accessibility.GesturePath.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Accessibility Kit + */ + import type { GesturePoint } from './@ohos.accessibility.GesturePoint'; /** diff --git a/api/@ohos.accessibility.GesturePoint.d.ts b/api/@ohos.accessibility.GesturePoint.d.ts index ad182e8c02..4060a7d3db 100644 --- a/api/@ohos.accessibility.GesturePoint.d.ts +++ b/api/@ohos.accessibility.GesturePoint.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Accessibility Kit + */ + /** * Indicates the point of the gesture. * diff --git a/api/@ohos.accessibility.config.d.ts b/api/@ohos.accessibility.config.d.ts index a8e619d08a..d388035a04 100644 --- a/api/@ohos.accessibility.config.d.ts +++ b/api/@ohos.accessibility.config.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Accessibility Kit + */ + import type accessibility from './@ohos.accessibility'; import type { AsyncCallback, Callback } from './@ohos.base'; diff --git a/api/@ohos.accessibility.d.ts b/api/@ohos.accessibility.d.ts index 7533593e04..d56fed6b01 100644 --- a/api/@ohos.accessibility.d.ts +++ b/api/@ohos.accessibility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Accessibility Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type { Callback } from './@ohos.base'; diff --git a/api/@ohos.account.appAccount.d.ts b/api/@ohos.account.appAccount.d.ts index f0ccaebdbf..fb51040458 100644 --- a/api/@ohos.account.appAccount.d.ts +++ b/api/@ohos.account.appAccount.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; import rpc from './@ohos.rpc'; diff --git a/api/@ohos.account.distributedAccount.d.ts b/api/@ohos.account.distributedAccount.d.ts index c00faf8454..3d0e35f9bb 100644 --- a/api/@ohos.account.distributedAccount.d.ts +++ b/api/@ohos.account.distributedAccount.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.account.osAccount.d.ts b/api/@ohos.account.osAccount.d.ts index 1cf11b60a8..b088677dde 100644 --- a/api/@ohos.account.osAccount.d.ts +++ b/api/@ohos.account.osAccount.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import distributedAccount from './@ohos.account.distributedAccount'; import { AsyncCallback, Callback } from './@ohos.base'; diff --git a/api/@ohos.advertising.AdComponent.d.ets b/api/@ohos.advertising.AdComponent.d.ets index 74af034e36..9e5c129108 100644 --- a/api/@ohos.advertising.AdComponent.d.ets +++ b/api/@ohos.advertising.AdComponent.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ads Kit + */ + import advertising from './@ohos.advertising'; /** diff --git a/api/@ohos.advertising.AdsServiceExtensionAbility.d.ts b/api/@ohos.advertising.AdsServiceExtensionAbility.d.ts index 327483e94c..650955ca9f 100644 --- a/api/@ohos.advertising.AdsServiceExtensionAbility.d.ts +++ b/api/@ohos.advertising.AdsServiceExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ads Kit + */ + import type advertising from './@ohos.advertising'; /** diff --git a/api/@ohos.advertising.AutoAdComponent.d.ets b/api/@ohos.advertising.AutoAdComponent.d.ets index d2527d21d2..768c9e68f6 100644 --- a/api/@ohos.advertising.AutoAdComponent.d.ets +++ b/api/@ohos.advertising.AutoAdComponent.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ads Kit + */ + import advertising from './@ohos.advertising'; /** diff --git a/api/@ohos.advertising.d.ts b/api/@ohos.advertising.d.ts index 3b884d82c2..7894264126 100644 --- a/api/@ohos.advertising.d.ts +++ b/api/@ohos.advertising.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ads Kit + */ + import type common from './@ohos.app.ability.common'; import type { Advertisement as _Advertisement } from './advertising/advertisement'; diff --git a/api/@ohos.ai.intelligentVoice.d.ts b/api/@ohos.ai.intelligentVoice.d.ts index 8787f5f32b..cf01f6ea3d 100755 --- a/api/@ohos.ai.intelligentVoice.d.ts +++ b/api/@ohos.ai.intelligentVoice.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MindSpore Lite Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.ai.mindSporeLite.d.ts b/api/@ohos.ai.mindSporeLite.d.ts index 2c12fc1cb7..b1ed239b11 100644 --- a/api/@ohos.ai.mindSporeLite.d.ts +++ b/api/@ohos.ai.mindSporeLite.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MindSpore Lite Kit + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.animation.windowAnimationManager.d.ts b/api/@ohos.animation.windowAnimationManager.d.ts index 035656029e..d868b70f66 100644 --- a/api/@ohos.animation.windowAnimationManager.d.ts +++ b/api/@ohos.animation.windowAnimationManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.animator.d.ts b/api/@ohos.animator.d.ts index 3a8ffbdb63..b18a710c99 100644 --- a/api/@ohos.animator.d.ts +++ b/api/@ohos.animator.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Defines the animator options. * @interface AnimatorOptions diff --git a/api/@ohos.app.ability.Ability.d.ts b/api/@ohos.app.ability.Ability.d.ts index 0e45a089b6..6ea4ce752f 100644 --- a/api/@ohos.app.ability.Ability.d.ts +++ b/api/@ohos.app.ability.Ability.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import AbilityConstant from './@ohos.app.ability.AbilityConstant'; import { Configuration } from './@ohos.app.ability.Configuration'; diff --git a/api/@ohos.app.ability.AbilityConstant.d.ts b/api/@ohos.app.ability.AbilityConstant.d.ts index 787cf1a0ad..60e2ccdcd5 100644 --- a/api/@ohos.app.ability.AbilityConstant.d.ts +++ b/api/@ohos.app.ability.AbilityConstant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * The definition of AbilityConstant. * diff --git a/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts b/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts index ef288dca08..ee771c5ede 100644 --- a/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts +++ b/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import UIAbility from './@ohos.app.ability.UIAbility'; import dataAbility from './@ohos.data.dataAbility'; import window from './@ohos.window'; diff --git a/api/@ohos.app.ability.AbilityStage.d.ts b/api/@ohos.app.ability.AbilityStage.d.ts index 471065922a..ed43113ccf 100644 --- a/api/@ohos.app.ability.AbilityStage.d.ts +++ b/api/@ohos.app.ability.AbilityStage.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import AbilityConstant from './@ohos.app.ability.AbilityConstant'; import AbilityStageContext from './application/AbilityStageContext'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.ability.ActionExtensionAbility.d.ts b/api/@ohos.app.ability.ActionExtensionAbility.d.ts index 9655d08574..13a4f9bab8 100644 --- a/api/@ohos.app.ability.ActionExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ActionExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; /** diff --git a/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts b/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts index 72ff804781..26a32dce4f 100644 --- a/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts +++ b/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * The application state change callback. * diff --git a/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts b/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts index b027f6b2d6..3b1bfe839e 100644 --- a/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts +++ b/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import ExtensionAbility from './@ohos.app.ability.ExtensionAbility'; import type UIExtensionContentSession from './@ohos.app.ability.UIExtensionContentSession'; import type AutoFillExtensionContext from './application/AutoFillExtensionContext'; diff --git a/api/@ohos.app.ability.ChildProcess.d.ts b/api/@ohos.app.ability.ChildProcess.d.ts index d5c338e411..ea217f7c83 100644 --- a/api/@ohos.app.ability.ChildProcess.d.ts +++ b/api/@ohos.app.ability.ChildProcess.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * The class of child process. * Child process to be started can inherit this class. diff --git a/api/@ohos.app.ability.Configuration.d.ts b/api/@ohos.app.ability.Configuration.d.ts index 1fb4173cad..de3acfae3a 100644 --- a/api/@ohos.app.ability.Configuration.d.ts +++ b/api/@ohos.app.ability.Configuration.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import ConfigurationConstant from './@ohos.app.ability.ConfigurationConstant'; /** diff --git a/api/@ohos.app.ability.ConfigurationConstant.d.ts b/api/@ohos.app.ability.ConfigurationConstant.d.ts index 9e13e33792..70ed627c5f 100644 --- a/api/@ohos.app.ability.ConfigurationConstant.d.ts +++ b/api/@ohos.app.ability.ConfigurationConstant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * The definition of ConfigurationConstant. * diff --git a/api/@ohos.app.ability.DriverExtensionAbility.d.ts b/api/@ohos.app.ability.DriverExtensionAbility.d.ts index d001da8666..19fa406acd 100644 --- a/api/@ohos.app.ability.DriverExtensionAbility.d.ts +++ b/api/@ohos.app.ability.DriverExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Driver Development Kit + */ + import type rpc from './@ohos.rpc'; import type Want from './@ohos.app.ability.Want'; import _DriverExtensionContext from './application/DriverExtensionContext'; diff --git a/api/@ohos.app.ability.EnvironmentCallback.d.ts b/api/@ohos.app.ability.EnvironmentCallback.d.ts index bd2410a7a9..a1bef0604f 100644 --- a/api/@ohos.app.ability.EnvironmentCallback.d.ts +++ b/api/@ohos.app.ability.EnvironmentCallback.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import AbilityConstant from './@ohos.app.ability.AbilityConstant'; import { Configuration } from './@ohos.app.ability.Configuration'; diff --git a/api/@ohos.app.ability.ExtensionAbility.d.ts b/api/@ohos.app.ability.ExtensionAbility.d.ts index 2976ecd577..8f4d612a97 100644 --- a/api/@ohos.app.ability.ExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import Ability from './@ohos.app.ability.Ability'; /** diff --git a/api/@ohos.app.ability.InsightIntentContext.d.ts b/api/@ohos.app.ability.InsightIntentContext.d.ts index 6eea24f6d8..580dd46726 100644 --- a/api/@ohos.app.ability.InsightIntentContext.d.ts +++ b/api/@ohos.app.ability.InsightIntentContext.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.ability.InsightIntentExecutor.d.ts b/api/@ohos.app.ability.InsightIntentExecutor.d.ts index a2c524c39b..77745eb3a2 100644 --- a/api/@ohos.app.ability.InsightIntentExecutor.d.ts +++ b/api/@ohos.app.ability.InsightIntentExecutor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type window from './@ohos.window'; import type insightIntent from './@ohos.app.ability.insightIntent'; import type InsightIntentContext from './@ohos.app.ability.InsightIntentContext'; diff --git a/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts b/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts index 0f91c1b22d..e4f7075c45 100644 --- a/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts +++ b/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; /** diff --git a/api/@ohos.app.ability.PrintExtensionAbility.d.ts b/api/@ohos.app.ability.PrintExtensionAbility.d.ts index a314d843cc..976ce144b5 100644 --- a/api/@ohos.app.ability.PrintExtensionAbility.d.ts +++ b/api/@ohos.app.ability.PrintExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import type Want from './@ohos.application.Want'; import type print from './@ohos.print'; diff --git a/api/@ohos.app.ability.ServiceExtensionAbility.d.ts b/api/@ohos.app.ability.ServiceExtensionAbility.d.ts index 5513223784..c81958911e 100644 --- a/api/@ohos.app.ability.ServiceExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ServiceExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import rpc from './@ohos.rpc'; import ServiceExtensionContext from './application/ServiceExtensionContext'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.ability.ShareExtensionAbility.d.ts b/api/@ohos.app.ability.ShareExtensionAbility.d.ts index 81a3b00a27..cc7f84063e 100644 --- a/api/@ohos.app.ability.ShareExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ShareExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; /** diff --git a/api/@ohos.app.ability.StartOptions.d.ts b/api/@ohos.app.ability.StartOptions.d.ts index 7303bfa15b..3336ffb69a 100644 --- a/api/@ohos.app.ability.StartOptions.d.ts +++ b/api/@ohos.app.ability.StartOptions.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * StartOptions is the basic communication component of the system. * diff --git a/api/@ohos.app.ability.UIAbility.d.ts b/api/@ohos.app.ability.UIAbility.d.ts index 1f4684be01..ff0bb492d4 100644 --- a/api/@ohos.app.ability.UIAbility.d.ts +++ b/api/@ohos.app.ability.UIAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import Ability from './@ohos.app.ability.Ability'; import AbilityConstant from './@ohos.app.ability.AbilityConstant'; import UIAbilityContext from './application/UIAbilityContext'; diff --git a/api/@ohos.app.ability.UIExtensionAbility.d.ts b/api/@ohos.app.ability.UIExtensionAbility.d.ts index f7da424291..8a10f066ab 100755 --- a/api/@ohos.app.ability.UIExtensionAbility.d.ts +++ b/api/@ohos.app.ability.UIExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import ExtensionAbility from './@ohos.app.ability.ExtensionAbility'; import type UIExtensionContentSession from './@ohos.app.ability.UIExtensionContentSession'; import type UIExtensionContext from './application/UIExtensionContext'; diff --git a/api/@ohos.app.ability.UIExtensionContentSession.d.ts b/api/@ohos.app.ability.UIExtensionContentSession.d.ts index eeb52850eb..a3ac35cc31 100644 --- a/api/@ohos.app.ability.UIExtensionContentSession.d.ts +++ b/api/@ohos.app.ability.UIExtensionContentSession.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AbilityResult } from './ability/abilityResult'; import type { AbilityStartCallback } from './application/AbilityStartCallback'; import type { AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts b/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts index c2df49e14e..cc268a4fde 100644 --- a/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts +++ b/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; /** diff --git a/api/@ohos.app.ability.Want.d.ts b/api/@ohos.app.ability.Want.d.ts index 8309d7f368..74915b75f8 100644 --- a/api/@ohos.app.ability.Want.d.ts +++ b/api/@ohos.app.ability.Want.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * Want is the basic communication component of the system. * diff --git a/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts b/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts index 00bb397b0c..fbba8f5438 100644 --- a/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts +++ b/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Test Kit + */ + import { AbilityDelegator as _AbilityDelegator } from './application/AbilityDelegator'; import { AbilityDelegatorArgs as _AbilityDelegatorArgs } from './application/abilityDelegatorArgs'; import { AbilityMonitor as _AbilityMonitor } from './application/AbilityMonitor'; diff --git a/api/@ohos.app.ability.abilityManager.d.ts b/api/@ohos.app.ability.abilityManager.d.ts index 87e59dd104..91af889107 100644 --- a/api/@ohos.app.ability.abilityManager.d.ts +++ b/api/@ohos.app.ability.abilityManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AbilityResult } from './ability/abilityResult'; import { AsyncCallback } from './@ohos.base'; import { Configuration } from './@ohos.app.ability.Configuration'; diff --git a/api/@ohos.app.ability.appManager.d.ts b/api/@ohos.app.ability.appManager.d.ts index 3488a36348..46cb4a0e5d 100644 --- a/api/@ohos.app.ability.appManager.d.ts +++ b/api/@ohos.app.ability.appManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import * as _ApplicationStateObserver from './application/ApplicationStateObserver'; import type * as _AppForegroundStateObserver from './application/AppForegroundStateObserver'; diff --git a/api/@ohos.app.ability.appRecovery.d.ts b/api/@ohos.app.ability.appRecovery.d.ts index bb714ac925..2321d432f8 100644 --- a/api/@ohos.app.ability.appRecovery.d.ts +++ b/api/@ohos.app.ability.appRecovery.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import UIAbilityContext from './application/UIAbilityContext'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.ability.autoFillManager.d.ts b/api/@ohos.app.ability.autoFillManager.d.ts index a90a6fc091..74ac7e8356 100644 --- a/api/@ohos.app.ability.autoFillManager.d.ts +++ b/api/@ohos.app.ability.autoFillManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { UIContext } from './@ohos.arkui.UIContext'; import type * as _ViewData from './application/ViewData'; import type * as _PageNodeInfo from './application/PageNodeInfo'; diff --git a/api/@ohos.app.ability.autoStartupManager.d.ts b/api/@ohos.app.ability.autoStartupManager.d.ts index 3a9224dfc2..35ee4056a1 100644 --- a/api/@ohos.app.ability.autoStartupManager.d.ts +++ b/api/@ohos.app.ability.autoStartupManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AutoStartupCallback } from './application/AutoStartupCallback'; import type { AutoStartupInfo } from './application/AutoStartupInfo'; import type { AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.app.ability.childProcessManager.d.ts b/api/@ohos.app.ability.childProcessManager.d.ts index cdb786dc12..4478904fe1 100644 --- a/api/@ohos.app.ability.childProcessManager.d.ts +++ b/api/@ohos.app.ability.childProcessManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.app.ability.common.d.ts b/api/@ohos.app.ability.common.d.ts index 2ba23d61a1..bb5d8eb633 100644 --- a/api/@ohos.app.ability.common.d.ts +++ b/api/@ohos.app.ability.common.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import * as _UIAbilityContext from './application/UIAbilityContext'; import type * as _UIExtensionContext from './application/UIExtensionContext'; import type * as _AutoFillExtensionContext from './application/AutoFillExtensionContext'; diff --git a/api/@ohos.app.ability.contextConstant.d.ts b/api/@ohos.app.ability.contextConstant.d.ts index 3ca22589f8..6ac9412770 100644 --- a/api/@ohos.app.ability.contextConstant.d.ts +++ b/api/@ohos.app.ability.contextConstant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * The context of an application. It allows access to application-specific resources. * diff --git a/api/@ohos.app.ability.dataUriUtils.d.ts b/api/@ohos.app.ability.dataUriUtils.d.ts index a28c9e86db..0ad6052263 100644 --- a/api/@ohos.app.ability.dataUriUtils.d.ts +++ b/api/@ohos.app.ability.dataUriUtils.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * Utility class used for handling objects that use the DataAbilityHelper scheme. * diff --git a/api/@ohos.app.ability.dialogRequest.d.ts b/api/@ohos.app.ability.dialogRequest.d.ts index fea942c537..f77ff83eff 100644 --- a/api/@ohos.app.ability.dialogRequest.d.ts +++ b/api/@ohos.app.ability.dialogRequest.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import Want from './@ohos.app.ability.Want'; /** diff --git a/api/@ohos.app.ability.dialogSession.d.ts b/api/@ohos.app.ability.dialogSession.d.ts index d8c26c0732..8731f62e92 100644 --- a/api/@ohos.app.ability.dialogSession.d.ts +++ b/api/@ohos.app.ability.dialogSession.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.ability.errorManager.d.ts b/api/@ohos.app.ability.errorManager.d.ts index 61fadb14bf..c9ab424da5 100644 --- a/api/@ohos.app.ability.errorManager.d.ts +++ b/api/@ohos.app.ability.errorManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import * as _ErrorObserver from './application/ErrorObserver'; diff --git a/api/@ohos.app.ability.insightIntent.d.ts b/api/@ohos.app.ability.insightIntent.d.ts index 124e9f552d..a4004f65b5 100644 --- a/api/@ohos.app.ability.insightIntent.d.ts +++ b/api/@ohos.app.ability.insightIntent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * interface of insightIntent. * diff --git a/api/@ohos.app.ability.insightIntentDriver.d.ts b/api/@ohos.app.ability.insightIntentDriver.d.ts index a670c88f10..fbc93c3aff 100644 --- a/api/@ohos.app.ability.insightIntentDriver.d.ts +++ b/api/@ohos.app.ability.insightIntentDriver.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type insightIntent from './@ohos.app.ability.insightIntent'; diff --git a/api/@ohos.app.ability.missionManager.d.ts b/api/@ohos.app.ability.missionManager.d.ts index 725381b117..06e7d038fb 100644 --- a/api/@ohos.app.ability.missionManager.d.ts +++ b/api/@ohos.app.ability.missionManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { MissionInfo as _MissionInfo } from './application/MissionInfo'; import { MissionListener as _MissionListener } from './application/MissionListener'; diff --git a/api/@ohos.app.ability.quickFixManager.d.ts b/api/@ohos.app.ability.quickFixManager.d.ts index 403ceadb0d..0ebedb39c6 100644 --- a/api/@ohos.app.ability.quickFixManager.d.ts +++ b/api/@ohos.app.ability.quickFixManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.app.ability.wantAgent.d.ts b/api/@ohos.app.ability.wantAgent.d.ts index 395f833e0d..44a7f179de 100644 --- a/api/@ohos.app.ability.wantAgent.d.ts +++ b/api/@ohos.app.ability.wantAgent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; import { WantAgentInfo as _WantAgentInfo } from './wantAgent/wantAgentInfo'; diff --git a/api/@ohos.app.ability.wantConstant.d.ts b/api/@ohos.app.ability.wantConstant.d.ts index a45c118239..272c1b48c2 100644 --- a/api/@ohos.app.ability.wantConstant.d.ts +++ b/api/@ohos.app.ability.wantConstant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * the constant for action and entity in the want * diff --git a/api/@ohos.app.businessAbilityRouter.d.ts b/api/@ohos.app.businessAbilityRouter.d.ts index 9e8a4b584e..d21db0029f 100644 --- a/api/@ohos.app.businessAbilityRouter.d.ts +++ b/api/@ohos.app.businessAbilityRouter.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type * as _BusinessAbilityInfo from './application/BusinessAbilityInfo'; diff --git a/api/@ohos.app.form.FormExtensionAbility.d.ts b/api/@ohos.app.form.FormExtensionAbility.d.ts index 74019591f6..ab67f6490f 100644 --- a/api/@ohos.app.form.FormExtensionAbility.d.ts +++ b/api/@ohos.app.form.FormExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import formBindingData from './@ohos.app.form.formBindingData'; import formInfo from './@ohos.app.form.formInfo'; import FormExtensionContext from './application/FormExtensionContext'; diff --git a/api/@ohos.app.form.formAgent.d.ts b/api/@ohos.app.form.formAgent.d.ts index 3dc7ff8d99..12b86d023f 100644 --- a/api/@ohos.app.form.formAgent.d.ts +++ b/api/@ohos.app.form.formAgent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.form.formBindingData.d.ts b/api/@ohos.app.form.formBindingData.d.ts index f5e1e205e1..34f51458c4 100644 --- a/api/@ohos.app.form.formBindingData.d.ts +++ b/api/@ohos.app.form.formBindingData.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import { BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.app.form.formHost.d.ts b/api/@ohos.app.form.formHost.d.ts index f86edb473b..9885b570d3 100644 --- a/api/@ohos.app.form.formHost.d.ts +++ b/api/@ohos.app.form.formHost.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.app.form.formInfo.d.ts b/api/@ohos.app.form.formInfo.d.ts index 91faf1972a..b46ee3e761 100644 --- a/api/@ohos.app.form.formInfo.d.ts +++ b/api/@ohos.app.form.formInfo.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import Want from './@ohos.app.ability.Want'; /** diff --git a/api/@ohos.app.form.formObserver.d.ts b/api/@ohos.app.form.formObserver.d.ts index 036a177f0c..3110545790 100644 --- a/api/@ohos.app.form.formObserver.d.ts +++ b/api/@ohos.app.form.formObserver.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; import formInfo from './@ohos.app.form.formInfo'; diff --git a/api/@ohos.app.form.formProvider.d.ts b/api/@ohos.app.form.formProvider.d.ts index 946e9fbfc3..95c5a5ae6f 100644 --- a/api/@ohos.app.form.formProvider.d.ts +++ b/api/@ohos.app.form.formProvider.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import { AsyncCallback } from './@ohos.base'; import formBindingData from './@ohos.app.form.formBindingData'; import formInfo from './@ohos.app.form.formInfo'; diff --git a/api/@ohos.application.AccessibilityExtensionAbility.d.ts b/api/@ohos.application.AccessibilityExtensionAbility.d.ts index 6c19709ebc..0db9d56bc7 100644 --- a/api/@ohos.application.AccessibilityExtensionAbility.d.ts +++ b/api/@ohos.application.AccessibilityExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Accessibility Kit + */ + import type accessibility from './@ohos.accessibility'; import type { KeyEvent } from './@ohos.multimodalInput.keyEvent'; import type { diff --git a/api/@ohos.application.BackupExtensionAbility.d.ts b/api/@ohos.application.BackupExtensionAbility.d.ts index ecaa39a143..e1fb8d2246 100644 --- a/api/@ohos.application.BackupExtensionAbility.d.ts +++ b/api/@ohos.application.BackupExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type ExtensionContext from './application/ExtensionContext'; /** diff --git a/api/@ohos.application.Configuration.d.ts b/api/@ohos.application.Configuration.d.ts index 649d5ec612..b753df89ae 100644 --- a/api/@ohos.application.Configuration.d.ts +++ b/api/@ohos.application.Configuration.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import ConfigurationConstant from './@ohos.application.ConfigurationConstant'; /** diff --git a/api/@ohos.application.ConfigurationConstant.d.ts b/api/@ohos.application.ConfigurationConstant.d.ts index 36cb327f58..a3874ba1e1 100644 --- a/api/@ohos.application.ConfigurationConstant.d.ts +++ b/api/@ohos.application.ConfigurationConstant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * The definition of ConfigurationConstant. * diff --git a/api/@ohos.application.DataShareExtensionAbility.d.ts b/api/@ohos.application.DataShareExtensionAbility.d.ts index 89461f72be..406d04513f 100644 --- a/api/@ohos.application.DataShareExtensionAbility.d.ts +++ b/api/@ohos.application.DataShareExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback } from './@ohos.base'; import ExtensionContext from './application/ExtensionContext'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts b/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts index adc715e871..19f2304943 100644 --- a/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts +++ b/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { CommonEventData } from './commonEvent/commonEventData'; import StaticSubscriberExtensionContext from './@ohos.application.StaticSubscriberExtensionContext'; diff --git a/api/@ohos.application.StaticSubscriberExtensionContext.d.ts b/api/@ohos.application.StaticSubscriberExtensionContext.d.ts index dc071dfe67..4cd6067f1c 100644 --- a/api/@ohos.application.StaticSubscriberExtensionContext.d.ts +++ b/api/@ohos.application.StaticSubscriberExtensionContext.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { AsyncCallback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; import ExtensionContext from './application/ExtensionContext'; diff --git a/api/@ohos.application.Want.d.ts b/api/@ohos.application.Want.d.ts index 8640d043ba..90c97f9649 100644 --- a/api/@ohos.application.Want.d.ts +++ b/api/@ohos.application.Want.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * Want is the basic communication component of the system. * diff --git a/api/@ohos.application.WindowExtensionAbility.d.ts b/api/@ohos.application.WindowExtensionAbility.d.ts index e300f9923f..10c82f9b16 100644 --- a/api/@ohos.application.WindowExtensionAbility.d.ts +++ b/api/@ohos.application.WindowExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import rpc from './@ohos.rpc'; import _WindowExtensionContext from './application/WindowExtensionContext'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.application.abilityDelegatorRegistry.d.ts b/api/@ohos.application.abilityDelegatorRegistry.d.ts index cba0e0689b..16d5c2a040 100644 --- a/api/@ohos.application.abilityDelegatorRegistry.d.ts +++ b/api/@ohos.application.abilityDelegatorRegistry.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Test Kit + */ + import { AbilityDelegator } from './application/AbilityDelegator'; import { AbilityDelegatorArgs } from './application/abilityDelegatorArgs'; import { AbilityMonitor } from './application/AbilityMonitor'; diff --git a/api/@ohos.application.abilityManager.d.ts b/api/@ohos.application.abilityManager.d.ts index 603f5ec143..a7bbdefe8b 100644 --- a/api/@ohos.application.abilityManager.d.ts +++ b/api/@ohos.application.abilityManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Configuration } from './@ohos.application.Configuration'; import { AbilityRunningInfo } from './application/AbilityRunningInfo'; diff --git a/api/@ohos.application.appManager.d.ts b/api/@ohos.application.appManager.d.ts index e9e6e0d81d..fdaa752978 100644 --- a/api/@ohos.application.appManager.d.ts +++ b/api/@ohos.application.appManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import ApplicationStateObserver from './application/ApplicationStateObserver'; import AbilityStateData from './application/AbilityStateData'; diff --git a/api/@ohos.application.formBindingData.d.ts b/api/@ohos.application.formBindingData.d.ts index ce109950e3..94124a6540 100644 --- a/api/@ohos.application.formBindingData.d.ts +++ b/api/@ohos.application.formBindingData.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + /** * interface of formBindingData. * diff --git a/api/@ohos.application.formError.d.ts b/api/@ohos.application.formError.d.ts index b5d4e98d16..05e19c7a9e 100644 --- a/api/@ohos.application.formError.d.ts +++ b/api/@ohos.application.formError.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + /** * interface of formError. * diff --git a/api/@ohos.application.formHost.d.ts b/api/@ohos.application.formHost.d.ts index 3f197b7163..d9a40b84eb 100644 --- a/api/@ohos.application.formHost.d.ts +++ b/api/@ohos.application.formHost.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.application.formInfo.d.ts b/api/@ohos.application.formInfo.d.ts index 0788d1b188..b0431d66dc 100644 --- a/api/@ohos.application.formInfo.d.ts +++ b/api/@ohos.application.formInfo.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import Want from './@ohos.app.ability.Want'; /** diff --git a/api/@ohos.application.formProvider.d.ts b/api/@ohos.application.formProvider.d.ts index 8d07b2cac6..0f5bc9fda4 100644 --- a/api/@ohos.application.formProvider.d.ts +++ b/api/@ohos.application.formProvider.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Form Kit + */ + import { AsyncCallback } from './@ohos.base'; import formBindingData from './@ohos.application.formBindingData'; import formInfo from './@ohos.app.form.formInfo'; diff --git a/api/@ohos.application.missionManager.d.ts b/api/@ohos.application.missionManager.d.ts index 6e16921725..d91a2956f8 100644 --- a/api/@ohos.application.missionManager.d.ts +++ b/api/@ohos.application.missionManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { MissionInfo } from './application/MissionInfo'; import { MissionListener } from './application/MissionListener'; diff --git a/api/@ohos.application.testRunner.d.ts b/api/@ohos.application.testRunner.d.ts index 11e122b15f..6ce0a0426b 100644 --- a/api/@ohos.application.testRunner.d.ts +++ b/api/@ohos.application.testRunner.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Test Kit + */ + /** * Base class for the test framework. * If you want to implement your own unit test framework, you must inherit this class and overrides all its methods. diff --git a/api/@ohos.application.uriPermissionManager.d.ts b/api/@ohos.application.uriPermissionManager.d.ts index 099baf68ca..c22379f5f5 100644 --- a/api/@ohos.application.uriPermissionManager.d.ts +++ b/api/@ohos.application.uriPermissionManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type wantConstant from './@ohos.app.ability.wantConstant'; diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 5ba2700eac..8a6b8fc1a4 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// /// /// diff --git a/api/@ohos.arkui.advanced.Breadcrumb.d.ets b/api/@ohos.arkui.advanced.Breadcrumb.d.ets new file mode 100755 index 0000000000..e50c9830a1 --- /dev/null +++ b/api/@ohos.arkui.advanced.Breadcrumb.d.ets @@ -0,0 +1,139 @@ +/* + * Copyright (C) 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. + */ + +/** + * @file + * @kit ArkUI + */ + +/** + * LabelInfo of Breadcrumb. + * + * @interface LabelInfo + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ +export interface LabelInfo { + /** + * Text of label. + * + * @type { string } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + text: string; + + /** + * Icon of label. + * + * @type { ?ResourceStr } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + icon?: ResourceStr; +} + +/** + * View of Breadcrumb. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ +@Component +export declare struct Breadcrumb { + /** + * Labels of Breadcrumb. + * + * @type { Array } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + @Link + labelInfo: Array; + + /** + * Called when the label is clicked. + * + * @type { function } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + onLabelClick: (index: number, event: ClickEvent) => void; + + /** + * Called when the label begins to be dragged. + * + * @type { function } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + onLabelDragStart: (index: number, event: DragEvent) => CustomBuilder | DragItemInfo; + + /** + * Called when a component is dragged to the range of the label. + * + * @type { function } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + onLabelDragEnter: (index: number, event: DragEvent) => void; + + /** + * Called when a component is dragged out of the label range. + * + * @type { function } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + onLabelDragLeave: (index: number, event: DragEvent) => void; + + /** + * Called when the drag behavior is stopped within the scope of the label. + * + * @type { function } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + onLabelDrop: (index: number, event: DragEvent) => void; + + /** + * Called when the drag behavior is canceled. + * + * @type { function } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + onLabelDragCancel: (event: DragEvent) => void; + + /** + * Build function of Breadcrumb. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @since 11 + */ + build(): void; +} diff --git a/api/@ohos.arkui.advanced.Chip.d.ets b/api/@ohos.arkui.advanced.Chip.d.ets index 9ee0e0da08..61878b02ad 100755 --- a/api/@ohos.arkui.advanced.Chip.d.ets +++ b/api/@ohos.arkui.advanced.Chip.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; @@ -25,6 +30,8 @@ import { ResourceStr } from 'GlobalResource'; * @crossplatform * @since 11 */ + + export declare enum ChipSize { /** diff --git a/api/@ohos.arkui.advanced.ComposeListItem.d.ets b/api/@ohos.arkui.advanced.ComposeListItem.d.ets index fb8b610589..9e0c3068a0 100644 --- a/api/@ohos.arkui.advanced.ComposeListItem.d.ets +++ b/api/@ohos.arkui.advanced.ComposeListItem.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; @@ -23,6 +28,8 @@ import { ResourceStr } from 'GlobalResource'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ + + /** * Declare enum IconType * @enum { IconType } diff --git a/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets b/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets index 232fe42757..4640458170 100644 --- a/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.Counter.d.ets b/api/@ohos.arkui.advanced.Counter.d.ets index 2d89455185..ee6fd2a66f 100644 --- a/api/@ohos.arkui.advanced.Counter.d.ets +++ b/api/@ohos.arkui.advanced.Counter.d.ets @@ -12,7 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + +/** + * @file + * @kit ArkUI + */ + /** * Enum for the counter type. * diff --git a/api/@ohos.arkui.advanced.Dialog.d.ets b/api/@ohos.arkui.advanced.Dialog.d.ets index 950739ca78..f4239115fa 100644 --- a/api/@ohos.arkui.advanced.Dialog.d.ets +++ b/api/@ohos.arkui.advanced.Dialog.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; @@ -22,6 +27,8 @@ import { ResourceStr } from 'GlobalResource'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ + + /** * Declare ButtonOptions * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/@ohos.arkui.advanced.EditableTitleBar.d.ets b/api/@ohos.arkui.advanced.EditableTitleBar.d.ets index c3bc3c8c84..09277c1553 100644 --- a/api/@ohos.arkui.advanced.EditableTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.EditableTitleBar.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.Filter.d.ets b/api/@ohos.arkui.advanced.Filter.d.ets index 7f484e9c5b..e0f6ca2ba4 100644 --- a/api/@ohos.arkui.advanced.Filter.d.ets +++ b/api/@ohos.arkui.advanced.Filter.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; @@ -23,6 +28,8 @@ import { ResourceStr } from 'GlobalResource'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ + + /** * Declare FilterType * @enum { FilterType } diff --git a/api/@ohos.arkui.advanced.Popup.d.ets b/api/@ohos.arkui.advanced.Popup.d.ets index a62dd3bb5c..004bc2f392 100644 --- a/api/@ohos.arkui.advanced.Popup.d.ets +++ b/api/@ohos.arkui.advanced.Popup.d.ets @@ -13,12 +13,19 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Defines the popup text options * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ + + export interface PopupTextOptions { /** * Set the text display content. diff --git a/api/@ohos.arkui.advanced.ProgressButton.d.ets b/api/@ohos.arkui.advanced.ProgressButton.d.ets index 2c78a45fbe..20d10f648e 100644 --- a/api/@ohos.arkui.advanced.ProgressButton.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButton.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Declare Component ProgressButton * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/@ohos.arkui.advanced.SegmentButton.d.ets b/api/@ohos.arkui.advanced.SegmentButton.d.ets index 526578eeb8..56b17478c6 100644 --- a/api/@ohos.arkui.advanced.SegmentButton.d.ets +++ b/api/@ohos.arkui.advanced.SegmentButton.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; @@ -25,6 +30,8 @@ import { ResourceStr } from 'GlobalResource'; * @crossplatform * @since 11 */ + + interface SegmentButtonTextItem { /** * The text of text only item. diff --git a/api/@ohos.arkui.advanced.SelectTitleBar.d.ets b/api/@ohos.arkui.advanced.SelectTitleBar.d.ets index ae2b597e68..23b83518e0 100644 --- a/api/@ohos.arkui.advanced.SelectTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.SelectTitleBar.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.SelectionMenu.d.ets b/api/@ohos.arkui.advanced.SelectionMenu.d.ets index e27475b01f..03751cbfb4 100644 --- a/api/@ohos.arkui.advanced.SelectionMenu.d.ets +++ b/api/@ohos.arkui.advanced.SelectionMenu.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Construct parameter types for EditorMenuOptions. * @@ -20,6 +25,8 @@ * @crossplatform * @since 11 */ + + export interface EditorMenuOptions { /** * The icon of icon and text item. diff --git a/api/@ohos.arkui.advanced.SplitLayout.d.ets b/api/@ohos.arkui.advanced.SplitLayout.d.ets index 5c58738cd4..27238496c4 100644 --- a/api/@ohos.arkui.advanced.SplitLayout.d.ets +++ b/api/@ohos.arkui.advanced.SplitLayout.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.SubHeader.d.ets b/api/@ohos.arkui.advanced.SubHeader.d.ets index 3ec329030c..d03e735776 100644 --- a/api/@ohos.arkui.advanced.SubHeader.d.ets +++ b/api/@ohos.arkui.advanced.SubHeader.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets index 475c8bd9e5..25e3b6a78d 100644 --- a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets +++ b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Declare component SwipeRefresher * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/@ohos.arkui.advanced.TabTitleBar.d.ets b/api/@ohos.arkui.advanced.TabTitleBar.d.ets index 508731a7c3..26a51c968b 100644 --- a/api/@ohos.arkui.advanced.TabTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.TabTitleBar.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.ToolBar.d.ets b/api/@ohos.arkui.advanced.ToolBar.d.ets index fefdde8303..5f4e5ea392 100644 --- a/api/@ohos.arkui.advanced.ToolBar.d.ets +++ b/api/@ohos.arkui.advanced.ToolBar.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; diff --git a/api/@ohos.arkui.advanced.TreeView.d.ets b/api/@ohos.arkui.advanced.TreeView.d.ets index cfcc45ad76..1c7a9cc430 100644 --- a/api/@ohos.arkui.advanced.TreeView.d.ets +++ b/api/@ohos.arkui.advanced.TreeView.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { ResourceStr } from 'GlobalResource'; @@ -23,6 +28,8 @@ import { ResourceStr } from 'GlobalResource'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ + + /** * Control style of operation element * @enum { TreeListenType } diff --git a/api/@ohos.arkui.componentSnapshot.d.ts b/api/@ohos.arkui.componentSnapshot.d.ts index e124d4f66d..44a1a18924 100644 --- a/api/@ohos.arkui.componentSnapshot.d.ts +++ b/api/@ohos.arkui.componentSnapshot.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { AsyncCallback } from './@ohos.base'; import image from './@ohos.multimedia.image' diff --git a/api/@ohos.arkui.componentUtils.d.ts b/api/@ohos.arkui.componentUtils.d.ts index 5da98f62b8..099674309c 100644 --- a/api/@ohos.arkui.componentUtils.d.ts +++ b/api/@ohos.arkui.componentUtils.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * This module provides functionality for component coordinates and sizes. * @namespace componentUtils diff --git a/api/@ohos.arkui.dragController.d.ts b/api/@ohos.arkui.dragController.d.ts index 6ba83f43fc..f55af16e88 100644 --- a/api/@ohos.arkui.dragController.d.ts +++ b/api/@ohos.arkui.dragController.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import type { AsyncCallback, BusinessError, Callback } from './@ohos.base'; diff --git a/api/@ohos.arkui.drawableDescriptor.d.ts b/api/@ohos.arkui.drawableDescriptor.d.ts index b1b1c37677..ccdce9d3f3 100644 --- a/api/@ohos.arkui.drawableDescriptor.d.ts +++ b/api/@ohos.arkui.drawableDescriptor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import image from './@ohos.multimedia.image'; /** diff --git a/api/@ohos.arkui.inspector.d.ts b/api/@ohos.arkui.inspector.d.ts index 9a3a68e3df..e28f14c799 100644 --- a/api/@ohos.arkui.inspector.d.ts +++ b/api/@ohos.arkui.inspector.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Used to do observer layout and draw event for component. * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/@ohos.arkui.observer.d.ts b/api/@ohos.arkui.observer.d.ts index bbea782bf8..3ac3a2c119 100644 --- a/api/@ohos.arkui.observer.d.ts +++ b/api/@ohos.arkui.observer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import type { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.arkui.performanceMonitor.d.ts b/api/@ohos.arkui.performanceMonitor.d.ts index 1dd282f913..e803845252 100644 --- a/api/@ohos.arkui.performanceMonitor.d.ts +++ b/api/@ohos.arkui.performanceMonitor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Provides interfaces to monitor a scene for performance measurement. * diff --git a/api/@ohos.backgroundTaskManager.d.ts b/api/@ohos.backgroundTaskManager.d.ts index 67b8f20b48..2ad4973bf1 100644 --- a/api/@ohos.backgroundTaskManager.d.ts +++ b/api/@ohos.backgroundTaskManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { WantAgent } from './@ohos.wantAgent'; import Context from './application/BaseContext'; diff --git a/api/@ohos.base.d.ts b/api/@ohos.base.d.ts index 35769929e4..c4c449651e 100644 --- a/api/@ohos.base.d.ts +++ b/api/@ohos.base.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * Defines the basic callback. * @typedef Callback diff --git a/api/@ohos.batteryInfo.d.ts b/api/@ohos.batteryInfo.d.ts index b37ee782b8..5c07f0810b 100644 --- a/api/@ohos.batteryInfo.d.ts +++ b/api/@ohos.batteryInfo.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * Obtains battery information of a device. *

Battery information includes the remaining battery power, diff --git a/api/@ohos.batteryStatistics.d.ts b/api/@ohos.batteryStatistics.d.ts index 1848c54d93..5e3442c874 100644 --- a/api/@ohos.batteryStatistics.d.ts +++ b/api/@ohos.batteryStatistics.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.bluetooth.a2dp.d.ts b/api/@ohos.bluetooth.a2dp.d.ts index ee4a81349b..823140cc0f 100644 --- a/api/@ohos.bluetooth.a2dp.d.ts +++ b/api/@ohos.bluetooth.a2dp.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type baseProfile from './@ohos.bluetooth.baseProfile'; diff --git a/api/@ohos.bluetooth.access.d.ts b/api/@ohos.bluetooth.access.d.ts index 85887eb600..e5b3340474 100644 --- a/api/@ohos.bluetooth.access.d.ts +++ b/api/@ohos.bluetooth.access.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.bluetooth.baseProfile.d.ts b/api/@ohos.bluetooth.baseProfile.d.ts index 0054cd2b3f..1381ebe5c2 100644 --- a/api/@ohos.bluetooth.baseProfile.d.ts +++ b/api/@ohos.bluetooth.baseProfile.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type constant from './@ohos.bluetooth.constant'; diff --git a/api/@ohos.bluetooth.ble.d.ts b/api/@ohos.bluetooth.ble.d.ts index 6aae973c87..fa0a60bc87 100644 --- a/api/@ohos.bluetooth.ble.d.ts +++ b/api/@ohos.bluetooth.ble.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type constant from './@ohos.bluetooth.constant'; diff --git a/api/@ohos.bluetooth.connection.d.ts b/api/@ohos.bluetooth.connection.d.ts index 32ab205b0d..dcfd1cd698 100644 --- a/api/@ohos.bluetooth.connection.d.ts +++ b/api/@ohos.bluetooth.connection.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type constant from './@ohos.bluetooth.constant'; diff --git a/api/@ohos.bluetooth.constant.d.ts b/api/@ohos.bluetooth.constant.d.ts index 1a94452820..a8b7c4bc94 100644 --- a/api/@ohos.bluetooth.constant.d.ts +++ b/api/@ohos.bluetooth.constant.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + /** * The definition of constant. * diff --git a/api/@ohos.bluetooth.d.ts b/api/@ohos.bluetooth.d.ts index 6586042ace..3018429878 100644 --- a/api/@ohos.bluetooth.d.ts +++ b/api/@ohos.bluetooth.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.bluetooth.hfp.d.ts b/api/@ohos.bluetooth.hfp.d.ts index 3a86d6d1c9..2b25208ef1 100644 --- a/api/@ohos.bluetooth.hfp.d.ts +++ b/api/@ohos.bluetooth.hfp.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type baseProfile from './@ohos.bluetooth.baseProfile'; /** diff --git a/api/@ohos.bluetooth.hid.d.ts b/api/@ohos.bluetooth.hid.d.ts index 6024aad420..0317f28718 100644 --- a/api/@ohos.bluetooth.hid.d.ts +++ b/api/@ohos.bluetooth.hid.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type baseProfile from './@ohos.bluetooth.baseProfile'; /** diff --git a/api/@ohos.bluetooth.pan.d.ts b/api/@ohos.bluetooth.pan.d.ts index 5be35106ef..eb407e705c 100644 --- a/api/@ohos.bluetooth.pan.d.ts +++ b/api/@ohos.bluetooth.pan.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type baseProfile from './@ohos.bluetooth.baseProfile'; /** diff --git a/api/@ohos.bluetooth.pbap.d.ts b/api/@ohos.bluetooth.pbap.d.ts index 7020c58025..b49f4c68bd 100644 --- a/api/@ohos.bluetooth.pbap.d.ts +++ b/api/@ohos.bluetooth.pbap.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type baseProfile from './@ohos.bluetooth.baseProfile'; import type constant from './@ohos.bluetooth.constant'; diff --git a/api/@ohos.bluetooth.socket.d.ts b/api/@ohos.bluetooth.socket.d.ts index 99679376d0..55051aea66 100644 --- a/api/@ohos.bluetooth.socket.d.ts +++ b/api/@ohos.bluetooth.socket.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.bluetooth.wearDetection.d.ts b/api/@ohos.bluetooth.wearDetection.d.ts index c3a6902d85..2f14342d66 100644 --- a/api/@ohos.bluetooth.wearDetection.d.ts +++ b/api/@ohos.bluetooth.wearDetection.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.bluetoothManager.d.ts b/api/@ohos.bluetoothManager.d.ts index 7c2f020e05..d4a343c8a3 100644 --- a/api/@ohos.bluetoothManager.d.ts +++ b/api/@ohos.bluetoothManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.brightness.d.ts b/api/@ohos.brightness.d.ts index 37b1d5019f..9def895fac 100644 --- a/api/@ohos.brightness.d.ts +++ b/api/@ohos.brightness.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.buffer.d.ts b/api/@ohos.buffer.d.ts index 2c23d89c2e..5eb51c26e8 100644 --- a/api/@ohos.buffer.d.ts +++ b/api/@ohos.buffer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * The Buffer class is a global type for dealing with binary data directly. It can be constructed in a variety of ways. * diff --git a/api/@ohos.bundle.appControl.d.ts b/api/@ohos.bundle.appControl.d.ts index 094bc214f8..215b1b5273 100644 --- a/api/@ohos.bundle.appControl.d.ts +++ b/api/@ohos.bundle.appControl.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import type { ElementName } from './bundleManager/ElementName'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.bundle.bundleManager.d.ts b/api/@ohos.bundle.bundleManager.d.ts index 9017884a50..caf1203803 100644 --- a/api/@ohos.bundle.bundleManager.d.ts +++ b/api/@ohos.bundle.bundleManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import type { ApplicationInfo as _ApplicationInfo, ModuleMetadata as _ModuleMetadata } from './bundleManager/ApplicationInfo'; import { Metadata as _Metadata } from './bundleManager/Metadata'; diff --git a/api/@ohos.bundle.bundleMonitor.d.ts b/api/@ohos.bundle.bundleMonitor.d.ts index 0d2c2c9ea8..82e787b4b3 100644 --- a/api/@ohos.bundle.bundleMonitor.d.ts +++ b/api/@ohos.bundle.bundleMonitor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.bundle.bundleResourceManager.d.ts b/api/@ohos.bundle.bundleResourceManager.d.ts index 2d19070011..b5d8d1678f 100644 --- a/api/@ohos.bundle.bundleResourceManager.d.ts +++ b/api/@ohos.bundle.bundleResourceManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type { BundleResourceInfo as _BundleResourceInfo } from './bundleManager/BundleResourceInfo'; import type { LauncherAbilityResourceInfo as _LauncherAbilityResourceInfo } from './bundleManager/LauncherAbilityResourceInfo'; diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index e217ba7410..d6f4787ff0 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { ApplicationInfo } from './bundle/applicationInfo'; import { AbilityInfo } from './bundle/abilityInfo'; diff --git a/api/@ohos.bundle.defaultAppManager.d.ts b/api/@ohos.bundle.defaultAppManager.d.ts index c1c2ae9657..ed80d7342c 100644 --- a/api/@ohos.bundle.defaultAppManager.d.ts +++ b/api/@ohos.bundle.defaultAppManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { BundleInfo } from './bundleManager/BundleInfo'; import { ElementName } from './bundleManager/ElementName'; diff --git a/api/@ohos.bundle.distributedBundleManager.d.ts b/api/@ohos.bundle.distributedBundleManager.d.ts index 1ecb6b1a52..c4b97e6597 100644 --- a/api/@ohos.bundle.distributedBundleManager.d.ts +++ b/api/@ohos.bundle.distributedBundleManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { ElementName } from './bundleManager/ElementName'; import { RemoteAbilityInfo as _RemoteAbilityInfo } from './bundleManager/RemoteAbilityInfo'; diff --git a/api/@ohos.bundle.freeInstall.d.ts b/api/@ohos.bundle.freeInstall.d.ts index d29f156324..08ca64a3f7 100644 --- a/api/@ohos.bundle.freeInstall.d.ts +++ b/api/@ohos.bundle.freeInstall.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { DispatchInfo as _DispatchInfo } from './bundleManager/DispatchInfo'; import * as _PackInfo from './bundleManager/BundlePackInfo'; diff --git a/api/@ohos.bundle.innerBundleManager.d.ts b/api/@ohos.bundle.innerBundleManager.d.ts index 87f0285aa6..177c2a7987 100644 --- a/api/@ohos.bundle.innerBundleManager.d.ts +++ b/api/@ohos.bundle.innerBundleManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import type { BundleStatusCallback as _BundleStatusCallback } from './bundle/bundleStatusCallback'; import { LauncherAbilityInfo } from './bundle/launcherAbilityInfo'; diff --git a/api/@ohos.bundle.installer.d.ts b/api/@ohos.bundle.installer.d.ts index 5acc7af542..3765601d06 100644 --- a/api/@ohos.bundle.installer.d.ts +++ b/api/@ohos.bundle.installer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.bundle.launcherBundleManager.d.ts b/api/@ohos.bundle.launcherBundleManager.d.ts index 8a09596a55..7a3f820d4a 100644 --- a/api/@ohos.bundle.launcherBundleManager.d.ts +++ b/api/@ohos.bundle.launcherBundleManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { LauncherAbilityInfo as _LauncherAbilityInfo } from './bundleManager/LauncherAbilityInfo'; import { ShortcutInfo as _ShortcutInfo, ShortcutWant as _ShortcutWant } from './bundleManager/ShortcutInfo'; diff --git a/api/@ohos.bundle.overlay.d.ts b/api/@ohos.bundle.overlay.d.ts index c76298dc1b..e5bf0bded6 100755 --- a/api/@ohos.bundle.overlay.d.ts +++ b/api/@ohos.bundle.overlay.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import * as _OverlayModuleInfo from './bundleManager/OverlayModuleInfo'; diff --git a/api/@ohos.bundleState.d.ts b/api/@ohos.bundleState.d.ts index 6d23f080fc..ef60a4c283 100644 --- a/api/@ohos.bundleState.d.ts +++ b/api/@ohos.bundleState.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.bytrace.d.ts b/api/@ohos.bytrace.d.ts index 276a57f666..85e560a2e0 100644 --- a/api/@ohos.bytrace.d.ts +++ b/api/@ohos.bytrace.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + /** * Provides interfaces to trace a task for performance measure, the logs can be capture by the * bytrace cmdline available on the device. diff --git a/api/@ohos.calendarManager.d.ts b/api/@ohos.calendarManager.d.ts index ae1320bcdd..c416f23fc0 100644 --- a/api/@ohos.calendarManager.d.ts +++ b/api/@ohos.calendarManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Calendar Kit + */ + import { AsyncCallback } from './@ohos.base'; import type Context from './application/Context'; diff --git a/api/@ohos.charger.d.ts b/api/@ohos.charger.d.ts index 363d8f8eff..c633e13f04 100644 --- a/api/@ohos.charger.d.ts +++ b/api/@ohos.charger.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * Provides charger information includes type and protocol. * diff --git a/api/@ohos.commonEvent.d.ts b/api/@ohos.commonEvent.d.ts index 571126c42d..63e93de6d8 100644 --- a/api/@ohos.commonEvent.d.ts +++ b/api/@ohos.commonEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { AsyncCallback } from './@ohos.base'; import { CommonEventData } from './commonEvent/commonEventData'; import { CommonEventSubscriber } from './commonEvent/commonEventSubscriber'; diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index 20b4d37c0d..b94921bb61 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { AsyncCallback } from './@ohos.base'; import { CommonEventData as _CommonEventData } from './commonEvent/commonEventData'; import { CommonEventSubscriber as _CommonEventSubscriber } from './commonEvent/commonEventSubscriber'; diff --git a/api/@ohos.configPolicy.d.ts b/api/@ohos.configPolicy.d.ts index bf4e19284c..5464a5a1d8 100644 --- a/api/@ohos.configPolicy.d.ts +++ b/api/@ohos.configPolicy.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.connectedTag.d.ts b/api/@ohos.connectedTag.d.ts index 9c0bf26bfb..7592ce6de2 100644 --- a/api/@ohos.connectedTag.d.ts +++ b/api/@ohos.connectedTag.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, BusinessError, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.contact.d.ts b/api/@ohos.contact.d.ts index 81e3934377..acbe655ce5 100644 --- a/api/@ohos.contact.d.ts +++ b/api/@ohos.contact.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Contacts Kit + */ + import { AsyncCallback } from './@ohos.base'; import type Context from './application/BaseContext'; diff --git a/api/@ohos.continuation.continuationManager.d.ts b/api/@ohos.continuation.continuationManager.d.ts index 5febfbd1ca..2d9f4701d1 100644 --- a/api/@ohos.continuation.continuationManager.d.ts +++ b/api/@ohos.continuation.continuationManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { Callback } from './@ohos.base'; import { AsyncCallback } from './@ohos.base'; import type { ContinuationResult as _ContinuationResult } from './continuation/continuationResult'; diff --git a/api/@ohos.convertxml.d.ts b/api/@ohos.convertxml.d.ts index 8e3162c836..29ee0e3682 100644 --- a/api/@ohos.convertxml.d.ts +++ b/api/@ohos.convertxml.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * The convertxml module provides utilities for converting XML text to Javascript object. * diff --git a/api/@ohos.cooperate.d.ts b/api/@ohos.cooperate.d.ts index 01ee3972d4..928d39e96f 100644 --- a/api/@ohos.cooperate.d.ts +++ b/api/@ohos.cooperate.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Distributed Service Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; diff --git a/api/@ohos.curves.d.ts b/api/@ohos.curves.d.ts index d4cbfea645..71fa1db1cb 100644 --- a/api/@ohos.curves.d.ts +++ b/api/@ohos.curves.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Contains interpolator functions such as initialization, third-order Bezier curves, and spring curves. * diff --git a/api/@ohos.data.DataShareResultSet.d.ts b/api/@ohos.data.DataShareResultSet.d.ts index a7aac891f8..edc0bb330b 100644 --- a/api/@ohos.data.DataShareResultSet.d.ts +++ b/api/@ohos.data.DataShareResultSet.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + /** * Indicates the {@code DataType}. *

{@code DataType} is obtained based on the value. diff --git a/api/@ohos.data.ValuesBucket.d.ts b/api/@ohos.data.ValuesBucket.d.ts index 6ec68b498c..bdca1fe513 100644 --- a/api/@ohos.data.ValuesBucket.d.ts +++ b/api/@ohos.data.ValuesBucket.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + /** * Indicates possible value types * diff --git a/api/@ohos.data.cloudData.d.ts b/api/@ohos.data.cloudData.d.ts index 6c03fd04e9..d7ecba33a4 100644 --- a/api/@ohos.data.cloudData.d.ts +++ b/api/@ohos.data.cloudData.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback } from './@ohos.base'; import type relationalStore from './@ohos.data.relationalStore'; diff --git a/api/@ohos.data.commonType.d.ts b/api/@ohos.data.commonType.d.ts index dec79e09be..e34d24eb59 100644 --- a/api/@ohos.data.commonType.d.ts +++ b/api/@ohos.data.commonType.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + /** * Indicates the common data types. * diff --git a/api/@ohos.data.dataAbility.d.ts b/api/@ohos.data.dataAbility.d.ts index bf4a7fe4c5..5f9a92b392 100644 --- a/api/@ohos.data.dataAbility.d.ts +++ b/api/@ohos.data.dataAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback } from './@ohos.base'; import rdb from './@ohos.data.rdb'; diff --git a/api/@ohos.data.dataShare.d.ts b/api/@ohos.data.dataShare.d.ts index a23fcabb56..48a43fd7dd 100644 --- a/api/@ohos.data.dataShare.d.ts +++ b/api/@ohos.data.dataShare.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import type { AsyncCallback } from './@ohos.base'; import Context from './application/Context'; import DataShareResultSet from './@ohos.data.DataShareResultSet'; diff --git a/api/@ohos.data.dataSharePredicates.d.ts b/api/@ohos.data.dataSharePredicates.d.ts index 92bf85b89c..9eda70c1d1 100644 --- a/api/@ohos.data.dataSharePredicates.d.ts +++ b/api/@ohos.data.dataSharePredicates.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { ValueType } from './@ohos.data.ValuesBucket'; /** diff --git a/api/@ohos.data.distributedData.d.ts b/api/@ohos.data.distributedData.d.ts index 08d01c22ec..d5d426b02f 100644 --- a/api/@ohos.data.distributedData.d.ts +++ b/api/@ohos.data.distributedData.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index 6b59c854a1..d76b7e66dc 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; import type Context from './application/BaseContext'; import commonType from '@ohos.data.commonType'; diff --git a/api/@ohos.data.distributedKVStore.d.ts b/api/@ohos.data.distributedKVStore.d.ts index 836cdacdcf..4201976b1b 100644 --- a/api/@ohos.data.distributedKVStore.d.ts +++ b/api/@ohos.data.distributedKVStore.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { ValuesBucket } from './@ohos.data.ValuesBucket'; import dataSharePredicates from './@ohos.data.dataSharePredicates'; diff --git a/api/@ohos.data.preferences.d.ts b/api/@ohos.data.preferences.d.ts index 0f268ea414..2fa6950e63 100644 --- a/api/@ohos.data.preferences.d.ts +++ b/api/@ohos.data.preferences.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; import Context from './application/BaseContext'; diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index b2f76b8df6..6861080035 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { ResultSet as _ResultSet } from './data/rdb/resultSet'; import Context from './application/BaseContext'; diff --git a/api/@ohos.data.relationalStore.d.ts b/api/@ohos.data.relationalStore.d.ts index 193b8004eb..9e7af0cf85 100644 --- a/api/@ohos.data.relationalStore.d.ts +++ b/api/@ohos.data.relationalStore.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; import Context from './application/BaseContext'; import dataSharePredicates from './@ohos.data.dataSharePredicates'; diff --git a/api/@ohos.data.storage.d.ts b/api/@ohos.data.storage.d.ts index a68f12273f..f24cfb7048 100644 --- a/api/@ohos.data.storage.d.ts +++ b/api/@ohos.data.storage.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** @@ -25,6 +30,8 @@ import { AsyncCallback, Callback } from './@ohos.base'; * @syscap SystemCapability.DistributedDataManager.Preferences.Core * */ + + declare namespace storage { /** * Obtains a {@link Storage} instance matching a specified storage file name. diff --git a/api/@ohos.data.unifiedDataChannel.d.ts b/api/@ohos.data.unifiedDataChannel.d.ts index 05feb6b225..2c3b5f9925 100644 --- a/api/@ohos.data.unifiedDataChannel.d.ts +++ b/api/@ohos.data.unifiedDataChannel.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.data.uniformTypeDescriptor.d.ts b/api/@ohos.data.uniformTypeDescriptor.d.ts index 7b66fd9e57..94cc427740 100644 --- a/api/@ohos.data.uniformTypeDescriptor.d.ts +++ b/api/@ohos.data.uniformTypeDescriptor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + /** * Provides methods for uniform data type definition and query. * diff --git a/api/@ohos.deviceAttest.d.ts b/api/@ohos.deviceAttest.d.ts index 9796bc2946..e86c510206 100644 --- a/api/@ohos.deviceAttest.d.ts +++ b/api/@ohos.deviceAttest.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index 28953bd508..dee96ac852 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * A static class pertaining to the product information. * diff --git a/api/@ohos.deviceStatus.dragInteraction.d.ts b/api/@ohos.deviceStatus.dragInteraction.d.ts index fb1298e4df..e4f20c4421 100644 --- a/api/@ohos.deviceStatus.dragInteraction.d.ts +++ b/api/@ohos.deviceStatus.dragInteraction.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.display.d.ts b/api/@ohos.display.d.ts index 43c17ea30a..26ba1115db 100644 --- a/api/@ohos.display.d.ts +++ b/api/@ohos.display.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.distributedBundle.d.ts b/api/@ohos.distributedBundle.d.ts index e7a6467097..07eeea5e46 100644 --- a/api/@ohos.distributedBundle.d.ts +++ b/api/@ohos.distributedBundle.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback } from './@ohos.base'; import { ElementName } from './bundle/elementName'; import { RemoteAbilityInfo } from './bundle/remoteAbilityInfo'; diff --git a/api/@ohos.distributedDeviceManager.d.ts b/api/@ohos.distributedDeviceManager.d.ts index 32bb663d8b..6a11981208 100644 --- a/api/@ohos.distributedDeviceManager.d.ts +++ b/api/@ohos.distributedDeviceManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Distributed Service Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type { Callback } from './@ohos.base'; diff --git a/api/@ohos.distributedHardware.deviceManager.d.ts b/api/@ohos.distributedHardware.deviceManager.d.ts index caf36d6c04..7b6d545d5f 100644 --- a/api/@ohos.distributedHardware.deviceManager.d.ts +++ b/api/@ohos.distributedHardware.deviceManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Distributed Service Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type { Callback } from './@ohos.base'; diff --git a/api/@ohos.distributedHardware.hardwareManager.d.ts b/api/@ohos.distributedHardware.hardwareManager.d.ts index 11fff29523..d47f4bbe67 100644 --- a/api/@ohos.distributedHardware.hardwareManager.d.ts +++ b/api/@ohos.distributedHardware.hardwareManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Distributed Service Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.distributedMissionManager.d.ts b/api/@ohos.distributedMissionManager.d.ts index 7fbcb37afb..15c4316b73 100644 --- a/api/@ohos.distributedMissionManager.d.ts +++ b/api/@ohos.distributedMissionManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type { ContinuableInfo as _ContinuableInfo } from './application/ContinuableInfo'; import type { ContinueCallback as _ContinueCallback } from './application/ContinueCallback'; diff --git a/api/@ohos.dlpPermission.d.ts b/api/@ohos.dlpPermission.d.ts index 5db2e22f73..27c4cd0d9f 100644 --- a/api/@ohos.dlpPermission.d.ts +++ b/api/@ohos.dlpPermission.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Data Loss Prevention Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type common from './@ohos.app.ability.common'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.document.d.ts b/api/@ohos.document.d.ts index 73318b8563..6719c2fb3a 100644 --- a/api/@ohos.document.d.ts +++ b/api/@ohos.document.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback } from './@ohos.base'; export default document; diff --git a/api/@ohos.driver.deviceManager.d.ts b/api/@ohos.driver.deviceManager.d.ts index f2ec0b306e..35db472511 100644 --- a/api/@ohos.driver.deviceManager.d.ts +++ b/api/@ohos.driver.deviceManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Driver Development Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type rpc from './@ohos.rpc'; diff --git a/api/@ohos.effectKit.d.ts b/api/@ohos.effectKit.d.ts index 2533082bcd..b65dea87af 100644 --- a/api/@ohos.effectKit.d.ts +++ b/api/@ohos.effectKit.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkGraphics 2D + */ + import { AsyncCallback } from './@ohos.base'; import image from './@ohos.multimedia.image'; @@ -20,6 +25,8 @@ import image from './@ohos.multimedia.image'; * @name effectKit * @since 9 */ + + declare namespace effectKit { /** diff --git a/api/@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts b/api/@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts index b3b634cfbb..75a609248d 100644 --- a/api/@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts +++ b/api/@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type systemManager from './@ohos.enterprise.systemManager'; /** diff --git a/api/@ohos.enterprise.accountManager.d.ts b/api/@ohos.enterprise.accountManager.d.ts index b956467892..4f26597940 100644 --- a/api/@ohos.enterprise.accountManager.d.ts +++ b/api/@ohos.enterprise.accountManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; import type osAccount from './@ohos.account.osAccount'; diff --git a/api/@ohos.enterprise.adminManager.d.ts b/api/@ohos.enterprise.adminManager.d.ts index 773f01adee..7a93ca6e62 100644 --- a/api/@ohos.enterprise.adminManager.d.ts +++ b/api/@ohos.enterprise.adminManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.applicationManager.d.ts b/api/@ohos.enterprise.applicationManager.d.ts index b9e6877b61..17694a49bd 100644 --- a/api/@ohos.enterprise.applicationManager.d.ts +++ b/api/@ohos.enterprise.applicationManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.bluetoothManager.d.ts b/api/@ohos.enterprise.bluetoothManager.d.ts index 4bf3e5a4e4..a1a3d07a7f 100644 --- a/api/@ohos.enterprise.bluetoothManager.d.ts +++ b/api/@ohos.enterprise.bluetoothManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type Want from './@ohos.app.ability.Want'; import type constant from './@ohos.bluetooth.constant'; import type access from './@ohos.bluetooth.access'; diff --git a/api/@ohos.enterprise.browser.d.ts b/api/@ohos.enterprise.browser.d.ts index 4cc9b02459..482ecf1b07 100644 --- a/api/@ohos.enterprise.browser.d.ts +++ b/api/@ohos.enterprise.browser.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.bundleManager.d.ts b/api/@ohos.enterprise.bundleManager.d.ts index a1db317848..eefaae3a97 100644 --- a/api/@ohos.enterprise.bundleManager.d.ts +++ b/api/@ohos.enterprise.bundleManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.dateTimeManager.d.ts b/api/@ohos.enterprise.dateTimeManager.d.ts index b20a2ed2f4..45add9e45b 100644 --- a/api/@ohos.enterprise.dateTimeManager.d.ts +++ b/api/@ohos.enterprise.dateTimeManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.deviceControl.d.ts b/api/@ohos.enterprise.deviceControl.d.ts index 64a2208381..418367df4b 100644 --- a/api/@ohos.enterprise.deviceControl.d.ts +++ b/api/@ohos.enterprise.deviceControl.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.deviceInfo.d.ts b/api/@ohos.enterprise.deviceInfo.d.ts index 5a8a66e1a8..02c47bd202 100644 --- a/api/@ohos.enterprise.deviceInfo.d.ts +++ b/api/@ohos.enterprise.deviceInfo.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.deviceSettings.d.ts b/api/@ohos.enterprise.deviceSettings.d.ts index 5a849ae052..4eb67fd296 100644 --- a/api/@ohos.enterprise.deviceSettings.d.ts +++ b/api/@ohos.enterprise.deviceSettings.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.locationManager.d.ts b/api/@ohos.enterprise.locationManager.d.ts index a29f03cfbe..ad76f26889 100644 --- a/api/@ohos.enterprise.locationManager.d.ts +++ b/api/@ohos.enterprise.locationManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type Want from './@ohos.app.ability.Want'; /** diff --git a/api/@ohos.enterprise.networkManager.d.ts b/api/@ohos.enterprise.networkManager.d.ts index 93b80b72cc..a3885f5e60 100644 --- a/api/@ohos.enterprise.networkManager.d.ts +++ b/api/@ohos.enterprise.networkManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; import type connection from './@ohos.net.connection'; diff --git a/api/@ohos.enterprise.restrictions.d.ts b/api/@ohos.enterprise.restrictions.d.ts index 6b63b7d9fc..62ca286593 100644 --- a/api/@ohos.enterprise.restrictions.d.ts +++ b/api/@ohos.enterprise.restrictions.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.securityManager.d.ts b/api/@ohos.enterprise.securityManager.d.ts index a9220ca17e..d6108235fe 100644 --- a/api/@ohos.enterprise.securityManager.d.ts +++ b/api/@ohos.enterprise.securityManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type Want from './@ohos.app.ability.Want'; /** diff --git a/api/@ohos.enterprise.systemManager.d.ts b/api/@ohos.enterprise.systemManager.d.ts index d9191d4adf..4be0fda575 100644 --- a/api/@ohos.enterprise.systemManager.d.ts +++ b/api/@ohos.enterprise.systemManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type Want from './@ohos.app.ability.Want'; /** diff --git a/api/@ohos.enterprise.usbManager.d.ts b/api/@ohos.enterprise.usbManager.d.ts index c8a6e37cde..dbded9186b 100644 --- a/api/@ohos.enterprise.usbManager.d.ts +++ b/api/@ohos.enterprise.usbManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.enterprise.wifiManager.d.ts b/api/@ohos.enterprise.wifiManager.d.ts index 36f11e2f19..82cd83c84c 100644 --- a/api/@ohos.enterprise.wifiManager.d.ts +++ b/api/@ohos.enterprise.wifiManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit MDM Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.events.emitter.d.ts b/api/@ohos.events.emitter.d.ts index 05225b6674..f4df923464 100644 --- a/api/@ohos.events.emitter.d.ts +++ b/api/@ohos.events.emitter.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.faultLogger.d.ts b/api/@ohos.faultLogger.d.ts index 28de207092..6ae16f7dbd 100644 --- a/api/@ohos.faultLogger.d.ts +++ b/api/@ohos.faultLogger.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** @@ -21,6 +26,8 @@ import type { AsyncCallback } from './@ohos.base'; * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger * @since 8 */ + + declare namespace FaultLogger { /** * The type of fault type. diff --git a/api/@ohos.file.backup.d.ts b/api/@ohos.file.backup.d.ts index 13fe9b0fd0..761237ed52 100644 --- a/api/@ohos.file.backup.d.ts +++ b/api/@ohos.file.backup.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.file.cloudSync.d.ts b/api/@ohos.file.cloudSync.d.ts index 19ad117b8c..ef69dccf43 100644 --- a/api/@ohos.file.cloudSync.d.ts +++ b/api/@ohos.file.cloudSync.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.file.cloudSyncManager.d.ts b/api/@ohos.file.cloudSyncManager.d.ts index 2ea6514a95..166bae82bb 100644 --- a/api/@ohos.file.cloudSyncManager.d.ts +++ b/api/@ohos.file.cloudSyncManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.file.environment.d.ts b/api/@ohos.file.environment.d.ts index a80e9b31c6..7528b624d2 100644 --- a/api/@ohos.file.environment.d.ts +++ b/api/@ohos.file.environment.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.file.fileAccess.d.ts b/api/@ohos.file.fileAccess.d.ts index f3194a9e30..7b0dc696ed 100644 --- a/api/@ohos.file.fileAccess.d.ts +++ b/api/@ohos.file.fileAccess.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; import Context from './application/Context'; diff --git a/api/@ohos.file.fileExtensionInfo.d.ts b/api/@ohos.file.fileExtensionInfo.d.ts index 88eba4e7d2..a55d6af2e7 100644 --- a/api/@ohos.file.fileExtensionInfo.d.ts +++ b/api/@ohos.file.fileExtensionInfo.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + /** * This module provides the capability to parse file or device information. * diff --git a/api/@ohos.file.fileuri.d.ts b/api/@ohos.file.fileuri.d.ts index 4a2d879995..fb1bbbdb09 100644 --- a/api/@ohos.file.fileuri.d.ts +++ b/api/@ohos.file.fileuri.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Core File Kit + */ + import uri from './@ohos.uri'; /** diff --git a/api/@ohos.file.fs.d.ts b/api/@ohos.file.fs.d.ts index 2716f0957f..6582719331 100644 --- a/api/@ohos.file.fs.d.ts +++ b/api/@ohos.file.fs.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback } from './@ohos.base'; export default fileIo; diff --git a/api/@ohos.file.hash.d.ts b/api/@ohos.file.hash.d.ts index 0d227f5289..00ce25e78c 100644 --- a/api/@ohos.file.hash.d.ts +++ b/api/@ohos.file.hash.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 64e61e1e23..23f4904f4f 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Media Library Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type Context from './application/Context'; import type image from './@ohos.multimedia.image'; diff --git a/api/@ohos.file.picker.d.ts b/api/@ohos.file.picker.d.ts index 60bf58a6e9..5abc0a8ddd 100644 --- a/api/@ohos.file.picker.d.ts +++ b/api/@ohos.file.picker.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.file.recent.d.ts b/api/@ohos.file.recent.d.ts index c04c274326..a69dd6af7e 100644 --- a/api/@ohos.file.recent.d.ts +++ b/api/@ohos.file.recent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + /** * Provides the recycling ability to the file manager. * diff --git a/api/@ohos.file.securityLabel.d.ts b/api/@ohos.file.securityLabel.d.ts index e36e2fef23..63779b37f3 100644 --- a/api/@ohos.file.securityLabel.d.ts +++ b/api/@ohos.file.securityLabel.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.file.statvfs.d.ts b/api/@ohos.file.statvfs.d.ts index 4908f952ac..39d31268e5 100644 --- a/api/@ohos.file.statvfs.d.ts +++ b/api/@ohos.file.statvfs.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.file.storageStatistics.d.ts b/api/@ohos.file.storageStatistics.d.ts index 20f33ff82a..93660959da 100644 --- a/api/@ohos.file.storageStatistics.d.ts +++ b/api/@ohos.file.storageStatistics.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.file.trash.d.ts b/api/@ohos.file.trash.d.ts index 7054a43269..66fec017de 100644 --- a/api/@ohos.file.trash.d.ts +++ b/api/@ohos.file.trash.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + /** * Provides the recycling ability to the file manager. * diff --git a/api/@ohos.file.volumeManager.d.ts b/api/@ohos.file.volumeManager.d.ts index 86e17a92eb..b96a88effc 100644 --- a/api/@ohos.file.volumeManager.d.ts +++ b/api/@ohos.file.volumeManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.fileio.d.ts b/api/@ohos.fileio.d.ts index e5eb4441e0..a22abf801a 100644 --- a/api/@ohos.fileio.d.ts +++ b/api/@ohos.fileio.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback } from './@ohos.base'; export default fileIO; diff --git a/api/@ohos.filemanagement.userFileManager.d.ts b/api/@ohos.filemanagement.userFileManager.d.ts index f266c1733c..b94837e9cb 100644 --- a/api/@ohos.filemanagement.userFileManager.d.ts +++ b/api/@ohos.filemanagement.userFileManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type Context from './application/Context'; import image from './@ohos.multimedia.image'; diff --git a/api/@ohos.fileshare.d.ts b/api/@ohos.fileshare.d.ts index 15a1ba80e0..c8937454aa 100644 --- a/api/@ohos.fileshare.d.ts +++ b/api/@ohos.fileshare.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type wantConstant from './@ohos.ability.wantConstant'; diff --git a/api/@ohos.font.d.ts b/api/@ohos.font.d.ts index 67eec9b80c..24becc7fa0 100644 --- a/api/@ohos.font.d.ts +++ b/api/@ohos.font.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * @namespace font * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/@ohos.geoLocationManager.d.ts b/api/@ohos.geoLocationManager.d.ts index 92ad5a417b..4b07989716 100644 --- a/api/@ohos.geoLocationManager.d.ts +++ b/api/@ohos.geoLocationManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Location Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { WantAgent } from './@ohos.wantAgent'; diff --git a/api/@ohos.geolocation.d.ts b/api/@ohos.geolocation.d.ts index ad6f2264a8..29092ee6a6 100644 --- a/api/@ohos.geolocation.d.ts +++ b/api/@ohos.geolocation.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Location Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { WantAgent } from './@ohos.wantAgent'; diff --git a/api/@ohos.graphics.colorSpaceManager.d.ts b/api/@ohos.graphics.colorSpaceManager.d.ts index 9cbfa3ce8e..30577ec4d2 100644 --- a/api/@ohos.graphics.colorSpaceManager.d.ts +++ b/api/@ohos.graphics.colorSpaceManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkGraphics 2D + */ + import { AsyncCallback } from './@ohos.base'; /** @@ -22,6 +27,8 @@ import { AsyncCallback } from './@ohos.base'; * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @since 9 */ + + declare namespace colorSpaceManager { /** * Enumerates color space types. diff --git a/api/@ohos.hiAppEvent.d.ts b/api/@ohos.hiAppEvent.d.ts index 7eff29f4f5..139db02490 100644 --- a/api/@ohos.hiAppEvent.d.ts +++ b/api/@ohos.hiAppEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.hiSysEvent.d.ts b/api/@ohos.hiSysEvent.d.ts index 5a3272821a..4f0f1fc3d6 100644 --- a/api/@ohos.hiSysEvent.d.ts +++ b/api/@ohos.hiSysEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.hiTraceChain.d.ts b/api/@ohos.hiTraceChain.d.ts index 641b09625d..91292c37c4 100644 --- a/api/@ohos.hiTraceChain.d.ts +++ b/api/@ohos.hiTraceChain.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + /** * Provides APIs to implement call chain tracing throughout a service process. * With HiTrace, you can quickly obtain the run log for the call chain of a diff --git a/api/@ohos.hiTraceMeter.d.ts b/api/@ohos.hiTraceMeter.d.ts index 4a997f0469..5b60d31336 100644 --- a/api/@ohos.hiTraceMeter.d.ts +++ b/api/@ohos.hiTraceMeter.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + /** * Provides interfaces to trace a task for performance measure, the logs can be capture by the * bytrace cmdline available on the device. diff --git a/api/@ohos.hichecker.d.ts b/api/@ohos.hichecker.d.ts index f5309e4785..27f20a361c 100644 --- a/api/@ohos.hichecker.d.ts +++ b/api/@ohos.hichecker.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + /** * This module provides the capability to check bad code usage. * diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index ca1442e920..bbb819fac9 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + /** * Provide interfaces related to debugger access and obtaining CPU, * memory and other virtual machine information during runtime for JS programs @@ -21,6 +26,8 @@ * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @since 8 */ + + declare namespace hidebug { /** * Get total native heap memory size diff --git a/api/@ohos.hilog.d.ts b/api/@ohos.hilog.d.ts index 4d90826ce2..faebf291d5 100644 --- a/api/@ohos.hilog.d.ts +++ b/api/@ohos.hilog.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + /** * Provides interfaces to generate system logs. * diff --git a/api/@ohos.hiviewdfx.hiAppEvent.d.ts b/api/@ohos.hiviewdfx.hiAppEvent.d.ts index 637b700a29..fa64dc7070 100644 --- a/api/@ohos.hiviewdfx.hiAppEvent.d.ts +++ b/api/@ohos.hiviewdfx.hiAppEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.i18n.d.ts b/api/@ohos.i18n.d.ts index ccb37ec615..e99c37a3e3 100644 --- a/api/@ohos.i18n.d.ts +++ b/api/@ohos.i18n.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Localization Kit + */ + import { BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.identifier.oaid.d.ts b/api/@ohos.identifier.oaid.d.ts index a8178a6351..28869055bd 100644 --- a/api/@ohos.identifier.oaid.d.ts +++ b/api/@ohos.identifier.oaid.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ads Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.inputMethod.Panel.d.ts b/api/@ohos.inputMethod.Panel.d.ts index b9b2ba895f..21e47ac80f 100644 --- a/api/@ohos.inputMethod.Panel.d.ts +++ b/api/@ohos.inputMethod.Panel.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + /** * Panel information. * diff --git a/api/@ohos.inputMethod.d.ts b/api/@ohos.inputMethod.d.ts index 48ad1ebc14..585fe49fb0 100644 --- a/api/@ohos.inputMethod.d.ts +++ b/api/@ohos.inputMethod.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit IME Kit + */ + import type { Callback, AsyncCallback } from './@ohos.base'; import type { ElementName } from './bundleManager/ElementName'; import InputMethodSubtype from './@ohos.InputMethodSubtype'; diff --git a/api/@ohos.inputMethodEngine.d.ts b/api/@ohos.inputMethodEngine.d.ts index 2f608d8c09..1b51c57f5c 100644 --- a/api/@ohos.inputMethodEngine.d.ts +++ b/api/@ohos.inputMethodEngine.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit IME Kit + */ + /// import type { AsyncCallback, Callback } from './@ohos.base'; diff --git a/api/@ohos.inputMethodList.d.ets b/api/@ohos.inputMethodList.d.ets index 0132dc48ae..f5106bda75 100644 --- a/api/@ohos.inputMethodList.d.ets +++ b/api/@ohos.inputMethodList.d.ets @@ -13,6 +13,10 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ /** * Define pattern options of keyboard. diff --git a/api/@ohos.intl.d.ts b/api/@ohos.intl.d.ts index e2875d239f..a381a97c1b 100644 --- a/api/@ohos.intl.d.ts +++ b/api/@ohos.intl.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Localization Kit + */ + /** * Provides internationalization related APIs. * diff --git a/api/@ohos.logLibrary.d.ts b/api/@ohos.logLibrary.d.ts index 5c816db37e..67d784538e 100644 --- a/api/@ohos.logLibrary.d.ts +++ b/api/@ohos.logLibrary.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Lancet Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.matrix4.d.ts b/api/@ohos.matrix4.d.ts index e583caff53..1faa6e4b41 100644 --- a/api/@ohos.matrix4.d.ts +++ b/api/@ohos.matrix4.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Used to do matrix operations * diff --git a/api/@ohos.measure.d.ts b/api/@ohos.measure.d.ts index fae4a650b6..ec67ee1dae 100644 --- a/api/@ohos.measure.d.ts +++ b/api/@ohos.measure.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { Resource } from 'GlobalResource'; diff --git a/api/@ohos.mediaquery.d.ts b/api/@ohos.mediaquery.d.ts index 1f217e8305..eb9a6f7fac 100644 --- a/api/@ohos.mediaquery.d.ts +++ b/api/@ohos.mediaquery.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.multimedia.audio.d.ts b/api/@ohos.multimedia.audio.d.ts index 70e2704700..1817097c9c 100644 --- a/api/@ohos.multimedia.audio.d.ts +++ b/api/@ohos.multimedia.audio.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Audio Kit + */ + import { ErrorCallback, AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.multimedia.audioHaptic.d.ts b/api/@ohos.multimedia.audioHaptic.d.ts index d2eee844d0..eb12afc394 100644 --- a/api/@ohos.multimedia.audioHaptic.d.ts +++ b/api/@ohos.multimedia.audioHaptic.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Audio Kit + */ + import type { Callback } from './@ohos.base'; import type audio from './@ohos.multimedia.audio'; diff --git a/api/@ohos.multimedia.avCastPicker.d.ets b/api/@ohos.multimedia.avCastPicker.d.ets index 806e7c2a3d..d9003cddcf 100644 --- a/api/@ohos.multimedia.avCastPicker.d.ets +++ b/api/@ohos.multimedia.avCastPicker.d.ets @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit AVSession Kit + */ + /** * Definition of av cast picker state * @enum { number } diff --git a/api/@ohos.multimedia.avsession.d.ts b/api/@ohos.multimedia.avsession.d.ts index 2ac23791c2..ada8b7a2d0 100644 --- a/api/@ohos.multimedia.avsession.d.ts +++ b/api/@ohos.multimedia.avsession.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit AVSession Kit + */ + import type { ErrorCallback, AsyncCallback, Callback } from './@ohos.base'; import { WantAgent } from './@ohos.wantAgent'; import { KeyEvent } from './@ohos.multimodalInput.keyEvent'; @@ -27,6 +32,8 @@ import type Context from './application/BaseContext'; * @syscap SystemCapability.Multimedia.AVSession.Core * @since 9 */ + + declare namespace avSession { /** * Create an AVSession instance. An ability can only create one AVSession diff --git a/api/@ohos.multimedia.camera.d.ts b/api/@ohos.multimedia.camera.d.ts index cf95d37d6b..20e0b48a1d 100644 --- a/api/@ohos.multimedia.camera.d.ts +++ b/api/@ohos.multimedia.camera.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Camera Kit + */ + import { ErrorCallback, AsyncCallback } from './@ohos.base'; import type Context from './application/BaseContext'; import image from './@ohos.multimedia.image'; diff --git a/api/@ohos.multimedia.image.d.ts b/api/@ohos.multimedia.image.d.ts index fe0f41ef83..12777513c7 100644 --- a/api/@ohos.multimedia.image.d.ts +++ b/api/@ohos.multimedia.image.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Image Kit + */ + import { AsyncCallback } from './@ohos.base'; import type colorSpaceManager from './@ohos.graphics.colorSpaceManager'; import type rpc from './@ohos.rpc'; diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index 5b04b56b86..d7fb52c9a2 100644 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Media Kit + */ + import { ErrorCallback, AsyncCallback, Callback } from './@ohos.base'; import audio from "./@ohos.multimedia.audio"; import type image from './@ohos.multimedia.image'; @@ -23,6 +28,8 @@ import type { PlayParameters as _PlayParameters } from './multimedia/soundPool'; * @namespace media * @since 6 */ + + declare namespace media { /** * Creates an AVPlayer instance. diff --git a/api/@ohos.multimedia.mediaLibrary.d.ts b/api/@ohos.multimedia.mediaLibrary.d.ts index cffbb1da35..c11a4b0bb3 100644 --- a/api/@ohos.multimedia.mediaLibrary.d.ts +++ b/api/@ohos.multimedia.mediaLibrary.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Media Library Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import Context from './application/Context'; import image from './@ohos.multimedia.image'; diff --git a/api/@ohos.multimedia.systemSoundManager.d.ts b/api/@ohos.multimedia.systemSoundManager.d.ts index 141d873ca0..9a25b9297e 100644 --- a/api/@ohos.multimedia.systemSoundManager.d.ts +++ b/api/@ohos.multimedia.systemSoundManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Audio Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Context from './application/Context'; import type BaseContext from './application/BaseContext'; diff --git a/api/@ohos.multimodalInput.gestureEvent.d.ts b/api/@ohos.multimodalInput.gestureEvent.d.ts index 6dba8473d0..0370980188 100644 --- a/api/@ohos.multimodalInput.gestureEvent.d.ts +++ b/api/@ohos.multimodalInput.gestureEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + /** * Pinch event on touchPad * diff --git a/api/@ohos.multimodalInput.inputConsumer.d.ts b/api/@ohos.multimodalInput.inputConsumer.d.ts index 5a6e429ed0..1466be02f0 100644 --- a/api/@ohos.multimodalInput.inputConsumer.d.ts +++ b/api/@ohos.multimodalInput.inputConsumer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.multimodalInput.inputDevice.d.ts b/api/@ohos.multimodalInput.inputDevice.d.ts index b7c60f178e..36d01ad9fc 100644 --- a/api/@ohos.multimodalInput.inputDevice.d.ts +++ b/api/@ohos.multimodalInput.inputDevice.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import type { Callback, AsyncCallback } from './@ohos.base'; import type { KeyCode } from './@ohos.multimodalInput.keyCode'; diff --git a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts index 84e80b7bb7..0c0ebd4600 100644 --- a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts +++ b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import { AsyncCallback } from "./@ohos.base"; /** @@ -21,6 +26,8 @@ import { AsyncCallback } from "./@ohos.base"; * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Cooperator */ + + declare namespace inputDeviceCooperate { /** * Enumerates mouse traversal events. diff --git a/api/@ohos.multimodalInput.inputEvent.d.ts b/api/@ohos.multimodalInput.inputEvent.d.ts index e1c99f4774..7ce7faa07a 100644 --- a/api/@ohos.multimodalInput.inputEvent.d.ts +++ b/api/@ohos.multimodalInput.inputEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + /** * InputEvent * diff --git a/api/@ohos.multimodalInput.inputEventClient.d.ts b/api/@ohos.multimodalInput.inputEventClient.d.ts index 23cabc56e8..68f98abc5d 100644 --- a/api/@ohos.multimodalInput.inputEventClient.d.ts +++ b/api/@ohos.multimodalInput.inputEventClient.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import { MouseEvent } from './@ohos.multimodalInput.mouseEvent'; import { TouchEvent } from './@ohos.multimodalInput.touchEvent'; /** diff --git a/api/@ohos.multimodalInput.inputMonitor.d.ts b/api/@ohos.multimodalInput.inputMonitor.d.ts index 3acea9673d..830b0c6102 100644 --- a/api/@ohos.multimodalInput.inputMonitor.d.ts +++ b/api/@ohos.multimodalInput.inputMonitor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import { Callback } from './@ohos.base'; import { MouseEvent } from './@ohos.multimodalInput.mouseEvent'; import type { display } from './@ohos.display'; diff --git a/api/@ohos.multimodalInput.intentionCode.d.ts b/api/@ohos.multimodalInput.intentionCode.d.ts index f4a47a6282..2016c3e0ac 100644 --- a/api/@ohos.multimodalInput.intentionCode.d.ts +++ b/api/@ohos.multimodalInput.intentionCode.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + /** * IntentionCode * diff --git a/api/@ohos.multimodalInput.keyCode.d.ts b/api/@ohos.multimodalInput.keyCode.d.ts index 4bb80e1339..7e2685ea69 100644 --- a/api/@ohos.multimodalInput.keyCode.d.ts +++ b/api/@ohos.multimodalInput.keyCode.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + /** * KeyCode * diff --git a/api/@ohos.multimodalInput.keyEvent.d.ts b/api/@ohos.multimodalInput.keyEvent.d.ts index ff24f65a7b..bc01cb1b84 100644 --- a/api/@ohos.multimodalInput.keyEvent.d.ts +++ b/api/@ohos.multimodalInput.keyEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import type { InputEvent } from './@ohos.multimodalInput.inputEvent'; import type { KeyCode } from './@ohos.multimodalInput.keyCode'; /** diff --git a/api/@ohos.multimodalInput.mouseEvent.d.ts b/api/@ohos.multimodalInput.mouseEvent.d.ts index 7a76e2ec17..e4c60bece4 100644 --- a/api/@ohos.multimodalInput.mouseEvent.d.ts +++ b/api/@ohos.multimodalInput.mouseEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import type { InputEvent } from './@ohos.multimodalInput.inputEvent'; import type { KeyCode } from './@ohos.multimodalInput.keyCode'; diff --git a/api/@ohos.multimodalInput.pointer.d.ts b/api/@ohos.multimodalInput.pointer.d.ts index 85c14a54eb..7f8dee0ecf 100644 --- a/api/@ohos.multimodalInput.pointer.d.ts +++ b/api/@ohos.multimodalInput.pointer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type image from './@ohos.multimedia.image'; diff --git a/api/@ohos.multimodalInput.shortKey.d.ts b/api/@ohos.multimodalInput.shortKey.d.ts index 02b1056257..d14caface7 100644 --- a/api/@ohos.multimodalInput.shortKey.d.ts +++ b/api/@ohos.multimodalInput.shortKey.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Input Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** * Declares interfaces related to short key attributes. @@ -21,6 +27,7 @@ import type { AsyncCallback } from './@ohos.base'; * @systemapi hide for inner use * @since 10 */ + declare namespace shortKey { /** * Sets short key down duration. diff --git a/api/@ohos.multimodalInput.touchEvent.d.ts b/api/@ohos.multimodalInput.touchEvent.d.ts index 54965cf271..3b9ea7658e 100644 --- a/api/@ohos.multimodalInput.touchEvent.d.ts +++ b/api/@ohos.multimodalInput.touchEvent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Input Kit + */ + import type { InputEvent } from './@ohos.multimodalInput.inputEvent'; /** diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index 1c0b04eb4f..03a0084a62 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type http from './@ohos.net.http'; import type socket from './@ohos.net.socket'; diff --git a/api/@ohos.net.ethernet.d.ts b/api/@ohos.net.ethernet.d.ts index 08be2b656f..f4039c0d74 100644 --- a/api/@ohos.net.ethernet.d.ts +++ b/api/@ohos.net.ethernet.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type connection from './@ohos.net.connection'; diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index b673c487b5..7ce27acbef 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type connection from './@ohos.net.connection'; diff --git a/api/@ohos.net.mdns.d.ts b/api/@ohos.net.mdns.d.ts index adaea236c4..6d9d6f9bad 100644 --- a/api/@ohos.net.mdns.d.ts +++ b/api/@ohos.net.mdns.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import { AsyncCallback, Callback } from "./@ohos.base"; import connection from "./@ohos.net.connection"; import Context from "./application/Context"; diff --git a/api/@ohos.net.policy.d.ts b/api/@ohos.net.policy.d.ts index 552df20e0f..87d3c91609 100644 --- a/api/@ohos.net.policy.d.ts +++ b/api/@ohos.net.policy.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type connection from './@ohos.net.connection'; diff --git a/api/@ohos.net.sharing.d.ts b/api/@ohos.net.sharing.d.ts index 6e490f5bf0..f88b8cf695 100644 --- a/api/@ohos.net.sharing.d.ts +++ b/api/@ohos.net.sharing.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type connection from './@ohos.net.connection'; diff --git a/api/@ohos.net.socket.d.ts b/api/@ohos.net.socket.d.ts index 4193794447..92b9ccbcf7 100644 --- a/api/@ohos.net.socket.d.ts +++ b/api/@ohos.net.socket.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback, ErrorCallback } from './@ohos.base'; import connection from "./@ohos.net.connection"; import type cert from './@ohos.security.cert'; diff --git a/api/@ohos.net.statistics.d.ts b/api/@ohos.net.statistics.d.ts index ceaddb1c2b..e101e01ecc 100644 --- a/api/@ohos.net.statistics.d.ts +++ b/api/@ohos.net.statistics.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.net.vpn.d.ts b/api/@ohos.net.vpn.d.ts index ebee1aa7f3..088eccd70d 100644 --- a/api/@ohos.net.vpn.d.ts +++ b/api/@ohos.net.vpn.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type connection from './@ohos.net.connection'; import type _AbilityContext from './application/UIAbilityContext'; diff --git a/api/@ohos.net.webSocket.d.ts b/api/@ohos.net.webSocket.d.ts index 0bff69c361..76a3f1ca69 100644 --- a/api/@ohos.net.webSocket.d.ts +++ b/api/@ohos.net.webSocket.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + import type { AsyncCallback, ErrorCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.nfc.cardEmulation.d.ts b/api/@ohos.nfc.cardEmulation.d.ts index 38c89d3b10..dca94fdab6 100644 --- a/api/@ohos.nfc.cardEmulation.d.ts +++ b/api/@ohos.nfc.cardEmulation.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import { AsyncCallback } from './@ohos.base'; import { ElementName } from './bundleManager/ElementName'; import type { AbilityInfo } from './bundleManager/AbilityInfo'; diff --git a/api/@ohos.nfc.controller.d.ts b/api/@ohos.nfc.controller.d.ts index 98986e2cce..cf1b68010c 100644 --- a/api/@ohos.nfc.controller.d.ts +++ b/api/@ohos.nfc.controller.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.nfc.tag.d.ts b/api/@ohos.nfc.tag.d.ts index c2835ebfe7..3fa4d440b8 100644 --- a/api/@ohos.nfc.tag.d.ts +++ b/api/@ohos.nfc.tag.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { NfcATag as _NfcATag, NfcBTag as _NfcBTag, NfcFTag as _NfcFTag, NfcVTag as _NfcVTag } from './tag/nfctech'; import { IsoDepTag as _IsoDepTag, diff --git a/api/@ohos.notification.d.ts b/api/@ohos.notification.d.ts index 7fa8849faa..a30cf8e04d 100644 --- a/api/@ohos.notification.d.ts +++ b/api/@ohos.notification.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { AsyncCallback } from './@ohos.base'; import { NotificationActionButton } from './notification/notificationActionButton'; import { NotificationBasicContent } from './notification/notificationContent'; diff --git a/api/@ohos.notificationManager.d.ts b/api/@ohos.notificationManager.d.ts index 5fa5000274..b8e7411040 100644 --- a/api/@ohos.notificationManager.d.ts +++ b/api/@ohos.notificationManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { AsyncCallback } from './@ohos.base'; import { BundleOption as _BundleOption } from './notification/NotificationCommonDef'; import { NotificationActionButton as _NotificationActionButton } from './notification/notificationActionButton'; diff --git a/api/@ohos.notificationSubscribe.d.ts b/api/@ohos.notificationSubscribe.d.ts index 442bee1b0c..62c669cd0e 100644 --- a/api/@ohos.notificationSubscribe.d.ts +++ b/api/@ohos.notificationSubscribe.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + import { AsyncCallback } from './@ohos.base'; import { BundleOption as _BundleOption } from './notification/NotificationCommonDef'; import { NotificationSubscribeInfo as _NotificationSubscribeInfo } from './notification/notificationSubscribeInfo'; diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts index 163df19eba..23b55a3dda 100644 --- a/api/@ohos.pasteboard.d.ts +++ b/api/@ohos.pasteboard.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; import image from './@ohos.multimedia.image'; diff --git a/api/@ohos.pluginComponent.d.ts b/api/@ohos.pluginComponent.d.ts index 5452e074bf..a49b3262ea 100644 --- a/api/@ohos.pluginComponent.d.ts +++ b/api/@ohos.pluginComponent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { AsyncCallback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts index bd4e9b843f..a4169cfcf8 100644 --- a/api/@ohos.power.d.ts +++ b/api/@ohos.power.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.print.d.ts b/api/@ohos.print.d.ts index f70ecd28a9..b7cc7fd431 100644 --- a/api/@ohos.print.d.ts +++ b/api/@ohos.print.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; import type Context from './application/Context'; diff --git a/api/@ohos.privacyManager.d.ts b/api/@ohos.privacyManager.d.ts index 8c84eef77d..5e7f21a5b9 100644 --- a/api/@ohos.privacyManager.d.ts +++ b/api/@ohos.privacyManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Safety Detect Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { Permissions } from './permissions'; diff --git a/api/@ohos.process.d.ts b/api/@ohos.process.d.ts index 9eecf68b5c..3054627d04 100644 --- a/api/@ohos.process.d.ts +++ b/api/@ohos.process.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * The process is mainly used to obtain the relevant ID of the process, obtain and modify * the working directory of the process, exit and close the process. diff --git a/api/@ohos.prompt.d.ts b/api/@ohos.prompt.d.ts index 0e77ce1ff6..fb96c65cac 100644 --- a/api/@ohos.prompt.d.ts +++ b/api/@ohos.prompt.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.promptAction.d.ts b/api/@ohos.promptAction.d.ts index 1affee41e7..f734e9a254 100644 --- a/api/@ohos.promptAction.d.ts +++ b/api/@ohos.promptAction.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.reminderAgent.d.ts b/api/@ohos.reminderAgent.d.ts index ad697df90f..dc75ae810a 100644 --- a/api/@ohos.reminderAgent.d.ts +++ b/api/@ohos.reminderAgent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback } from './@ohos.base'; import notification from './@ohos.notification'; import { NotificationSlot } from './notification/notificationSlot'; diff --git a/api/@ohos.reminderAgentManager.d.ts b/api/@ohos.reminderAgentManager.d.ts index e34720e4c2..32c7c5e855 100644 --- a/api/@ohos.reminderAgentManager.d.ts +++ b/api/@ohos.reminderAgentManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback } from './@ohos.base'; import notification from './@ohos.notificationManager'; import { NotificationSlot } from './notification/notificationSlot'; diff --git a/api/@ohos.request.d.ts b/api/@ohos.request.d.ts index c6971056aa..1ebb53a7d5 100644 --- a/api/@ohos.request.d.ts +++ b/api/@ohos.request.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; import BaseContext from './application/BaseContext'; diff --git a/api/@ohos.resourceManager.d.ts b/api/@ohos.resourceManager.d.ts index 5be25e313b..4c0dcd5e8f 100644 --- a/api/@ohos.resourceManager.d.ts +++ b/api/@ohos.resourceManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Localization Kit + */ + import { RawFileDescriptor as _RawFileDescriptor } from './global/rawFileDescriptor'; import { Resource as _Resource } from './global/resource'; import { AsyncCallback as _AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.resourceschedule.backgroundTaskManager.d.ts b/api/@ohos.resourceschedule.backgroundTaskManager.d.ts index 531431821d..f29185668d 100644 --- a/api/@ohos.resourceschedule.backgroundTaskManager.d.ts +++ b/api/@ohos.resourceschedule.backgroundTaskManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import { WantAgent } from './@ohos.wantAgent'; import Context from './application/BaseContext'; diff --git a/api/@ohos.resourceschedule.deviceStandby.d.ts b/api/@ohos.resourceschedule.deviceStandby.d.ts index cd2690b2f8..94c8e040ce 100644 --- a/api/@ohos.resourceschedule.deviceStandby.d.ts +++ b/api/@ohos.resourceschedule.deviceStandby.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.resourceschedule.usageStatistics.d.ts b/api/@ohos.resourceschedule.usageStatistics.d.ts index 79b3dfa42a..80ff1bf172 100644 --- a/api/@ohos.resourceschedule.usageStatistics.d.ts +++ b/api/@ohos.resourceschedule.usageStatistics.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.resourceschedule.workScheduler.d.ts b/api/@ohos.resourceschedule.workScheduler.d.ts index 8df4be1308..b7b3300228 100644 --- a/api/@ohos.resourceschedule.workScheduler.d.ts +++ b/api/@ohos.resourceschedule.workScheduler.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Background Tasks Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.router.d.ts b/api/@ohos.router.d.ts index 94d381f0c1..c6b314a376 100644 --- a/api/@ohos.router.d.ts +++ b/api/@ohos.router.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { Callback } from './@ohos.base'; import { AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.rpc.d.ts b/api/@ohos.rpc.d.ts index 4e12331d20..e9b215f3e8 100644 --- a/api/@ohos.rpc.d.ts +++ b/api/@ohos.rpc.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit IPC Kit + */ + import type { AsyncCallback } from './@ohos.base'; declare namespace rpc { diff --git a/api/@ohos.runningLock.d.ts b/api/@ohos.runningLock.d.ts index 4a51114079..532c8c96d9 100644 --- a/api/@ohos.runningLock.d.ts +++ b/api/@ohos.runningLock.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.screen.d.ts b/api/@ohos.screen.d.ts index c8e774eece..efdc261876 100644 --- a/api/@ohos.screen.d.ts +++ b/api/@ohos.screen.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.screenLock.d.ts b/api/@ohos.screenLock.d.ts index 34d799efb0..213167d32b 100644 --- a/api/@ohos.screenLock.d.ts +++ b/api/@ohos.screenLock.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; import { Callback } from './@ohos.base'; diff --git a/api/@ohos.screenshot.d.ts b/api/@ohos.screenshot.d.ts index 3751908dc5..b91a2adb41 100644 --- a/api/@ohos.screenshot.d.ts +++ b/api/@ohos.screenshot.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import { AsyncCallback, ErrorCallback } from './@ohos.base'; import image from './@ohos.multimedia.image'; diff --git a/api/@ohos.secureElement.d.ts b/api/@ohos.secureElement.d.ts index 7b5ff69005..e667440432 100644 --- a/api/@ohos.secureElement.d.ts +++ b/api/@ohos.secureElement.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.security.cert.d.ts b/api/@ohos.security.cert.d.ts index 8013ab7bc0..5cfeeb0086 100644 --- a/api/@ohos.security.cert.d.ts +++ b/api/@ohos.security.cert.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Device Certificate Kit + */ + import type { AsyncCallback } from './@ohos.base'; import cryptoFramework from '@ohos.security.cryptoFramework'; diff --git a/api/@ohos.security.certManager.d.ts b/api/@ohos.security.certManager.d.ts index edf10c6949..7407a04653 100644 --- a/api/@ohos.security.certManager.d.ts +++ b/api/@ohos.security.certManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Device Certificate Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.security.cryptoFramework.d.ts b/api/@ohos.security.cryptoFramework.d.ts index e5877562e5..b2ae351a7c 100644 --- a/api/@ohos.security.cryptoFramework.d.ts +++ b/api/@ohos.security.cryptoFramework.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Crypto Architecture Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.security.huks.d.ts b/api/@ohos.security.huks.d.ts index c40ead4fb6..c847aa9878 100644 --- a/api/@ohos.security.huks.d.ts +++ b/api/@ohos.security.huks.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Universal Keystore Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.sensor.d.ts b/api/@ohos.sensor.d.ts index 7e273a8750..a1a3e4f658 100644 --- a/api/@ohos.sensor.d.ts +++ b/api/@ohos.sensor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Sensor Service Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.settings.d.ts b/api/@ohos.settings.d.ts index 2254204333..f3f50ac602 100644 --- a/api/@ohos.settings.d.ts +++ b/api/@ohos.settings.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; import { DataAbilityHelper } from './ability/dataAbilityHelper'; import Context from './application/Context'; diff --git a/api/@ohos.statfs.d.ts b/api/@ohos.statfs.d.ts index d8b86e571e..c4c179f6c7 100644 --- a/api/@ohos.statfs.d.ts +++ b/api/@ohos.statfs.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.stationary.d.ts b/api/@ohos.stationary.d.ts index 36959c356d..a7f6b9919b 100644 --- a/api/@ohos.stationary.d.ts +++ b/api/@ohos.stationary.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Multimodal Awareness Kit + */ + import type { Callback } from './@ohos.base'; /** diff --git a/api/@ohos.systemCapability.d.ts b/api/@ohos.systemCapability.d.ts index caf17c63d3..7a11eaa60d 100644 --- a/api/@ohos.systemCapability.d.ts +++ b/api/@ohos.systemCapability.d.ts @@ -12,6 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.systemDateTime.d.ts b/api/@ohos.systemDateTime.d.ts index d6e7db540d..e7042ad814 100644 --- a/api/@ohos.systemDateTime.d.ts +++ b/api/@ohos.systemDateTime.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.systemParameterEnhance.d.ts b/api/@ohos.systemParameterEnhance.d.ts index 2fd0777c25..19ca089ec6 100644 --- a/api/@ohos.systemParameterEnhance.d.ts +++ b/api/@ohos.systemParameterEnhance.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.systemTime.d.ts b/api/@ohos.systemTime.d.ts index 14619dcf48..6dcf4b0f1b 100644 --- a/api/@ohos.systemTime.d.ts +++ b/api/@ohos.systemTime.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.systemTimer.d.ts b/api/@ohos.systemTimer.d.ts index 9652f09fec..0da869271d 100644 --- a/api/@ohos.systemTimer.d.ts +++ b/api/@ohos.systemTimer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; import { WantAgent } from './@ohos.app.ability.wantAgent'; diff --git a/api/@ohos.systemparameter.d.ts b/api/@ohos.systemparameter.d.ts index ac4bc7f2ea..3f41e3bee9 100644 --- a/api/@ohos.systemparameter.d.ts +++ b/api/@ohos.systemparameter.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, BusinessError } from './@ohos.base'; /** diff --git a/api/@ohos.taskpool.d.ts b/api/@ohos.taskpool.d.ts index 74fa7e552f..eeabbb3d21 100644 --- a/api/@ohos.taskpool.d.ts +++ b/api/@ohos.taskpool.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * JS cross-thread task executor. * diff --git a/api/@ohos.telephony.call.d.ts b/api/@ohos.telephony.call.d.ts index 38723b73c3..f7ad50dd75 100644 --- a/api/@ohos.telephony.call.d.ts +++ b/api/@ohos.telephony.call.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Call Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.telephony.data.d.ts b/api/@ohos.telephony.data.d.ts index 0a4db992d8..92235d1db0 100644 --- a/api/@ohos.telephony.data.d.ts +++ b/api/@ohos.telephony.data.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Telephony Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.telephony.observer.d.ts b/api/@ohos.telephony.observer.d.ts index 4ca0a3c9ed..b5e20d68fd 100644 --- a/api/@ohos.telephony.observer.d.ts +++ b/api/@ohos.telephony.observer.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Telephony Kit + */ + import type { Callback } from './@ohos.base'; import type radio from './@ohos.telephony.radio'; import type data from './@ohos.telephony.data'; diff --git a/api/@ohos.telephony.radio.d.ts b/api/@ohos.telephony.radio.d.ts index 522b67c0d1..e96ba335da 100644 --- a/api/@ohos.telephony.radio.d.ts +++ b/api/@ohos.telephony.radio.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Telephony Kit + */ + import type { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.telephony.sim.d.ts b/api/@ohos.telephony.sim.d.ts index 2c2affe3d8..8875b2b5c3 100644 --- a/api/@ohos.telephony.sim.d.ts +++ b/api/@ohos.telephony.sim.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Telephony Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.telephony.sms.d.ts b/api/@ohos.telephony.sms.d.ts index 8c2dc54de4..8abf7ba017 100644 --- a/api/@ohos.telephony.sms.d.ts +++ b/api/@ohos.telephony.sms.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Telephony Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type Context from './application/BaseContext'; diff --git a/api/@ohos.telephony.vcard.d.ts b/api/@ohos.telephony.vcard.d.ts index c99b6788c6..22129edfd7 100644 --- a/api/@ohos.telephony.vcard.d.ts +++ b/api/@ohos.telephony.vcard.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Telephony Kit + */ + import type { AsyncCallback } from './@ohos.base'; import type dataSharePredicates from './@ohos.data.dataSharePredicates'; diff --git a/api/@ohos.thermal.d.ts b/api/@ohos.thermal.d.ts index 21526eefde..60dfd615e6 100644 --- a/api/@ohos.thermal.d.ts +++ b/api/@ohos.thermal.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback, BusinessError, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.uiAppearance.d.ts b/api/@ohos.uiAppearance.d.ts index 240266e54f..18f9caf545 100644 --- a/api/@ohos.uiAppearance.d.ts +++ b/api/@ohos.uiAppearance.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts index bb28c6b7e2..6df5e81359 100644 --- a/api/@ohos.update.d.ts +++ b/api/@ohos.update.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.uri.d.ts b/api/@ohos.uri.d.ts index 245b4d82cf..80b3641cce 100644 --- a/api/@ohos.uri.d.ts +++ b/api/@ohos.uri.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * The uri module provides utilities for URI resolution and parsing. * diff --git a/api/@ohos.url.d.ts b/api/@ohos.url.d.ts index 9b5d98edd0..c3d3498367 100644 --- a/api/@ohos.url.d.ts +++ b/api/@ohos.url.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * The url module provides utilities for URL resolution and parsing. * diff --git a/api/@ohos.usb.d.ts b/api/@ohos.usb.d.ts index ca6f6a8725..2a9acae34c 100644 --- a/api/@ohos.usb.d.ts +++ b/api/@ohos.usb.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * @namespace usb * @since 8 diff --git a/api/@ohos.usbManager.d.ts b/api/@ohos.usbManager.d.ts index c638535bfb..4e0cf5a880 100644 --- a/api/@ohos.usbManager.d.ts +++ b/api/@ohos.usbManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * This module provides the capability of manage USB device. * diff --git a/api/@ohos.userIAM.faceAuth.d.ts b/api/@ohos.userIAM.faceAuth.d.ts index a0edad3d27..a3a52474f1 100644 --- a/api/@ohos.userIAM.faceAuth.d.ts +++ b/api/@ohos.userIAM.faceAuth.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Local Authentication Kit + */ + /** * This module provides the capability to manage face auth. * diff --git a/api/@ohos.userIAM.userAuth.d.ts b/api/@ohos.userIAM.userAuth.d.ts index a5f0e92a3d..684313864e 100644 --- a/api/@ohos.userIAM.userAuth.d.ts +++ b/api/@ohos.userIAM.userAuth.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Local Authentication Kit + */ + import type { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.util.ArrayList.d.ts b/api/@ohos.util.ArrayList.d.ts index dcff9debb0..05dbee7b73 100644 --- a/api/@ohos.util.ArrayList.d.ts +++ b/api/@ohos.util.ArrayList.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * ArrayList is a linear data structure that is implemented based on arrays. * ArrayList can dynamically adjust the capacity based on project requirements. It increases the capacity by 50% each time. diff --git a/api/@ohos.util.Deque.d.ts b/api/@ohos.util.Deque.d.ts index ff0644a558..c15d8eabc4 100644 --- a/api/@ohos.util.Deque.d.ts +++ b/api/@ohos.util.Deque.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * Double-ended queue (deque) is a sequence container implemented based on the queue data structure that * follows the principles of First In First Out (FIFO) and Last In First Out (LIFO). diff --git a/api/@ohos.util.HashMap.d.ts b/api/@ohos.util.HashMap.d.ts index 4eefa9671b..b7085251a8 100644 --- a/api/@ohos.util.HashMap.d.ts +++ b/api/@ohos.util.HashMap.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * HashMap is a map implemented based on the array, linked list, and red-black tree. It provides efficient data query, insertion, * and removal. The elements in a HashMap instance are mappings of key-value pairs. Each key must be unique and have only one value. diff --git a/api/@ohos.util.HashSet.d.ts b/api/@ohos.util.HashSet.d.ts index 6e891fcd1a..5f161a2e15 100644 --- a/api/@ohos.util.HashSet.d.ts +++ b/api/@ohos.util.HashSet.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * HashSet is implemented based on HashMap. In HashSet, only the value object is processed. * diff --git a/api/@ohos.util.LightWeightMap.d.ts b/api/@ohos.util.LightWeightMap.d.ts index 790fc34cf1..0f21eb44ff 100644 --- a/api/@ohos.util.LightWeightMap.d.ts +++ b/api/@ohos.util.LightWeightMap.d.ts @@ -12,7 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + +/** + * @file + * @kit ArkTS + */ + /** * LightWeightMap stores key-value (KV) pairs. Each key must be unique and have only one value. * diff --git a/api/@ohos.util.LightWeightSet.d.ts b/api/@ohos.util.LightWeightSet.d.ts index 7dbf87ec92..8a57cfee3f 100644 --- a/api/@ohos.util.LightWeightSet.d.ts +++ b/api/@ohos.util.LightWeightSet.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * LightWeightSet stores a set of values, each of which must be unique. * diff --git a/api/@ohos.util.LinkedList.d.ts b/api/@ohos.util.LinkedList.d.ts index f575b0976b..dd9543b727 100644 --- a/api/@ohos.util.LinkedList.d.ts +++ b/api/@ohos.util.LinkedList.d.ts @@ -12,7 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + +/** + * @file + * @kit ArkTS + */ + /** * LinkedList is implemented based on the doubly linked list. Each node of the doubly linked list has * references pointing to the previous element and the next element. When querying an element, diff --git a/api/@ohos.util.List.d.ts b/api/@ohos.util.List.d.ts index 227a9bb422..829c0e150e 100644 --- a/api/@ohos.util.List.d.ts +++ b/api/@ohos.util.List.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * List is implemented based on the singly linked list. Each node has a reference pointing to the next element. * When querying an element, the system traverses the list from the beginning. diff --git a/api/@ohos.util.PlainArray.d.ts b/api/@ohos.util.PlainArray.d.ts index c8d62fc9f5..51ffa98202 100644 --- a/api/@ohos.util.PlainArray.d.ts +++ b/api/@ohos.util.PlainArray.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * PlainArray stores key-value (KV) pairs. Each key must be unique, be of the number type, and have only one value. * PlainArray is based on generics and uses a lightweight structure. diff --git a/api/@ohos.util.Queue.d.ts b/api/@ohos.util.Queue.d.ts index 0b01df4dd9..0ed3f63950 100644 --- a/api/@ohos.util.Queue.d.ts +++ b/api/@ohos.util.Queue.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * Queue follows the principle of First In First Out (FIFO). * It supports insertion of elements at the end and removal from the front of the queue. diff --git a/api/@ohos.util.Stack.d.ts b/api/@ohos.util.Stack.d.ts index 05e3adfaef..66b586cf55 100644 --- a/api/@ohos.util.Stack.d.ts +++ b/api/@ohos.util.Stack.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * Stack is implemented based on the array data structure. * It follows the principle Last Out First In (LOFI) and supports data insertion and removal at one end. diff --git a/api/@ohos.util.TreeMap.d.ts b/api/@ohos.util.TreeMap.d.ts index cbfabf1017..d89d54da96 100644 --- a/api/@ohos.util.TreeMap.d.ts +++ b/api/@ohos.util.TreeMap.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * TreeMap stores key-value (KV) pairs. Each key must be unique and have only one value. * TreeMap is implemented using a red-black tree, which is a binary search tree where keys diff --git a/api/@ohos.util.TreeSet.d.ts b/api/@ohos.util.TreeSet.d.ts index 343b670698..20305eb831 100644 --- a/api/@ohos.util.TreeSet.d.ts +++ b/api/@ohos.util.TreeSet.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * TreeSet is implemented based on TreeMap. In TreeSet, only value objects are processed. * TreeSet can be used to store values, each of which must be unique. diff --git a/api/@ohos.util.Vector.d.ts b/api/@ohos.util.Vector.d.ts index 8e2ce7e0a9..f5d973b71d 100644 --- a/api/@ohos.util.Vector.d.ts +++ b/api/@ohos.util.Vector.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * Vector is a linear data structure that is implemented based on arrays. When the memory of a vector is used up, * a larger contiguous memory area is automatically allocated, all the elements are copied to the new memory area, diff --git a/api/@ohos.util.d.ts b/api/@ohos.util.d.ts index 4888c5af1b..823e389a43 100644 --- a/api/@ohos.util.d.ts +++ b/api/@ohos.util.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * TextDecoder support full encoding in ICU data utf-8 utf-16 iso8859 must support in all device, TextEncoder takes a * stream of code points as input and emits a stream of UTF-8 bytes, and system help function. diff --git a/api/@ohos.vibrator.d.ts b/api/@ohos.vibrator.d.ts index 7f62fb4be6..906ce22f6b 100644 --- a/api/@ohos.vibrator.d.ts +++ b/api/@ohos.vibrator.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Sensor Service Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@ohos.wallpaper.d.ts b/api/@ohos.wallpaper.d.ts index 4d8a34fbbb..b2623520c0 100644 --- a/api/@ohos.wallpaper.d.ts +++ b/api/@ohos.wallpaper.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import {AsyncCallback} from './@ohos.base'; import image from './@ohos.multimedia.image'; diff --git a/api/@ohos.wantAgent.d.ts b/api/@ohos.wantAgent.d.ts index 5e9d3195db..2797c1dd0f 100644 --- a/api/@ohos.wantAgent.d.ts +++ b/api/@ohos.wantAgent.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; import Want from './@ohos.app.ability.Want'; import { WantAgentInfo } from './wantAgent/wantAgentInfo'; diff --git a/api/@ohos.web.webview.d.ts b/api/@ohos.web.webview.d.ts index 6f11ddf314..392c587480 100644 --- a/api/@ohos.web.webview.d.ts +++ b/api/@ohos.web.webview.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkWeb + */ + /// import { AsyncCallback } from './@ohos.base'; diff --git a/api/@ohos.wifi.d.ts b/api/@ohos.wifi.d.ts index dfa200a4aa..8453488191 100644 --- a/api/@ohos.wifi.d.ts +++ b/api/@ohos.wifi.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.wifiManager.d.ts b/api/@ohos.wifiManager.d.ts index 5b4255f7b6..5df878180e 100644 --- a/api/@ohos.wifiManager.d.ts +++ b/api/@ohos.wifiManager.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.wifiManagerExt.d.ts b/api/@ohos.wifiManagerExt.d.ts index f486723f27..ca1e31fcab 100644 --- a/api/@ohos.wifiManagerExt.d.ts +++ b/api/@ohos.wifiManagerExt.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** * Provides extended methods to operate or manage Wi-Fi. diff --git a/api/@ohos.wifiext.d.ts b/api/@ohos.wifiext.d.ts index 74a481a66e..1f197f157e 100644 --- a/api/@ohos.wifiext.d.ts +++ b/api/@ohos.wifiext.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + import { AsyncCallback, Callback } from './@ohos.base'; /** diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 6769ba6610..0f9ac6db25 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /// import { AsyncCallback, Callback } from './@ohos.base'; diff --git a/api/@ohos.worker.d.ts b/api/@ohos.worker.d.ts index b09d27b0ed..cc548f83fa 100644 --- a/api/@ohos.worker.d.ts +++ b/api/@ohos.worker.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * @typedef WorkerOptions * Provides options that can be set for the worker to create. diff --git a/api/@ohos.xml.d.ts b/api/@ohos.xml.d.ts index c664a18931..53a1c31b9b 100644 --- a/api/@ohos.xml.d.ts +++ b/api/@ohos.xml.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkTS + */ + /** * The xml module provides utilities for converting XML text to Javascript object, XML generation and parsing. * diff --git a/api/@ohos.zlib.d.ts b/api/@ohos.zlib.d.ts index 9358b12233..d94bec43d7 100644 --- a/api/@ohos.zlib.d.ts +++ b/api/@ohos.zlib.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + import { AsyncCallback } from './@ohos.base'; /** diff --git a/api/@system.app.d.ts b/api/@system.app.d.ts index d527a45be8..b9a69d8ce4 100644 --- a/api/@system.app.d.ts +++ b/api/@system.app.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Defines the AppResponse info. * diff --git a/api/@system.battery.d.ts b/api/@system.battery.d.ts index 0adc2736ab..f613a377fb 100644 --- a/api/@system.battery.d.ts +++ b/api/@system.battery.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * @interface BatteryResponse * @syscap SystemCapability.PowerManager.BatteryManager.Lite diff --git a/api/@system.bluetooth.d.ts b/api/@system.bluetooth.d.ts index caaa7de19e..53085ff4f1 100644 --- a/api/@system.bluetooth.d.ts +++ b/api/@system.bluetooth.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Connectivity Kit + */ + /** * @typedef StartBLEScanOptions * @syscap SystemCapability.Communication.Bluetooth.Lite diff --git a/api/@system.brightness.d.ts b/api/@system.brightness.d.ts index 25f6b42fa6..8b82df0830 100644 --- a/api/@system.brightness.d.ts +++ b/api/@system.brightness.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * @interface BrightnessResponse * @syscap SystemCapability.PowerManager.DisplayPowerManager.Lite diff --git a/api/@system.cipher.d.ts b/api/@system.cipher.d.ts index 6aee524bb1..23de3c848d 100644 --- a/api/@system.cipher.d.ts +++ b/api/@system.cipher.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Crypto Architecture Kit + */ + /** * Defines the cipher response. * diff --git a/api/@system.configuration.d.ts b/api/@system.configuration.d.ts index 6efad88ece..317f850ed3 100644 --- a/api/@system.configuration.d.ts +++ b/api/@system.configuration.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * @interface LocaleResponse * @syscap SystemCapability.ArkUI.ArkUI.Lite diff --git a/api/@system.device.d.ts b/api/@system.device.d.ts index 98dffeb2f2..4ae7eb5da4 100644 --- a/api/@system.device.d.ts +++ b/api/@system.device.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * @interface DeviceResponse * @syscap SystemCapability.Startup.SystemInfo.Lite diff --git a/api/@system.fetch.d.ts b/api/@system.fetch.d.ts index 6bfea2dff3..69f39600c2 100644 --- a/api/@system.fetch.d.ts +++ b/api/@system.fetch.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + /** * This module provides the Fetch Response. * @interface FetchResponse diff --git a/api/@system.file.d.ts b/api/@system.file.d.ts index 9674c93760..c7d0327240 100644 --- a/api/@system.file.d.ts +++ b/api/@system.file.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Core File Kit + */ + /** * @interface FileResponse * @syscap SystemCapability.FileManagement.File.FileIO.Lite diff --git a/api/@system.geolocation.d.ts b/api/@system.geolocation.d.ts index c6a47550ee..8ea164ce0f 100644 --- a/api/@system.geolocation.d.ts +++ b/api/@system.geolocation.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Location Kit + */ + /** * @syscap SystemCapability.Location.Location.Lite * @deprecated since 9 diff --git a/api/@system.mediaquery.d.ts b/api/@system.mediaquery.d.ts index 17b9a82682..b65df42607 100644 --- a/api/@system.mediaquery.d.ts +++ b/api/@system.mediaquery.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Defines the MediaQuery event. * diff --git a/api/@system.network.d.ts b/api/@system.network.d.ts index 34b3eff363..58e9fae211 100644 --- a/api/@system.network.d.ts +++ b/api/@system.network.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Network Kit + */ + /** * This module provides the Network Response. * @interface NetworkResponse diff --git a/api/@system.notification.d.ts b/api/@system.notification.d.ts index d9e1cbd964..401ed0b5a5 100644 --- a/api/@system.notification.d.ts +++ b/api/@system.notification.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Notification Kit + */ + /** * @typedef ActionResult * @syscap SystemCapability.Notification.Notification diff --git a/api/@system.package.d.ts b/api/@system.package.d.ts index f84a413dcc..f2f6ff1c53 100644 --- a/api/@system.package.d.ts +++ b/api/@system.package.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Ability Kit + */ + /** * @typedef CheckPackageHasInstalledResponse * @syscap SystemCapability.BundleManager.BundleFramework diff --git a/api/@system.prompt.d.ts b/api/@system.prompt.d.ts index df42c60572..087c0d3c45 100644 --- a/api/@system.prompt.d.ts +++ b/api/@system.prompt.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Defines the options of ShowToast. * diff --git a/api/@system.request.d.ts b/api/@system.request.d.ts index a2563700c2..263900df55 100644 --- a/api/@system.request.d.ts +++ b/api/@system.request.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Basic Services Kit + */ + /** * @interface UploadResponse * @syscap SystemCapability.MiscServices.Upload diff --git a/api/@system.router.d.ts b/api/@system.router.d.ts index b2af5339fb..1d79cd0eb3 100644 --- a/api/@system.router.d.ts +++ b/api/@system.router.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkUI + */ + /** * Defines the option of router. * diff --git a/api/@system.sensor.d.ts b/api/@system.sensor.d.ts index 7ea50f09b8..8371bc1823 100644 --- a/api/@system.sensor.d.ts +++ b/api/@system.sensor.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Sensor Service Kit + */ + /** * @interface AccelerometerResponse * @permission ohos.permission.ACCELEROMETER diff --git a/api/@system.storage.d.ts b/api/@system.storage.d.ts index e233304804..4047c84808 100644 --- a/api/@system.storage.d.ts +++ b/api/@system.storage.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit ArkData + */ + /** * @typedef GetStorageOptions * @syscap SystemCapability.DistributedDataManager.Preferences.Core.Lite diff --git a/api/@system.vibrator.d.ts b/api/@system.vibrator.d.ts index 8748d89790..08faa0b40c 100644 --- a/api/@system.vibrator.d.ts +++ b/api/@system.vibrator.d.ts @@ -13,6 +13,11 @@ * limitations under the License. */ +/** + * @file + * @kit Sensor Service Kit + */ + /** * @interface VibrateOptions * @permission ohos.permission.VIBRATE diff --git a/api/kit/AVSessionKit.d.ts b/api/kit/AVSessionKit.d.ts new file mode 100644 index 0000000000..96c8998930 --- /dev/null +++ b/api/kit/AVSessionKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import AVCastPicker, { AVCastPickerState } from '../@ohos.multimedia.avCastPicker'; +import avSession from '../@ohos.multimedia.avsession'; + +export { AVCastPicker, AVCastPickerState, avSession }; diff --git a/api/kit/AbilityKit.d.ts b/api/kit/AbilityKit.d.ts new file mode 100644 index 0000000000..9c455e0939 --- /dev/null +++ b/api/kit/AbilityKit.d.ts @@ -0,0 +1,97 @@ +/* + * 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. + */ + +import ability from '../@ohos.ability.ability'; +import { ErrorCode } from '../@ohos.ability.errorCode'; +import featureAbility from '../@ohos.ability.featureAbility'; +import particleAbility from '../@ohos.ability.particleAbility'; +import abilityAccessCtrl, { Context, PermissionRequestResult, Permissions } from '../@ohos.abilityAccessCtrl'; +import Ability from '../@ohos.app.ability.Ability'; +import AbilityConstant from '../@ohos.app.ability.AbilityConstant'; +import AbilityLifecycleCallback from '../@ohos.app.ability.AbilityLifecycleCallback'; +import abilityManager from '../@ohos.app.ability.abilityManager'; +import AbilityStage from '../@ohos.app.ability.AbilityStage'; +import ActionExtensionAbility from '../@ohos.app.ability.ActionExtensionAbility'; +import ApplicationStateChangeCallback from '../@ohos.app.ability.ApplicationStateChangeCallback'; +import appManager from '../@ohos.app.ability.appManager'; +import appRecovery from '../@ohos.app.ability.appRecovery'; +import AutoFillExtensionAbility from '../@ohos.app.ability.AutoFillExtensionAbility'; +import autoFillManager from '../@ohos.app.ability.autoFillManager'; +import autoStartupManager from '../@ohos.app.ability.autoStartupManager'; +import ChildProcess from '../@ohos.app.ability.ChildProcess'; +import childProcessManager from '../@ohos.app.ability.childProcessManager'; +import common from '../@ohos.app.ability.common'; +import { Configuration } from '../@ohos.app.ability.Configuration'; +import ConfigurationConstant from '../@ohos.app.ability.ConfigurationConstant'; +import contextConstant from '../@ohos.app.ability.contextConstant'; +import dataUriUtils from '../@ohos.app.ability.dataUriUtils'; +import dialogRequest from '../@ohos.app.ability.dialogRequest'; +import dialogSession from '../@ohos.app.ability.dialogSession'; +import EnvironmentCallback from '../@ohos.app.ability.EnvironmentCallback'; +import errorManager from '../@ohos.app.ability.errorManager'; +import ExtensionAbility from '../@ohos.app.ability.ExtensionAbility'; +import insightIntent from '../@ohos.app.ability.insightIntent'; +import InsightIntentContext from '../@ohos.app.ability.InsightIntentContext'; +import insightIntentDriver from '../@ohos.app.ability.insightIntentDriver'; +import InsightIntentExecutor from '../@ohos.app.ability.InsightIntentExecutor'; +import MediaControlExtensionAbility from '../@ohos.app.ability.MediaControlExtensionAbility'; +import missionManager from '../@ohos.app.ability.missionManager'; +import quickFixManager from '../@ohos.app.ability.quickFixManager'; +import ServiceExtensionAbility from '../@ohos.app.ability.ServiceExtensionAbility'; +import ShareExtensionAbility from '../@ohos.app.ability.ShareExtensionAbility'; +import StartOptions from '../@ohos.app.ability.StartOptions'; +import UIAbility, { + Callee, CalleeCallback, Caller, OnReleaseCallback, OnRemoteStateChangeCallback +} from '../@ohos.app.ability.UIAbility'; +import UIExtensionAbility from '../@ohos.app.ability.UIExtensionAbility'; +import UIExtensionContentSession from '../@ohos.app.ability.UIExtensionContentSession'; +import UserAuthExtensionAbility from '../@ohos.app.ability.UserAuthExtensionAbility'; +import Want from '../@ohos.app.ability.Want'; +import wantConstant from '../@ohos.app.ability.wantConstant'; +import wantAgent, { WantAgent } from '../@ohos.app.ability.wantAgent'; +import businessAbilityRouter from '../@ohos.app.businessAbilityRouter'; +import uriPermissionManager from '../@ohos.application.uriPermissionManager'; +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 bundle from '../@ohos.bundle'; +import defaultAppManager from '../@ohos.bundle.defaultAppManager'; +import distributedBundleManager from '../@ohos.bundle.distributedBundleManager'; +import freeInstall from '../@ohos.bundle.freeInstall'; +import innerBundleManager, { BundleStatusCallback } from '../@ohos.bundle.innerBundleManager'; +import installer from '../@ohos.bundle.installer'; +import launcherBundleManager from '../@ohos.bundle.launcherBundleManager'; +import overlay from '../@ohos.bundle.overlay'; +import continuationManager from '../@ohos.continuation.continuationManager'; +import distributedBundle from '../@ohos.distributedBundle'; +import distributedMissionManager from '../@ohos.distributedMissionManager'; +import Package, { CheckPackageHasInstalledOptions, CheckPackageHasInstalledResponse } from '../@system.package'; + +export { + Ability, AbilityConstant, AbilityLifecycleCallback, AbilityStage, ActionExtensionAbility, + ApplicationStateChangeCallback, AutoFillExtensionAbility, BundleStatusCallback, Callee, CalleeCallback, Caller, + CheckPackageHasInstalledOptions, CheckPackageHasInstalledResponse, ChildProcess, Configuration, + ConfigurationConstant, Context, EnvironmentCallback, ErrorCode, ExtensionAbility, InsightIntentContext, + InsightIntentExecutor, MediaControlExtensionAbility, OnReleaseCallback, OnRemoteStateChangeCallback, Package, + PermissionRequestResult, Permissions, ServiceExtensionAbility, ShareExtensionAbility, StartOptions, UIAbility, + UIExtensionAbility, UIExtensionContentSession, UserAuthExtensionAbility, Want, WantAgent, ability, + abilityAccessCtrl, abilityManager, appControl, appManager, appRecovery, autoFillManager, autoStartupManager, + bundle, bundleManager, bundleMonitor, bundleResourceManager, businessAbilityRouter, childProcessManager, common, + contextConstant, continuationManager, dataUriUtils, defaultAppManager, dialogRequest, dialogSession, + distributedBundle, distributedBundleManager, distributedMissionManager, errorManager, featureAbility, freeInstall, + innerBundleManager, insightIntent, insightIntentDriver, installer, launcherBundleManager, missionManager, overlay, + particleAbility, quickFixManager, uriPermissionManager, wantAgent, wantConstant +}; diff --git a/api/kit/AccessibilityKit.d.ts b/api/kit/AccessibilityKit.d.ts new file mode 100644 index 0000000000..39fb10a24c --- /dev/null +++ b/api/kit/AccessibilityKit.d.ts @@ -0,0 +1,29 @@ +/* + * 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. + */ + +import config from '../@ohos.accessibility.config'; +import accessibility from '../@ohos.accessibility'; +import { GesturePath } from '../@ohos.accessibility.GesturePath'; +import { GesturePoint } from '../@ohos.accessibility.GesturePoint'; +import AccessibilityExtensionAbility, { + AccessibilityElement, AccessibilityExtensionContext, ElementAttributeKeys, + ElementAttributeValues, FocusDirection, FocusType, Rect, WindowType +} from '../@ohos.application.AccessibilityExtensionAbility'; + +export { + AccessibilityElement, AccessibilityExtensionAbility, AccessibilityExtensionContext, ElementAttributeKeys, + ElementAttributeValues, FocusDirection, FocusType, GesturePath, GesturePoint, Rect, WindowType, accessibility, + config +}; diff --git a/api/kit/AdsKit.d.ts b/api/kit/AdsKit.d.ts new file mode 100644 index 0000000000..56d76338c0 --- /dev/null +++ b/api/kit/AdsKit.d.ts @@ -0,0 +1,22 @@ +/* + * 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. + */ + +import { AdComponent } from '../@ohos.advertising.AdComponent'; +import AdsServiceExtensionAbility, { RespCallback } from '../@ohos.advertising.AdsServiceExtensionAbility'; +import { AutoAdComponent } from '../@ohos.advertising.AutoAdComponent'; +import advertising from '../@ohos.advertising'; +import identifier from '../@ohos.identifier.oaid'; + +export { AdComponent, AdsServiceExtensionAbility, AutoAdComponent, RespCallback, advertising, identifier }; diff --git a/api/kit/ArkData.d.ts b/api/kit/ArkData.d.ts new file mode 100644 index 0000000000..4fd4060790 --- /dev/null +++ b/api/kit/ArkData.d.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +import DataShareExtensionAbility from '../@ohos.application.DataShareExtensionAbility'; +import cloudData from '../@ohos.data.cloudData'; +import commonType from '../@ohos.data.commonType'; +import dataAbility from '../@ohos.data.dataAbility'; +import dataShare from '../@ohos.data.dataShare'; +import dataSharePredicates from '../@ohos.data.dataSharePredicates'; +import DataShareResultSet, { DataType } from '../@ohos.data.DataShareResultSet'; +import distributedData from '../@ohos.data.distributedData'; +import distributedDataObject from '../@ohos.data.distributedDataObject'; +import distributedKVStore from '../@ohos.data.distributedKVStore'; +import preferences from '../@ohos.data.preferences'; +import rdb from '../@ohos.data.rdb'; +import relationalStore from '../@ohos.data.relationalStore'; +import storage from '../@ohos.data.storage'; +import unifiedDataChannel from '../@ohos.data.unifiedDataChannel'; +import uniformTypeDescriptor from '../@ohos.data.uniformTypeDescriptor'; +import { ValueType, ValuesBucket } from '../@ohos.data.ValuesBucket'; +import Storage, { + ClearStorageOptions, DeleteStorageOptions, GetStorageOptions, SetStorageOptions +} from '../@system.storage'; + +export { + ClearStorageOptions, DataShareExtensionAbility, DataShareResultSet, DataType, DeleteStorageOptions, + GetStorageOptions, SetStorageOptions, Storage, ValueType, ValuesBucket, cloudData, commonType, dataAbility, + dataShare, dataSharePredicates, distributedData, distributedDataObject, distributedKVStore, preferences, rdb, + relationalStore, storage, unifiedDataChannel, uniformTypeDescriptor +}; diff --git a/api/kit/ArkGraphics.d.ts b/api/kit/ArkGraphics.d.ts new file mode 100644 index 0000000000..fe9bc68552 --- /dev/null +++ b/api/kit/ArkGraphics.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import effectKit from '../@ohos.effectKit'; +import colorSpaceManager from '../@ohos.graphics.colorSpaceManager'; + +export { colorSpaceManager, effectKit }; diff --git a/api/kit/ArkGraphics2D.d.ts b/api/kit/ArkGraphics2D.d.ts new file mode 100644 index 0000000000..fe9bc68552 --- /dev/null +++ b/api/kit/ArkGraphics2D.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import effectKit from '../@ohos.effectKit'; +import colorSpaceManager from '../@ohos.graphics.colorSpaceManager'; + +export { colorSpaceManager, effectKit }; diff --git a/api/kit/ArkTS.d.ts b/api/kit/ArkTS.d.ts new file mode 100644 index 0000000000..d754137225 --- /dev/null +++ b/api/kit/ArkTS.d.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +import buffer from '../@ohos.buffer'; +import convertxml from '../@ohos.convertxml'; +import process from '../@ohos.process'; +import taskpool from '../@ohos.taskpool'; +import uri from '../@ohos.uri'; +import url from '../@ohos.url'; +import ArrayList from '../@ohos.util.ArrayList'; +import util from '../@ohos.util'; +import Deque from '../@ohos.util.Deque'; +import HashMap from '../@ohos.util.HashMap'; +import HashSet from '../@ohos.util.HashSet'; +import LightWeightMap from '../@ohos.util.LightWeightMap'; +import LightWeightSet from '../@ohos.util.LightWeightSet'; +import LinkedList from '../@ohos.util.LinkedList'; +import List from '../@ohos.util.List'; +import PlainArray from '../@ohos.util.PlainArray'; +import Queue from '../@ohos.util.Queue'; +import Stack from '../@ohos.util.Stack'; +import TreeMap from '../@ohos.util.TreeMap'; +import TreeSet from '../@ohos.util.TreeSet'; +import Vector from '../@ohos.util.Vector'; +import worker, { + DedicatedWorkerGlobalScope, ErrorEvent, Event, EventListener, EventTarget, MessageEvent, + MessageEvents, PostMessageOptions, ThreadWorkerGlobalScope, WorkerEventListener, WorkerEventTarget, WorkerOptions +} from '../@ohos.worker'; +import xml from '../@ohos.xml'; + +export { + ArrayList, convertxml, DedicatedWorkerGlobalScope, Deque, ErrorEvent, Event, EventListener, EventTarget, + HashMap, HashSet, LightWeightMap, LightWeightSet, LinkedList, List, MessageEvent, MessageEvents, PlainArray, + PostMessageOptions, Queue, Stack, ThreadWorkerGlobalScope, TreeMap, TreeSet, Vector, WorkerEventListener, + WorkerEventTarget, WorkerOptions, buffer, process, taskpool, uri, url, util, worker, xml +}; diff --git a/api/kit/ArkUI.d.ts b/api/kit/ArkUI.d.ts new file mode 100644 index 0000000000..e97a79393a --- /dev/null +++ b/api/kit/ArkUI.d.ts @@ -0,0 +1,116 @@ +/* + * 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. + */ + +import windowAnimationManager from '../@ohos.animation.windowAnimationManager'; +import Animator, { AnimatorOptions, AnimatorResult } from '../@ohos.animator'; +import WindowExtensionAbility, { WindowExtensionContext } from '../@ohos.application.WindowExtensionAbility'; +import { Breadcrumb, LabelInfo } from '../@ohos.arkui.advanced.Breadcrumb'; +import { + Chip, ChipOptions, ChipSize, IconCommonOptions, LabelMarginOptions, LabelOptions, PrefixIconOptions, + SuffixIconOptions +} from '../@ohos.arkui.advanced.Chip'; +import { + ComposeListItem, ContentItem, IconType, OperateButton, OperateCheck, OperateIcon, OperateItem +} from '../@ohos.arkui.advanced.ComposeListItem'; +import { ComposeTitleBar, ComposeTitleBarMenuItem } from '../@ohos.arkui.advanced.ComposeTitleBar'; +import { CounterComponent, CounterOptions, CounterType, DateData } from '../@ohos.arkui.advanced.Counter'; +import { + AlertDialog, ButtonOptions, ConfirmDialog, LoadingDialog, SelectDialog, TipsDialog +} from '../@ohos.arkui.advanced.Dialog'; +import { + EditableLeftIconType, EditableTitleBar, EditableTitleBarMenuItem +} from '../@ohos.arkui.advanced.EditableTitleBar'; +import { Filter, FilterParams, FilterResult, FilterType } from '../@ohos.arkui.advanced.Filter'; +import { + Popup, PopupButtonOptions, PopupIconOptions, PopupOptions, PopupTextOptions +} from '../@ohos.arkui.advanced.Popup'; +import { ProgressButton } from '../@ohos.arkui.advanced.ProgressButton'; +import { + CapsuleSegmentButtonConstructionOptions, CapsuleSegmentButtonOptions, SegmentButton, + SegmentButtonItemOptionsArray, SegmentButtonOptions, TabSegmentButtonConstructionOptions, TabSegmentButtonOptions +} from '../@ohos.arkui.advanced.SegmentButton'; +import { + EditorEventInfo, EditorMenuOptions, ExpandedMenuOptions, SelectionMenu, SelectionMenuOptions +} from '../@ohos.arkui.advanced.SelectionMenu'; +import { SelectTitleBar, SelectTitleBarMenuItem } from '../@ohos.arkui.advanced.SelectTitleBar'; +import { SplitLayout } from '../@ohos.arkui.advanced.SplitLayout'; +import { OperationOption, OperationType, SelectOptions, SubHeader } from '../@ohos.arkui.advanced.SubHeader'; +import { SwipeRefresher } from '../@ohos.arkui.advanced.SwipeRefresher'; +import { TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem } from '../@ohos.arkui.advanced.TabTitleBar'; +import { ItemState, ToolBar, ToolBarOption, ToolBarOptions } from '../@ohos.arkui.advanced.ToolBar'; +import { + CallbackParam, NodeParam, TreeController, TreeListenType, TreeListener, TreeListenerManager, TreeView +} from '../@ohos.arkui.advanced.TreeView'; +import componentSnapshot from '../@ohos.arkui.componentSnapshot'; +import componentUtils from '../@ohos.arkui.componentUtils'; +import dragController from '../@ohos.arkui.dragController'; +import { DrawableDescriptor, LayeredDrawableDescriptor } from '../@ohos.arkui.drawableDescriptor'; +import inspector from '../@ohos.arkui.inspector'; +import uiObserver from '../@ohos.arkui.observer'; +import performanceMonitor from '../@ohos.arkui.performanceMonitor'; +import { + AtomicServiceBar, ComponentUtils, DragController, Font, KeyboardAvoidMode, MediaQuery, PromptAction, Router, + UIContext, UIInspector, UIObserver +} from '../@ohos.arkui.UIContext'; +import curves from '../@ohos.curves'; +import dragInteraction from '../@ohos.deviceStatus.dragInteraction'; +import display from '../@ohos.display'; +import font from '../@ohos.font'; +import matrix4 from '../@ohos.matrix4'; +import MeasureText, { MeasureOptions } from '../@ohos.measure'; +import mediaquery from '../@ohos.mediaquery'; +import PiPWindow from '../@ohos.PiPWindow'; +import pluginComponentManager from '../@ohos.pluginComponent'; +import prompt from '../@ohos.prompt'; +import promptAction from '../@ohos.promptAction'; +import router from '../@ohos.router'; +import screen from '../@ohos.screen'; +import screenshot from '../@ohos.screenshot'; +import uiAppearance from '../@ohos.uiAppearance'; +import window from '../@ohos.window'; +import App, { AppResponse, RequestFullWindowOptions, ScreenOnVisibleOptions } from '../@system.app'; +import Configuration, { LocaleResponse } from '../@system.configuration'; +import { MediaQueryEvent, MediaQueryList } from '../@system.mediaquery'; +import Prompt, { + Button, ShowActionMenuOptions, ShowDialogOptions, ShowDialogSuccessResponse, ShowToastOptions +} from '../@system.prompt'; +import { + BackRouterOptions, DisableAlertBeforeBackPageOptions, EnableAlertBeforeBackPageOptions, RouterOptions, + RouterState +} from '../@system.router'; + +export { + AlertDialog, Animator, AnimatorOptions, AnimatorResult, App, AppResponse, AtomicServiceBar, BackRouterOptions, + Breadcrumb, Button, ButtonOptions, CallbackParam, CapsuleSegmentButtonConstructionOptions, + CapsuleSegmentButtonOptions, Chip, ChipOptions, ChipSize, ComponentUtils, ComposeListItem, ComposeTitleBar, + ComposeTitleBarMenuItem, Configuration, ConfirmDialog, ContentItem, CounterComponent, CounterOptions, CounterType, + DateData, DisableAlertBeforeBackPageOptions, DragController, DrawableDescriptor, EditableLeftIconType, + EditableTitleBar, EditableTitleBarMenuItem, EditorEventInfo, EditorMenuOptions, EnableAlertBeforeBackPageOptions, + ExpandedMenuOptions, Filter, FilterParams, FilterResult, FilterType, Font, IconCommonOptions, IconType, ItemState, + KeyboardAvoidMode, LabelInfo, LabelMarginOptions, LabelOptions, LayeredDrawableDescriptor, LoadingDialog, + LocaleResponse, MeasureOptions, MeasureText, MediaQuery, MediaQueryEvent, MediaQueryList, NodeParam, OperateButton, + OperateCheck, OperateIcon, OperateItem, OperationOption, OperationType, PiPWindow, Popup, PopupButtonOptions, + PopupIconOptions, PopupOptions, PopupTextOptions, PrefixIconOptions, ProgressButton, Prompt, PromptAction, + RequestFullWindowOptions, Router, RouterOptions, RouterState, ScreenOnVisibleOptions, SegmentButton, + SegmentButtonItemOptionsArray, SegmentButtonOptions, SelectDialog, SelectOptions, SelectTitleBar, + SelectTitleBarMenuItem, SelectionMenu, SelectionMenuOptions, ShowActionMenuOptions, ShowDialogOptions, + ShowDialogSuccessResponse, ShowToastOptions, SplitLayout, SubHeader, SuffixIconOptions, SwipeRefresher, + TabSegmentButtonConstructionOptions, TabSegmentButtonOptions, TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem, + TipsDialog, ToolBar, ToolBarOption, ToolBarOptions, TreeController, TreeListenType, TreeListener, + TreeListenerManager, TreeView, UIContext, UIInspector, UIObserver, WindowExtensionAbility, WindowExtensionContext, + componentSnapshot, componentUtils, curves, display, dragController, dragInteraction, font, inspector, matrix4, + mediaquery, performanceMonitor, pluginComponentManager, prompt, promptAction, router, screen, screenshot, + uiAppearance, uiObserver, window, windowAnimationManager +}; diff --git a/api/kit/ArkWeb.d.ts b/api/kit/ArkWeb.d.ts new file mode 100644 index 0000000000..98c513c742 --- /dev/null +++ b/api/kit/ArkWeb.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import webview from '../@ohos.web.webview'; + +export { webview }; diff --git a/api/kit/AudioKit.d.ts b/api/kit/AudioKit.d.ts new file mode 100644 index 0000000000..d7d162b24b --- /dev/null +++ b/api/kit/AudioKit.d.ts @@ -0,0 +1,20 @@ +/* + * 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. + */ + +import audio from '../@ohos.multimedia.audio'; +import audioHaptic from '../@ohos.multimedia.audioHaptic'; +import systemSoundManager from '../@ohos.multimedia.systemSoundManager'; + +export { audio, audioHaptic, systemSoundManager }; diff --git a/api/kit/BackgroundTasksKit.d.ts b/api/kit/BackgroundTasksKit.d.ts new file mode 100644 index 0000000000..51715af0de --- /dev/null +++ b/api/kit/BackgroundTasksKit.d.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +import backgroundTaskManager from '../@ohos.resourceschedule.backgroundTaskManager'; +import bundleState from '../@ohos.bundleState'; +import reminderAgent from '../@ohos.reminderAgent'; +import reminderAgentManager from '../@ohos.reminderAgentManager'; +import deviceStandby from '../@ohos.resourceschedule.deviceStandby'; +import usageStatistics from '../@ohos.resourceschedule.usageStatistics'; +import workScheduler from '../@ohos.resourceschedule.workScheduler'; +import WorkSchedulerExtensionAbility, { WorkSchedulerExtensionContext } from '../@ohos.WorkSchedulerExtensionAbility'; + +export { + WorkSchedulerExtensionAbility, WorkSchedulerExtensionContext, backgroundTaskManager, bundleState, + deviceStandby, reminderAgent, reminderAgentManager, usageStatistics, workScheduler +}; diff --git a/api/kit/BasicServicesKit.d.ts b/api/kit/BasicServicesKit.d.ts new file mode 100644 index 0000000000..cc10201cd1 --- /dev/null +++ b/api/kit/BasicServicesKit.d.ts @@ -0,0 +1,68 @@ +/* + * 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. + */ + +import appAccount from '../@ohos.account.appAccount'; +import distributedAccount from '../@ohos.account.distributedAccount'; +import osAccount from '../@ohos.account.osAccount'; +import PrintExtensionAbility from '../@ohos.app.ability.PrintExtensionAbility'; +import { AsyncCallback, BusinessError, Callback, ErrorCallback } from '../@ohos.base'; +import batteryInfo from '../@ohos.batteryInfo'; +import batteryStats from '../@ohos.batteryStatistics'; +import brightness from '../@ohos.brightness'; +import charger from '../@ohos.charger'; +import deviceAttest from '../@ohos.deviceAttest'; +import deviceInfo from '../@ohos.deviceInfo'; +import pasteboard from '../@ohos.pasteboard'; +import power from '../@ohos.power'; +import print from '../@ohos.print'; +import request from '../@ohos.request'; +import runningLock from '../@ohos.runningLock'; +import screenLock from '../@ohos.screenLock'; +import settings from '../@ohos.settings'; +import systemCapability from '../@ohos.systemCapability'; +import systemDateTime from '../@ohos.systemDateTime'; +import systemParameter from '../@ohos.systemparameter'; +import systemParameterEnhance from '../@ohos.systemParameterEnhance'; +import systemTime from '../@ohos.systemTime'; +import systemTimer from '../@ohos.systemTimer'; +import thermal from '../@ohos.thermal'; +import update from '../@ohos.update'; +import usb from '../@ohos.usb'; +import usbManager from '../@ohos.usbManager'; +import wallpaper from '../@ohos.wallpaper'; +import WallpaperExtensionAbility from '../@ohos.WallpaperExtensionAbility'; +import zlib from '../@ohos.zlib'; +import Battery, { BatteryResponse, GetStatusOptions } from '../@system.battery'; +import Brightness, { + BrightnessModeResponse, BrightnessResponse, GetBrightnessModeOptions, GetBrightnessOptions, + SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions +} from '../@system.brightness'; +import Device, { DeviceResponse, GetDeviceOptions } from '../@system.device'; +import Request, { + DownloadRequestOptions, DownloadResponse, OnDownloadCompleteOptions, OnDownloadCompleteResponse, + RequestData, RequestFile, UploadRequestOptions, UploadResponse +} from '../@system.request'; + +export { + AsyncCallback, Battery, BatteryResponse, Brightness, BrightnessModeResponse, BrightnessResponse, + BusinessError, Callback, Device, DeviceResponse, DownloadRequestOptions, DownloadResponse, ErrorCallback, + GetBrightnessModeOptions, GetBrightnessOptions, GetDeviceOptions, GetStatusOptions, OnDownloadCompleteOptions, + OnDownloadCompleteResponse, PrintExtensionAbility, Request, RequestData, RequestFile, SetBrightnessModeOptions, + SetBrightnessOptions, SetKeepScreenOnOptions, UploadRequestOptions, UploadResponse, WallpaperExtensionAbility, + appAccount, batteryInfo, batteryStats, brightness, charger, deviceAttest, deviceInfo, distributedAccount, + osAccount, pasteboard, power, print, request, runningLock, screenLock, settings, systemCapability, + systemDateTime, systemParameter, systemParameterEnhance, systemTime, systemTimer, thermal, update, usb, usbManager, + wallpaper, zlib +}; diff --git a/api/kit/CalendarKit.d.ts b/api/kit/CalendarKit.d.ts new file mode 100644 index 0000000000..58e0b9a692 --- /dev/null +++ b/api/kit/CalendarKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import calendarManager from '../@ohos.calendarManager'; + +export { calendarManager }; diff --git a/api/kit/CallKit.d.ts b/api/kit/CallKit.d.ts new file mode 100644 index 0000000000..46cfb49d8d --- /dev/null +++ b/api/kit/CallKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import call from '../@ohos.telephony.call'; + +export { call }; diff --git a/api/kit/CameraKit.d.ts b/api/kit/CameraKit.d.ts new file mode 100644 index 0000000000..e90f314788 --- /dev/null +++ b/api/kit/CameraKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import camera from '../@ohos.multimedia.camera'; + +export { camera }; diff --git a/api/kit/ConnectivityKit.d.ts b/api/kit/ConnectivityKit.d.ts new file mode 100644 index 0000000000..d37bc0aee8 --- /dev/null +++ b/api/kit/ConnectivityKit.d.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +import a2dp from '../@ohos.bluetooth.a2dp'; +import access from '../@ohos.bluetooth.access'; +import baseProfile from '../@ohos.bluetooth.baseProfile'; +import ble from '../@ohos.bluetooth.ble'; +import connection from '../@ohos.bluetooth.connection'; +import constant from '../@ohos.bluetooth.constant'; +import bluetooth from '../@ohos.bluetooth'; +import hfp from '../@ohos.bluetooth.hfp'; +import hid from '../@ohos.bluetooth.hid'; +import pan from '../@ohos.bluetooth.pan'; +import pbap from '../@ohos.bluetooth.pbap'; +import socket from '../@ohos.bluetooth.socket'; +import wearDetection from '../@ohos.bluetooth.wearDetection'; +import bluetoothManager from '../@ohos.bluetoothManager'; +import connectedTag from '../@ohos.connectedTag'; +import cardEmulation from '../@ohos.nfc.cardEmulation'; +import nfcController from '../@ohos.nfc.controller'; +import tag from '../@ohos.nfc.tag'; +import omapi from '../@ohos.secureElement'; +import wifi from '../@ohos.wifi'; +import wifiext from '../@ohos.wifiext'; +import wifiManager from '../@ohos.wifiManager'; +import wifiManagerExt from '../@ohos.wifiManagerExt'; +import Bluetooth, { + BLEFoundResponse, BluetoothDevice, StartBLEScanOptions, StopBLEScanOptions, + SubscribeBLEFoundOptions +} from '../@system.bluetooth'; + +export { + BLEFoundResponse, Bluetooth, BluetoothDevice, StartBLEScanOptions, StopBLEScanOptions, + SubscribeBLEFoundOptions, a2dp, access, baseProfile, ble, bluetooth, bluetoothManager, cardEmulation, + connectedTag, connection, constant, hfp, hid, nfcController, omapi, pan, pbap, socket, tag, wearDetection, wifi, + wifiManager, wifiManagerExt, wifiext +}; diff --git a/api/kit/ContactsKit.d.ts b/api/kit/ContactsKit.d.ts new file mode 100644 index 0000000000..c7c4ee986b --- /dev/null +++ b/api/kit/ContactsKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import contact from '../@ohos.contact'; + +export { contact }; diff --git a/api/kit/CoreFileKit.d.ts b/api/kit/CoreFileKit.d.ts new file mode 100644 index 0000000000..7499c58db6 --- /dev/null +++ b/api/kit/CoreFileKit.d.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +import BackupExtensionAbility, { BundleVersion } from '../@ohos.application.BackupExtensionAbility'; +import document from '../@ohos.document'; +import backup from '../@ohos.file.backup'; +import cloudSync from '../@ohos.file.cloudSync'; +import cloudSyncManager from '../@ohos.file.cloudSyncManager'; +import Environment from '../@ohos.file.environment'; +import fileAccess from '../@ohos.file.fileAccess'; +import fileExtensionInfo from '../@ohos.file.fileExtensionInfo'; +import fileUri from '../@ohos.file.fileuri'; +import fileIo, { + ConflictFiles, Filter, Options, ReaderIteratorResult, WatchEvent, WatchEventListener, Watcher +} from '../@ohos.file.fs'; +import hash from '../@ohos.file.hash'; +import picker from '../@ohos.file.picker'; +import recent from '../@ohos.file.recent'; +import securityLabel from '../@ohos.file.securityLabel'; +import statfs from '../@ohos.file.statvfs'; +import storageStatistics from '../@ohos.file.storageStatistics'; +import trash from '../@ohos.file.trash'; +import volumeManager from '../@ohos.file.volumeManager'; +import fileIO from '../@ohos.fileio'; +import userFileManager from '../@ohos.filemanagement.userFileManager'; +import fileShare from '../@ohos.fileshare'; +import Statfs from '../@ohos.statfs'; +import File, { + FileAccessOption, FileCopyOption, FileDeleteOption, FileGetOption, FileListOption, FileListResponse, + FileMkdirOption, FileMoveOption, FileReadArrayBufferOption, FileReadArrayBufferResponse, FileReadTextOption, + FileReadTextResponse, FileResponse, FileRmdirOption, FileWriteArrayBufferOption, FileWriteTextOption +} from '../@system.file'; + +export { + BackupExtensionAbility, BundleVersion, ConflictFiles, Environment, File, FileAccessOption, FileCopyOption, + FileDeleteOption, FileGetOption, FileListOption, FileListResponse, FileMkdirOption, FileMoveOption, + FileReadArrayBufferOption, FileReadArrayBufferResponse, FileReadTextOption, FileReadTextResponse, FileResponse, + FileRmdirOption, FileWriteArrayBufferOption, FileWriteTextOption, Filter, Options, ReaderIteratorResult, Statfs, + WatchEvent, WatchEventListener, Watcher, backup, cloudSync, cloudSyncManager, document, fileAccess, + fileExtensionInfo, fileIO, fileIo, fileShare, fileUri, hash, picker, recent, securityLabel, statfs, + storageStatistics, trash, userFileManager, volumeManager +}; diff --git a/api/kit/CryptoArchitectureKit.d.ts b/api/kit/CryptoArchitectureKit.d.ts new file mode 100644 index 0000000000..dd4b65e55c --- /dev/null +++ b/api/kit/CryptoArchitectureKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import cryptoFramework from '../@ohos.security.cryptoFramework'; +import Cipher, { CipherAesOptions, CipherResponse, CipherRsaOptions } from '../@system.cipher'; + +export { Cipher, CipherAesOptions, CipherResponse, CipherRsaOptions, cryptoFramework }; diff --git a/api/kit/DataLossPreventionKit.d.ts b/api/kit/DataLossPreventionKit.d.ts new file mode 100644 index 0000000000..d51285b83e --- /dev/null +++ b/api/kit/DataLossPreventionKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import dlpPermission from '../@ohos.dlpPermission'; + +export { dlpPermission }; diff --git a/api/kit/DeviceCertificateKit.d.ts b/api/kit/DeviceCertificateKit.d.ts new file mode 100644 index 0000000000..8edf7771b0 --- /dev/null +++ b/api/kit/DeviceCertificateKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import cert from '../@ohos.security.cert'; +import certificateManager from '../@ohos.security.certManager'; + +export { cert, certificateManager }; diff --git a/api/kit/DistributedServiceKit.d.ts b/api/kit/DistributedServiceKit.d.ts new file mode 100644 index 0000000000..801d379e46 --- /dev/null +++ b/api/kit/DistributedServiceKit.d.ts @@ -0,0 +1,21 @@ +/* + * 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. + */ + +import cooperate from '../@ohos.cooperate'; +import distributedDeviceManager from '../@ohos.distributedDeviceManager'; +import deviceManager from '../@ohos.distributedHardware.deviceManager'; +import hardwareManager from '../@ohos.distributedHardware.hardwareManager'; + +export { cooperate, deviceManager, distributedDeviceManager, hardwareManager }; diff --git a/api/kit/DriverDevelopmentKit.d.ts b/api/kit/DriverDevelopmentKit.d.ts new file mode 100644 index 0000000000..9f353fe439 --- /dev/null +++ b/api/kit/DriverDevelopmentKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import DriverExtensionAbility, { DriverExtensionContext } from '../@ohos.app.ability.DriverExtensionAbility'; +import deviceManager from '../@ohos.driver.deviceManager'; + +export { DriverExtensionAbility, DriverExtensionContext, deviceManager }; diff --git a/api/kit/FormKit.d.ts b/api/kit/FormKit.d.ts new file mode 100644 index 0000000000..4ba94fd766 --- /dev/null +++ b/api/kit/FormKit.d.ts @@ -0,0 +1,25 @@ +/* + * 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. + */ + +import formAgent from '../@ohos.app.form.formAgent'; +import formBindingData from '../@ohos.app.form.formBindingData'; +import FormExtensionAbility from '../@ohos.app.form.FormExtensionAbility'; +import formHost from '../@ohos.app.form.formHost'; +import formInfo from '../@ohos.app.form.formInfo'; +import formObserver from '../@ohos.app.form.formObserver'; +import formProvider from '../@ohos.app.form.formProvider'; +import formError from '../@ohos.application.formError'; + +export { FormExtensionAbility, formAgent, formBindingData, formError, formHost, formInfo, formObserver, formProvider }; diff --git a/api/kit/IMEKit.d.ts b/api/kit/IMEKit.d.ts new file mode 100644 index 0000000000..761d89161f --- /dev/null +++ b/api/kit/IMEKit.d.ts @@ -0,0 +1,24 @@ +/* + * 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. + */ + +import inputMethod from '../@ohos.inputMethod'; +import inputMethodEngine from '../@ohos.inputMethodEngine'; +import InputMethodExtensionAbility from '../@ohos.InputMethodExtensionAbility'; +import InputMethodExtensionContext from '../@ohos.InputMethodExtensionContext'; +import InputMethodSubtype from '../@ohos.InputMethodSubtype'; + +export { + InputMethodExtensionAbility, InputMethodExtensionContext, InputMethodSubtype, inputMethod, inputMethodEngine +}; diff --git a/api/kit/IPCKit.d.ts b/api/kit/IPCKit.d.ts new file mode 100644 index 0000000000..7f8602e100 --- /dev/null +++ b/api/kit/IPCKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import rpc from '../@ohos.rpc'; + +export { rpc }; diff --git a/api/kit/ImageKit.d.ts b/api/kit/ImageKit.d.ts new file mode 100644 index 0000000000..7ce1d787a2 --- /dev/null +++ b/api/kit/ImageKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import image from '../@ohos.multimedia.image'; + +export { image }; diff --git a/api/kit/InputKit.d.ts b/api/kit/InputKit.d.ts new file mode 100644 index 0000000000..71b6d00a2b --- /dev/null +++ b/api/kit/InputKit.d.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +import { PanelFlag, PanelInfo, PanelType } from '../@ohos.inputMethod.Panel'; +import { InputMethodListDialog, Pattern, PatternOptions } from '../@ohos.inputMethodList'; +import { + ActionType, FourFingersSwipe, Pinch, Rotate, ThreeFingersSwipe, ThreeFingersTap +} from '../@ohos.multimodalInput.gestureEvent'; +import inputConsumer from '../@ohos.multimodalInput.inputConsumer'; +import inputDevice from '../@ohos.multimodalInput.inputDevice'; +import inputDeviceCooperate from '../@ohos.multimodalInput.inputDeviceCooperate'; +import { InputEvent } from '../@ohos.multimodalInput.inputEvent'; +import inputEventClient from '../@ohos.multimodalInput.inputEventClient'; +import inputMonitor from '../@ohos.multimodalInput.inputMonitor'; +import { IntentionCode } from '../@ohos.multimodalInput.intentionCode'; +import { KeyCode } from '../@ohos.multimodalInput.keyCode'; +import { Action, Key, KeyEvent } from '../@ohos.multimodalInput.keyEvent'; +import { + Action as MouseAction, Axis, AxisValue, Button, MouseEvent, ToolType as MouseToolType +} from '../@ohos.multimodalInput.mouseEvent'; +import pointer from '../@ohos.multimodalInput.pointer'; +import shortKey from '../@ohos.multimodalInput.shortKey'; +import { Action as KeyAction, SourceType, ToolType, Touch, TouchEvent } from '../@ohos.multimodalInput.touchEvent'; + +export { + Action, ActionType, Axis, AxisValue, Button, FourFingersSwipe, InputEvent, InputMethodListDialog, + IntentionCode, Key, KeyAction, KeyCode, KeyEvent, MouseAction, MouseEvent, MouseToolType, PanelFlag, PanelInfo, + PanelType, Pattern, PatternOptions, Pinch, Rotate, SourceType, ThreeFingersSwipe, ThreeFingersTap, ToolType, Touch, + TouchEvent, inputConsumer, inputDevice, inputDeviceCooperate, inputEventClient, inputMonitor, pointer, shortKey +}; diff --git a/api/kit/LancetKit.d.ts b/api/kit/LancetKit.d.ts new file mode 100644 index 0000000000..ae29474044 --- /dev/null +++ b/api/kit/LancetKit.d.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +import bytrace from '../@ohos.bytrace'; +import FaultLogger from '../@ohos.faultLogger'; +import hiAppEvent from '../@ohos.hiviewdfx.hiAppEvent'; +import hichecker from '../@ohos.hichecker'; +import hidebug from '../@ohos.hidebug'; +import hilog from '../@ohos.hilog'; +import hiSysEvent from '../@ohos.hiSysEvent'; +import hiTraceChain from '../@ohos.hiTraceChain'; +import hiTraceMeter from '../@ohos.hiTraceMeter'; +import logLibrary from '../@ohos.logLibrary'; + +export { + FaultLogger, bytrace, hiAppEvent, hiSysEvent, hiTraceChain, hiTraceMeter, hichecker, hidebug, hilog, + logLibrary +}; diff --git a/api/kit/LocalAuthenticationKit.d.ts b/api/kit/LocalAuthenticationKit.d.ts new file mode 100644 index 0000000000..f0e9dda1af --- /dev/null +++ b/api/kit/LocalAuthenticationKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import faceAuth from '../@ohos.userIAM.faceAuth'; +import userAuth from '../@ohos.userIAM.userAuth'; + +export { faceAuth, userAuth }; diff --git a/api/kit/LocalizationKit.d.ts b/api/kit/LocalizationKit.d.ts new file mode 100644 index 0000000000..ee37b51b0d --- /dev/null +++ b/api/kit/LocalizationKit.d.ts @@ -0,0 +1,20 @@ +/* + * 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. + */ + +import i18n from '../@ohos.i18n'; +import intl from '../@ohos.intl'; +import resourceManager from '../@ohos.resourceManager'; + +export { i18n, intl, resourceManager }; diff --git a/api/kit/LocationKit.d.ts b/api/kit/LocationKit.d.ts new file mode 100644 index 0000000000..fd8e7faec9 --- /dev/null +++ b/api/kit/LocationKit.d.ts @@ -0,0 +1,26 @@ +/* + * 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. + */ + +import geolocation from '../@ohos.geolocation'; +import geoLocationManager from '../@ohos.geoLocationManager'; +import Geolocation, { + GeolocationResponse, GetLocationOption, GetLocationTypeOption, GetLocationTypeResponse, + SubscribeLocationOption +} from '../@system.geolocation'; + +export { + Geolocation, GeolocationResponse, GetLocationOption, GetLocationTypeOption, GetLocationTypeResponse, + SubscribeLocationOption, geoLocationManager, geolocation +}; diff --git a/api/kit/MDMKit.d.ts b/api/kit/MDMKit.d.ts new file mode 100644 index 0000000000..b5ec55b6c1 --- /dev/null +++ b/api/kit/MDMKit.d.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +import configPolicy from '../@ohos.configPolicy'; +import accountManager from '../@ohos.enterprise.accountManager'; +import adminManager from '../@ohos.enterprise.adminManager'; +import applicationManager from '../@ohos.enterprise.applicationManager'; +import bluetoothManager from '../@ohos.enterprise.bluetoothManager'; +import browser from '../@ohos.enterprise.browser'; +import bundleManager from '../@ohos.enterprise.bundleManager'; +import dateTimeManager from '../@ohos.enterprise.dateTimeManager'; +import deviceControl from '../@ohos.enterprise.deviceControl'; +import deviceInfo from '../@ohos.enterprise.deviceInfo'; +import deviceSettings from '../@ohos.enterprise.deviceSettings'; +import EnterpriseAdminExtensionAbility from '../@ohos.enterprise.EnterpriseAdminExtensionAbility'; +import locationManager from '../@ohos.enterprise.locationManager'; +import networkManager from '../@ohos.enterprise.networkManager'; +import restrictions from '../@ohos.enterprise.restrictions'; +import securityManager from '../@ohos.enterprise.securityManager'; +import systemManager from '../@ohos.enterprise.systemManager'; +import usbManager from '../@ohos.enterprise.usbManager'; +import wifiManager from '../@ohos.enterprise.wifiManager'; + +export { + EnterpriseAdminExtensionAbility, accountManager, adminManager, applicationManager, bluetoothManager, browser, + bundleManager, configPolicy, dateTimeManager, deviceControl, deviceInfo, deviceSettings, locationManager, + networkManager, restrictions, securityManager, systemManager, usbManager, wifiManager +}; diff --git a/api/kit/MediaKit.d.ts b/api/kit/MediaKit.d.ts new file mode 100644 index 0000000000..fa87e1125a --- /dev/null +++ b/api/kit/MediaKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import media from '../@ohos.multimedia.media'; + +export { media }; diff --git a/api/kit/MediaLibraryKit.d.ts b/api/kit/MediaLibraryKit.d.ts new file mode 100644 index 0000000000..ce56addf53 --- /dev/null +++ b/api/kit/MediaLibraryKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import photoAccessHelper from '../@ohos.file.photoAccessHelper'; +import mediaLibrary from '../@ohos.multimedia.mediaLibrary'; + +export { mediaLibrary, photoAccessHelper }; diff --git a/api/kit/MindSporeLiteKit.d.ts b/api/kit/MindSporeLiteKit.d.ts new file mode 100644 index 0000000000..3138791266 --- /dev/null +++ b/api/kit/MindSporeLiteKit.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +import intelligentVoice from '../@ohos.ai.intelligentVoice'; +import mindSporeLite from '../@ohos.ai.mindSporeLite'; + +export { intelligentVoice, mindSporeLite }; diff --git a/api/kit/MultimodalAwarenessKit.d.ts b/api/kit/MultimodalAwarenessKit.d.ts new file mode 100644 index 0000000000..68cf8f6bd4 --- /dev/null +++ b/api/kit/MultimodalAwarenessKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import stationary from '../@ohos.stationary'; + +export { stationary }; diff --git a/api/kit/NetworkKit.d.ts b/api/kit/NetworkKit.d.ts new file mode 100644 index 0000000000..b3a2f42571 --- /dev/null +++ b/api/kit/NetworkKit.d.ts @@ -0,0 +1,32 @@ +/* + * 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. + */ + +import connection from '../@ohos.net.connection'; +import ethernet from '../@ohos.net.ethernet'; +import http from '../@ohos.net.http'; +import mdns from '../@ohos.net.mdns'; +import policy from '../@ohos.net.policy'; +import sharing from '../@ohos.net.sharing'; +import socket from '../@ohos.net.socket'; +import statistics from '../@ohos.net.statistics'; +import vpn from '../@ohos.net.vpn'; +import webSocket from '../@ohos.net.webSocket'; +import Fetch, { FetchResponse } from '../@system.fetch'; +import Network, { NetworkResponse } from '../@system.network'; + +export { + Fetch, FetchResponse, Network, NetworkResponse, connection, ethernet, http, mdns, policy, sharing, socket, + statistics, vpn, webSocket +}; diff --git a/api/kit/NotificationKit.d.ts b/api/kit/NotificationKit.d.ts new file mode 100644 index 0000000000..d32a67a6fd --- /dev/null +++ b/api/kit/NotificationKit.d.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +import StaticSubscriberExtensionAbility from '../@ohos.application.StaticSubscriberExtensionAbility'; +import StaticSubscriberExtensionContext from '../@ohos.application.StaticSubscriberExtensionContext'; +import commonEvent from '../@ohos.commonEvent'; +import commonEventManager from '../@ohos.commonEventManager'; +import emitter from '../@ohos.events.emitter'; +import notification from '../@ohos.notification'; +import notificationManager from '../@ohos.notificationManager'; +import notificationSubscribe from '../@ohos.notificationSubscribe'; +import Notification, { ActionResult, ShowNotificationOptions } from '../@system.notification'; + +export { + ActionResult, Notification, ShowNotificationOptions, StaticSubscriberExtensionAbility, + StaticSubscriberExtensionContext, commonEvent, commonEventManager, emitter, notification, notificationManager, + notificationSubscribe +}; diff --git a/api/kit/SafetyDetectKit.d.ts b/api/kit/SafetyDetectKit.d.ts new file mode 100644 index 0000000000..9defd4dfdd --- /dev/null +++ b/api/kit/SafetyDetectKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import privacyManager, { Permissions } from '../@ohos.privacyManager'; + +export { Permissions, privacyManager }; diff --git a/api/kit/SensorServiceKit.d.ts b/api/kit/SensorServiceKit.d.ts new file mode 100644 index 0000000000..1e8ba803b0 --- /dev/null +++ b/api/kit/SensorServiceKit.d.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +import sensor from '../@ohos.sensor'; +import vibrator from '../@ohos.vibrator'; +import Sensor, { + AccelerometerResponse, BarometerResponse, CompassResponse, DeviceOrientationResponse, + GetOnBodyStateOptions, GyroscopeResponse, HeartRateResponse, LightResponse, OnBodyStateResponse, ProximityResponse, + StepCounterResponse, SubscribeBarometerOptions, SubscribeCompassOptions, SubscribeDeviceOrientationOptions, + SubscribeGyroscopeOptions, SubscribeHeartRateOptions, SubscribeLightOptions, SubscribeOnBodyStateOptions, + SubscribeProximityOptions, SubscribeStepCounterOptions, subscribeAccelerometerOptions +} from '../@system.sensor'; +import Vibrator, { VibrateOptions } from '../@system.vibrator'; + +export { + AccelerometerResponse, BarometerResponse, CompassResponse, DeviceOrientationResponse, GetOnBodyStateOptions, + GyroscopeResponse, HeartRateResponse, LightResponse, OnBodyStateResponse, ProximityResponse, Sensor, + StepCounterResponse, SubscribeBarometerOptions, SubscribeCompassOptions, SubscribeDeviceOrientationOptions, + SubscribeGyroscopeOptions, SubscribeHeartRateOptions, SubscribeLightOptions, SubscribeOnBodyStateOptions, + SubscribeProximityOptions, SubscribeStepCounterOptions, VibrateOptions, Vibrator, sensor, + subscribeAccelerometerOptions, vibrator +}; diff --git a/api/kit/TelephonyKit.d.ts b/api/kit/TelephonyKit.d.ts new file mode 100644 index 0000000000..bb357a1b14 --- /dev/null +++ b/api/kit/TelephonyKit.d.ts @@ -0,0 +1,23 @@ +/* + * 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. + */ + +import data from '../@ohos.telephony.data'; +import observer from '../@ohos.telephony.observer'; +import radio from '../@ohos.telephony.radio'; +import sim from '../@ohos.telephony.sim'; +import sms from '../@ohos.telephony.sms'; +import vcard from '../@ohos.telephony.vcard'; + +export { data, observer, radio, sim, sms, vcard }; diff --git a/api/kit/TestKit.d.ts b/api/kit/TestKit.d.ts new file mode 100644 index 0000000000..61618b494f --- /dev/null +++ b/api/kit/TestKit.d.ts @@ -0,0 +1,27 @@ +/* + * 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. + */ + +import abilityDelegatorRegistry from '../@ohos.app.ability.abilityDelegatorRegistry'; +import TestRunner from '../@ohos.application.testRunner'; +import { + BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection, + UIElementInfo, UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow, WindowMode +} from '../@ohos.UiTest'; + +export { + BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection, + TestRunner, UIElementInfo, UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow, WindowMode, + abilityDelegatorRegistry +}; diff --git a/api/kit/UniversalKeystoreKit.d.ts b/api/kit/UniversalKeystoreKit.d.ts new file mode 100644 index 0000000000..16798109d1 --- /dev/null +++ b/api/kit/UniversalKeystoreKit.d.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +import huks from '../@ohos.security.huks'; + +export { huks }; -- Gitee From a018337b26a55d2204034fb7e88dd95ddef8d2ce Mon Sep 17 00:00:00 2001 From: wangcaoyu Date: Mon, 11 Dec 2023 17:08:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=84=E7=90=86codecheck=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangcaoyu --- api/{kit => kits}/AVSessionKit.d.ts | 0 api/{kit => kits}/AbilityKit.d.ts | 47 +++++----- api/{kit => kits}/AccessibilityKit.d.ts | 10 +-- api/{kit => kits}/AdsKit.d.ts | 4 +- api/{kit => kits}/ArkData.d.ts | 15 ++-- api/{kit => kits}/ArkGraphics.d.ts | 0 api/{kit => kits}/ArkGraphics2D.d.ts | 0 api/{kit => kits}/ArkTS.d.ts | 14 +-- api/{kit => kits}/ArkUI.d.ts | 88 ++++++++++--------- api/{kit => kits}/ArkWeb.d.ts | 0 api/{kit => kits}/AudioKit.d.ts | 0 api/{kit => kits}/BackgroundTasksKit.d.ts | 8 +- api/{kit => kits}/BasicServicesKit.d.ts | 33 +++---- api/{kit => kits}/CalendarKit.d.ts | 0 api/{kit => kits}/CallKit.d.ts | 0 api/{kit => kits}/CameraKit.d.ts | 0 api/{kit => kits}/ConnectivityKit.d.ts | 12 +-- api/{kit => kits}/ContactsKit.d.ts | 0 api/{kit => kits}/CoreFileKit.d.ts | 27 +++--- api/{kit => kits}/CryptoArchitectureKit.d.ts | 4 +- api/{kit => kits}/DataLossPreventionKit.d.ts | 0 api/{kit => kits}/DeviceCertificateKit.d.ts | 0 api/{kit => kits}/DistributedServiceKit.d.ts | 0 api/{kit => kits}/DriverDevelopmentKit.d.ts | 4 +- api/{kit => kits}/FormKit.d.ts | 0 api/{kit => kits}/IMEKit.d.ts | 4 +- api/{kit => kits}/IPCKit.d.ts | 0 api/{kit => kits}/ImageKit.d.ts | 0 api/{kit => kits}/InputKit.d.ts | 23 ++--- api/{kit => kits}/LancetKit.d.ts | 4 +- api/{kit => kits}/LocalAuthenticationKit.d.ts | 0 api/{kit => kits}/LocalizationKit.d.ts | 0 api/{kit => kits}/LocationKit.d.ts | 8 +- api/{kit => kits}/MDMKit.d.ts | 6 +- api/{kit => kits}/MediaKit.d.ts | 0 api/{kit => kits}/MediaLibraryKit.d.ts | 0 api/{kit => kits}/MindSporeLiteKit.d.ts | 0 api/{kit => kits}/MultimodalAwarenessKit.d.ts | 0 api/{kit => kits}/NetworkKit.d.ts | 8 +- api/{kit => kits}/NotificationKit.d.ts | 8 +- api/{kit => kits}/SafetyDetectKit.d.ts | 0 api/{kit => kits}/SensorServiceKit.d.ts | 24 ++--- api/{kit => kits}/TelephonyKit.d.ts | 0 api/{kit => kits}/TestKit.d.ts | 12 +-- api/{kit => kits}/UniversalKeystoreKit.d.ts | 0 45 files changed, 192 insertions(+), 171 deletions(-) rename api/{kit => kits}/AVSessionKit.d.ts (100%) rename api/{kit => kits}/AbilityKit.d.ts (67%) rename api/{kit => kits}/AccessibilityKit.d.ts (67%) rename api/{kit => kits}/AdsKit.d.ts (84%) rename api/{kit => kits}/ArkData.d.ts (67%) rename api/{kit => kits}/ArkGraphics.d.ts (100%) rename api/{kit => kits}/ArkGraphics2D.d.ts (100%) rename api/{kit => kits}/ArkTS.d.ts (68%) rename api/{kit => kits}/ArkUI.d.ts (44%) rename api/{kit => kits}/ArkWeb.d.ts (100%) rename api/{kit => kits}/AudioKit.d.ts (100%) rename api/{kit => kits}/BackgroundTasksKit.d.ts (77%) rename api/{kit => kits}/BasicServicesKit.d.ts (56%) rename api/{kit => kits}/CalendarKit.d.ts (100%) rename api/{kit => kits}/CallKit.d.ts (100%) rename api/{kit => kits}/CameraKit.d.ts (100%) rename api/{kit => kits}/ConnectivityKit.d.ts (77%) rename api/{kit => kits}/ContactsKit.d.ts (100%) rename api/{kit => kits}/CoreFileKit.d.ts (53%) rename api/{kit => kits}/CryptoArchitectureKit.d.ts (76%) rename api/{kit => kits}/DataLossPreventionKit.d.ts (100%) rename api/{kit => kits}/DeviceCertificateKit.d.ts (100%) rename api/{kit => kits}/DistributedServiceKit.d.ts (100%) rename api/{kit => kits}/DriverDevelopmentKit.d.ts (77%) rename api/{kit => kits}/FormKit.d.ts (100%) rename api/{kit => kits}/IMEKit.d.ts (83%) rename api/{kit => kits}/IPCKit.d.ts (100%) rename api/{kit => kits}/ImageKit.d.ts (100%) rename api/{kit => kits}/InputKit.d.ts (56%) rename api/{kit => kits}/LancetKit.d.ts (90%) rename api/{kit => kits}/LocalAuthenticationKit.d.ts (100%) rename api/{kit => kits}/LocalizationKit.d.ts (100%) rename api/{kit => kits}/LocationKit.d.ts (70%) rename api/{kit => kits}/MDMKit.d.ts (85%) rename api/{kit => kits}/MediaKit.d.ts (100%) rename api/{kit => kits}/MediaLibraryKit.d.ts (100%) rename api/{kit => kits}/MindSporeLiteKit.d.ts (100%) rename api/{kit => kits}/MultimodalAwarenessKit.d.ts (100%) rename api/{kit => kits}/NetworkKit.d.ts (79%) rename api/{kit => kits}/NotificationKit.d.ts (77%) rename api/{kit => kits}/SafetyDetectKit.d.ts (100%) rename api/{kit => kits}/SensorServiceKit.d.ts (38%) rename api/{kit => kits}/TelephonyKit.d.ts (100%) rename api/{kit => kits}/TestKit.d.ts (58%) rename api/{kit => kits}/UniversalKeystoreKit.d.ts (100%) diff --git a/api/kit/AVSessionKit.d.ts b/api/kits/AVSessionKit.d.ts similarity index 100% rename from api/kit/AVSessionKit.d.ts rename to api/kits/AVSessionKit.d.ts diff --git a/api/kit/AbilityKit.d.ts b/api/kits/AbilityKit.d.ts similarity index 67% rename from api/kit/AbilityKit.d.ts rename to api/kits/AbilityKit.d.ts index 9c455e0939..3c1c0ceccb 100644 --- a/api/kit/AbilityKit.d.ts +++ b/api/kits/AbilityKit.d.ts @@ -13,11 +13,13 @@ * limitations under the License. */ -import ability from '../@ohos.ability.ability'; +import type ability from '../@ohos.ability.ability'; import { ErrorCode } from '../@ohos.ability.errorCode'; import featureAbility from '../@ohos.ability.featureAbility'; import particleAbility from '../@ohos.ability.particleAbility'; -import abilityAccessCtrl, { Context, PermissionRequestResult, Permissions } from '../@ohos.abilityAccessCtrl'; +import abilityAccessCtrl, { + type Context, type PermissionRequestResult, Permissions +} from '../@ohos.abilityAccessCtrl'; import Ability from '../@ohos.app.ability.Ability'; import AbilityConstant from '../@ohos.app.ability.AbilityConstant'; import AbilityLifecycleCallback from '../@ohos.app.ability.AbilityLifecycleCallback'; @@ -32,8 +34,8 @@ import autoFillManager from '../@ohos.app.ability.autoFillManager'; import autoStartupManager from '../@ohos.app.ability.autoStartupManager'; import ChildProcess from '../@ohos.app.ability.ChildProcess'; import childProcessManager from '../@ohos.app.ability.childProcessManager'; -import common from '../@ohos.app.ability.common'; -import { Configuration } from '../@ohos.app.ability.Configuration'; +import type common from '../@ohos.app.ability.common'; +import { type Configuration } from '../@ohos.app.ability.Configuration'; import ConfigurationConstant from '../@ohos.app.ability.ConfigurationConstant'; import contextConstant from '../@ohos.app.ability.contextConstant'; import dataUriUtils from '../@ohos.app.ability.dataUriUtils'; @@ -53,14 +55,14 @@ import ServiceExtensionAbility from '../@ohos.app.ability.ServiceExtensionAbilit import ShareExtensionAbility from '../@ohos.app.ability.ShareExtensionAbility'; import StartOptions from '../@ohos.app.ability.StartOptions'; import UIAbility, { - Callee, CalleeCallback, Caller, OnReleaseCallback, OnRemoteStateChangeCallback + type Callee, type CalleeCallback, type Caller, type OnReleaseCallback, type OnRemoteStateChangeCallback } from '../@ohos.app.ability.UIAbility'; import UIExtensionAbility from '../@ohos.app.ability.UIExtensionAbility'; import UIExtensionContentSession from '../@ohos.app.ability.UIExtensionContentSession'; import UserAuthExtensionAbility from '../@ohos.app.ability.UserAuthExtensionAbility'; import Want from '../@ohos.app.ability.Want'; import wantConstant from '../@ohos.app.ability.wantConstant'; -import wantAgent, { WantAgent } from '../@ohos.app.ability.wantAgent'; +import wantAgent, { type WantAgent } from '../@ohos.app.ability.wantAgent'; import businessAbilityRouter from '../@ohos.app.businessAbilityRouter'; import uriPermissionManager from '../@ohos.application.uriPermissionManager'; import appControl from '../@ohos.bundle.appControl'; @@ -71,27 +73,30 @@ import bundle from '../@ohos.bundle'; import defaultAppManager from '../@ohos.bundle.defaultAppManager'; import distributedBundleManager from '../@ohos.bundle.distributedBundleManager'; import freeInstall from '../@ohos.bundle.freeInstall'; -import innerBundleManager, { BundleStatusCallback } from '../@ohos.bundle.innerBundleManager'; +import innerBundleManager, { type BundleStatusCallback } from '../@ohos.bundle.innerBundleManager'; import installer from '../@ohos.bundle.installer'; import launcherBundleManager from '../@ohos.bundle.launcherBundleManager'; import overlay from '../@ohos.bundle.overlay'; import continuationManager from '../@ohos.continuation.continuationManager'; import distributedBundle from '../@ohos.distributedBundle'; import distributedMissionManager from '../@ohos.distributedMissionManager'; -import Package, { CheckPackageHasInstalledOptions, CheckPackageHasInstalledResponse } from '../@system.package'; +import Package, { + type CheckPackageHasInstalledOptions, type CheckPackageHasInstalledResponse +} from '../@system.package'; export { - Ability, AbilityConstant, AbilityLifecycleCallback, AbilityStage, ActionExtensionAbility, - ApplicationStateChangeCallback, AutoFillExtensionAbility, BundleStatusCallback, Callee, CalleeCallback, Caller, - CheckPackageHasInstalledOptions, CheckPackageHasInstalledResponse, ChildProcess, Configuration, - ConfigurationConstant, Context, EnvironmentCallback, ErrorCode, ExtensionAbility, InsightIntentContext, - InsightIntentExecutor, MediaControlExtensionAbility, OnReleaseCallback, OnRemoteStateChangeCallback, Package, - PermissionRequestResult, Permissions, ServiceExtensionAbility, ShareExtensionAbility, StartOptions, UIAbility, - UIExtensionAbility, UIExtensionContentSession, UserAuthExtensionAbility, Want, WantAgent, ability, - abilityAccessCtrl, abilityManager, appControl, appManager, appRecovery, autoFillManager, autoStartupManager, - bundle, bundleManager, bundleMonitor, bundleResourceManager, businessAbilityRouter, childProcessManager, common, - contextConstant, continuationManager, dataUriUtils, defaultAppManager, dialogRequest, dialogSession, - distributedBundle, distributedBundleManager, distributedMissionManager, errorManager, featureAbility, freeInstall, - innerBundleManager, insightIntent, insightIntentDriver, installer, launcherBundleManager, missionManager, overlay, - particleAbility, quickFixManager, uriPermissionManager, wantAgent, wantConstant + Ability, AbilityConstant, AbilityLifecycleCallback, AbilityStage, ActionExtensionAbility, + ApplicationStateChangeCallback, AutoFillExtensionAbility, type BundleStatusCallback, type Callee, + type CalleeCallback, type Caller, type CheckPackageHasInstalledOptions, type CheckPackageHasInstalledResponse, + ChildProcess, type Configuration, ConfigurationConstant, type Context, EnvironmentCallback, ErrorCode, + ExtensionAbility, InsightIntentContext, InsightIntentExecutor, MediaControlExtensionAbility, + type OnReleaseCallback, type OnRemoteStateChangeCallback, Package, type PermissionRequestResult, Permissions, + ServiceExtensionAbility, ShareExtensionAbility, StartOptions, UIAbility, UIExtensionAbility, + UIExtensionContentSession, UserAuthExtensionAbility, Want, type WantAgent, type ability, abilityAccessCtrl, + abilityManager, appControl, appManager, appRecovery, autoFillManager, autoStartupManager, bundle, bundleManager, + bundleMonitor, bundleResourceManager, businessAbilityRouter, childProcessManager, type common, contextConstant, + continuationManager, dataUriUtils, defaultAppManager, dialogRequest, dialogSession, distributedBundle, + distributedBundleManager, distributedMissionManager, errorManager, featureAbility, freeInstall, + innerBundleManager, insightIntent, insightIntentDriver, installer, launcherBundleManager, missionManager, + overlay, particleAbility, quickFixManager, uriPermissionManager, wantAgent, wantConstant }; diff --git a/api/kit/AccessibilityKit.d.ts b/api/kits/AccessibilityKit.d.ts similarity index 67% rename from api/kit/AccessibilityKit.d.ts rename to api/kits/AccessibilityKit.d.ts index 39fb10a24c..7ff7bca0e5 100644 --- a/api/kit/AccessibilityKit.d.ts +++ b/api/kits/AccessibilityKit.d.ts @@ -18,12 +18,12 @@ import accessibility from '../@ohos.accessibility'; import { GesturePath } from '../@ohos.accessibility.GesturePath'; import { GesturePoint } from '../@ohos.accessibility.GesturePoint'; import AccessibilityExtensionAbility, { - AccessibilityElement, AccessibilityExtensionContext, ElementAttributeKeys, - ElementAttributeValues, FocusDirection, FocusType, Rect, WindowType + type AccessibilityElement, type AccessibilityExtensionContext, type ElementAttributeKeys, + type ElementAttributeValues, type FocusDirection, type FocusType, type Rect, type WindowType } from '../@ohos.application.AccessibilityExtensionAbility'; export { - AccessibilityElement, AccessibilityExtensionAbility, AccessibilityExtensionContext, ElementAttributeKeys, - ElementAttributeValues, FocusDirection, FocusType, GesturePath, GesturePoint, Rect, WindowType, accessibility, - config + type AccessibilityElement, AccessibilityExtensionAbility, type AccessibilityExtensionContext, + type ElementAttributeKeys, type ElementAttributeValues, type FocusDirection, type FocusType, GesturePath, + GesturePoint, type Rect, type WindowType, accessibility, config }; diff --git a/api/kit/AdsKit.d.ts b/api/kits/AdsKit.d.ts similarity index 84% rename from api/kit/AdsKit.d.ts rename to api/kits/AdsKit.d.ts index 56d76338c0..fdda93a381 100644 --- a/api/kit/AdsKit.d.ts +++ b/api/kits/AdsKit.d.ts @@ -14,9 +14,9 @@ */ import { AdComponent } from '../@ohos.advertising.AdComponent'; -import AdsServiceExtensionAbility, { RespCallback } from '../@ohos.advertising.AdsServiceExtensionAbility'; +import AdsServiceExtensionAbility, { type RespCallback } from '../@ohos.advertising.AdsServiceExtensionAbility'; import { AutoAdComponent } from '../@ohos.advertising.AutoAdComponent'; import advertising from '../@ohos.advertising'; import identifier from '../@ohos.identifier.oaid'; -export { AdComponent, AdsServiceExtensionAbility, AutoAdComponent, RespCallback, advertising, identifier }; +export { AdComponent, AdsServiceExtensionAbility, AutoAdComponent, type RespCallback, advertising, identifier }; diff --git a/api/kit/ArkData.d.ts b/api/kits/ArkData.d.ts similarity index 67% rename from api/kit/ArkData.d.ts rename to api/kits/ArkData.d.ts index 4fd4060790..469acef9f8 100644 --- a/api/kit/ArkData.d.ts +++ b/api/kits/ArkData.d.ts @@ -19,7 +19,8 @@ import commonType from '../@ohos.data.commonType'; import dataAbility from '../@ohos.data.dataAbility'; import dataShare from '../@ohos.data.dataShare'; import dataSharePredicates from '../@ohos.data.dataSharePredicates'; -import DataShareResultSet, { DataType } from '../@ohos.data.DataShareResultSet'; +import type DataShareResultSet from '../@ohos.data.DataShareResultSet'; +import { DataType } from '../@ohos.data.DataShareResultSet'; import distributedData from '../@ohos.data.distributedData'; import distributedDataObject from '../@ohos.data.distributedDataObject'; import distributedKVStore from '../@ohos.data.distributedKVStore'; @@ -29,14 +30,14 @@ import relationalStore from '../@ohos.data.relationalStore'; import storage from '../@ohos.data.storage'; import unifiedDataChannel from '../@ohos.data.unifiedDataChannel'; import uniformTypeDescriptor from '../@ohos.data.uniformTypeDescriptor'; -import { ValueType, ValuesBucket } from '../@ohos.data.ValuesBucket'; +import { type ValueType, type ValuesBucket } from '../@ohos.data.ValuesBucket'; import Storage, { - ClearStorageOptions, DeleteStorageOptions, GetStorageOptions, SetStorageOptions + type ClearStorageOptions, type DeleteStorageOptions, type GetStorageOptions, type SetStorageOptions } from '../@system.storage'; export { - ClearStorageOptions, DataShareExtensionAbility, DataShareResultSet, DataType, DeleteStorageOptions, - GetStorageOptions, SetStorageOptions, Storage, ValueType, ValuesBucket, cloudData, commonType, dataAbility, - dataShare, dataSharePredicates, distributedData, distributedDataObject, distributedKVStore, preferences, rdb, - relationalStore, storage, unifiedDataChannel, uniformTypeDescriptor + type ClearStorageOptions, DataShareExtensionAbility, type DataShareResultSet, DataType, type DeleteStorageOptions, + type GetStorageOptions, type SetStorageOptions, Storage, type ValueType, type ValuesBucket, cloudData, commonType, + dataAbility, dataShare, dataSharePredicates, distributedData, distributedDataObject, distributedKVStore, + preferences, rdb, relationalStore, storage, unifiedDataChannel, uniformTypeDescriptor }; diff --git a/api/kit/ArkGraphics.d.ts b/api/kits/ArkGraphics.d.ts similarity index 100% rename from api/kit/ArkGraphics.d.ts rename to api/kits/ArkGraphics.d.ts diff --git a/api/kit/ArkGraphics2D.d.ts b/api/kits/ArkGraphics2D.d.ts similarity index 100% rename from api/kit/ArkGraphics2D.d.ts rename to api/kits/ArkGraphics2D.d.ts diff --git a/api/kit/ArkTS.d.ts b/api/kits/ArkTS.d.ts similarity index 68% rename from api/kit/ArkTS.d.ts rename to api/kits/ArkTS.d.ts index d754137225..946321d64a 100644 --- a/api/kit/ArkTS.d.ts +++ b/api/kits/ArkTS.d.ts @@ -35,14 +35,16 @@ import TreeMap from '../@ohos.util.TreeMap'; import TreeSet from '../@ohos.util.TreeSet'; import Vector from '../@ohos.util.Vector'; import worker, { - DedicatedWorkerGlobalScope, ErrorEvent, Event, EventListener, EventTarget, MessageEvent, - MessageEvents, PostMessageOptions, ThreadWorkerGlobalScope, WorkerEventListener, WorkerEventTarget, WorkerOptions + type DedicatedWorkerGlobalScope, type ErrorEvent, type Event, type EventListener, type EventTarget, + type MessageEvent, type MessageEvents, type PostMessageOptions, type ThreadWorkerGlobalScope, + type WorkerEventListener, type WorkerEventTarget, type WorkerOptions } from '../@ohos.worker'; import xml from '../@ohos.xml'; export { - ArrayList, convertxml, DedicatedWorkerGlobalScope, Deque, ErrorEvent, Event, EventListener, EventTarget, - HashMap, HashSet, LightWeightMap, LightWeightSet, LinkedList, List, MessageEvent, MessageEvents, PlainArray, - PostMessageOptions, Queue, Stack, ThreadWorkerGlobalScope, TreeMap, TreeSet, Vector, WorkerEventListener, - WorkerEventTarget, WorkerOptions, buffer, process, taskpool, uri, url, util, worker, xml + ArrayList, convertxml, type DedicatedWorkerGlobalScope, Deque, type ErrorEvent, type Event, type EventListener, + type EventTarget, HashMap, HashSet, LightWeightMap, LightWeightSet, LinkedList, List, type MessageEvent, + type MessageEvents, PlainArray, type PostMessageOptions, Queue, Stack, type ThreadWorkerGlobalScope, TreeMap, + TreeSet, Vector, type WorkerEventListener, type WorkerEventTarget, type WorkerOptions, buffer, process, taskpool, + uri, url, util, worker, xml }; diff --git a/api/kit/ArkUI.d.ts b/api/kits/ArkUI.d.ts similarity index 44% rename from api/kit/ArkUI.d.ts rename to api/kits/ArkUI.d.ts index e97a79393a..83bff9f139 100644 --- a/api/kit/ArkUI.d.ts +++ b/api/kits/ArkUI.d.ts @@ -14,35 +14,35 @@ */ import windowAnimationManager from '../@ohos.animation.windowAnimationManager'; -import Animator, { AnimatorOptions, AnimatorResult } from '../@ohos.animator'; -import WindowExtensionAbility, { WindowExtensionContext } from '../@ohos.application.WindowExtensionAbility'; +import Animator, { type AnimatorOptions, AnimatorResult } from '../@ohos.animator'; +import WindowExtensionAbility, { type WindowExtensionContext } from '../@ohos.application.WindowExtensionAbility'; import { Breadcrumb, LabelInfo } from '../@ohos.arkui.advanced.Breadcrumb'; import { - Chip, ChipOptions, ChipSize, IconCommonOptions, LabelMarginOptions, LabelOptions, PrefixIconOptions, - SuffixIconOptions + Chip, ChipOptions, ChipSize, IconCommonOptions, LabelMarginOptions, LabelOptions, PrefixIconOptions, + SuffixIconOptions } from '../@ohos.arkui.advanced.Chip'; import { - ComposeListItem, ContentItem, IconType, OperateButton, OperateCheck, OperateIcon, OperateItem + ComposeListItem, ContentItem, IconType, OperateButton, OperateCheck, OperateIcon, OperateItem } from '../@ohos.arkui.advanced.ComposeListItem'; import { ComposeTitleBar, ComposeTitleBarMenuItem } from '../@ohos.arkui.advanced.ComposeTitleBar'; import { CounterComponent, CounterOptions, CounterType, DateData } from '../@ohos.arkui.advanced.Counter'; import { - AlertDialog, ButtonOptions, ConfirmDialog, LoadingDialog, SelectDialog, TipsDialog + AlertDialog, ButtonOptions, ConfirmDialog, LoadingDialog, SelectDialog, TipsDialog } from '../@ohos.arkui.advanced.Dialog'; import { - EditableLeftIconType, EditableTitleBar, EditableTitleBarMenuItem + EditableLeftIconType, EditableTitleBar, EditableTitleBarMenuItem } from '../@ohos.arkui.advanced.EditableTitleBar'; import { Filter, FilterParams, FilterResult, FilterType } from '../@ohos.arkui.advanced.Filter'; import { - Popup, PopupButtonOptions, PopupIconOptions, PopupOptions, PopupTextOptions + Popup, PopupButtonOptions, PopupIconOptions, PopupOptions, PopupTextOptions } from '../@ohos.arkui.advanced.Popup'; import { ProgressButton } from '../@ohos.arkui.advanced.ProgressButton'; import { - CapsuleSegmentButtonConstructionOptions, CapsuleSegmentButtonOptions, SegmentButton, - SegmentButtonItemOptionsArray, SegmentButtonOptions, TabSegmentButtonConstructionOptions, TabSegmentButtonOptions + CapsuleSegmentButtonConstructionOptions, CapsuleSegmentButtonOptions, SegmentButton, + SegmentButtonItemOptionsArray, SegmentButtonOptions, TabSegmentButtonConstructionOptions, TabSegmentButtonOptions } from '../@ohos.arkui.advanced.SegmentButton'; import { - EditorEventInfo, EditorMenuOptions, ExpandedMenuOptions, SelectionMenu, SelectionMenuOptions + EditorEventInfo, EditorMenuOptions, ExpandedMenuOptions, SelectionMenu, SelectionMenuOptions } from '../@ohos.arkui.advanced.SelectionMenu'; import { SelectTitleBar, SelectTitleBarMenuItem } from '../@ohos.arkui.advanced.SelectTitleBar'; import { SplitLayout } from '../@ohos.arkui.advanced.SplitLayout'; @@ -51,7 +51,7 @@ import { SwipeRefresher } from '../@ohos.arkui.advanced.SwipeRefresher'; import { TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem } from '../@ohos.arkui.advanced.TabTitleBar'; import { ItemState, ToolBar, ToolBarOption, ToolBarOptions } from '../@ohos.arkui.advanced.ToolBar'; import { - CallbackParam, NodeParam, TreeController, TreeListenType, TreeListener, TreeListenerManager, TreeView + CallbackParam, NodeParam, TreeController, TreeListenType, TreeListener, TreeListenerManager, TreeView } from '../@ohos.arkui.advanced.TreeView'; import componentSnapshot from '../@ohos.arkui.componentSnapshot'; import componentUtils from '../@ohos.arkui.componentUtils'; @@ -61,15 +61,15 @@ import inspector from '../@ohos.arkui.inspector'; import uiObserver from '../@ohos.arkui.observer'; import performanceMonitor from '../@ohos.arkui.performanceMonitor'; import { - AtomicServiceBar, ComponentUtils, DragController, Font, KeyboardAvoidMode, MediaQuery, PromptAction, Router, - UIContext, UIInspector, UIObserver + type AtomicServiceBar, ComponentUtils, DragController, Font, KeyboardAvoidMode, MediaQuery, PromptAction, Router, + UIContext, UIInspector, UIObserver } from '../@ohos.arkui.UIContext'; import curves from '../@ohos.curves'; import dragInteraction from '../@ohos.deviceStatus.dragInteraction'; import display from '../@ohos.display'; import font from '../@ohos.font'; import matrix4 from '../@ohos.matrix4'; -import MeasureText, { MeasureOptions } from '../@ohos.measure'; +import MeasureText, { type MeasureOptions } from '../@ohos.measure'; import mediaquery from '../@ohos.mediaquery'; import PiPWindow from '../@ohos.PiPWindow'; import pluginComponentManager from '../@ohos.pluginComponent'; @@ -80,37 +80,39 @@ import screen from '../@ohos.screen'; import screenshot from '../@ohos.screenshot'; import uiAppearance from '../@ohos.uiAppearance'; import window from '../@ohos.window'; -import App, { AppResponse, RequestFullWindowOptions, ScreenOnVisibleOptions } from '../@system.app'; -import Configuration, { LocaleResponse } from '../@system.configuration'; -import { MediaQueryEvent, MediaQueryList } from '../@system.mediaquery'; +import App, { type AppResponse, type RequestFullWindowOptions, type ScreenOnVisibleOptions } from '../@system.app'; +import Configuration, { type LocaleResponse } from '../@system.configuration'; +import SystemMediaQuery, { type MediaQueryEvent, type MediaQueryList } from '../@system.mediaquery'; import Prompt, { - Button, ShowActionMenuOptions, ShowDialogOptions, ShowDialogSuccessResponse, ShowToastOptions + type Button, type ShowActionMenuOptions, type ShowDialogOptions, type ShowDialogSuccessResponse, + type ShowToastOptions } from '../@system.prompt'; -import { - BackRouterOptions, DisableAlertBeforeBackPageOptions, EnableAlertBeforeBackPageOptions, RouterOptions, - RouterState +import SystemRouter, { + type BackRouterOptions, type DisableAlertBeforeBackPageOptions, type EnableAlertBeforeBackPageOptions, + type RouterOptions, type RouterState } from '../@system.router'; export { - AlertDialog, Animator, AnimatorOptions, AnimatorResult, App, AppResponse, AtomicServiceBar, BackRouterOptions, - Breadcrumb, Button, ButtonOptions, CallbackParam, CapsuleSegmentButtonConstructionOptions, - CapsuleSegmentButtonOptions, Chip, ChipOptions, ChipSize, ComponentUtils, ComposeListItem, ComposeTitleBar, - ComposeTitleBarMenuItem, Configuration, ConfirmDialog, ContentItem, CounterComponent, CounterOptions, CounterType, - DateData, DisableAlertBeforeBackPageOptions, DragController, DrawableDescriptor, EditableLeftIconType, - EditableTitleBar, EditableTitleBarMenuItem, EditorEventInfo, EditorMenuOptions, EnableAlertBeforeBackPageOptions, - ExpandedMenuOptions, Filter, FilterParams, FilterResult, FilterType, Font, IconCommonOptions, IconType, ItemState, - KeyboardAvoidMode, LabelInfo, LabelMarginOptions, LabelOptions, LayeredDrawableDescriptor, LoadingDialog, - LocaleResponse, MeasureOptions, MeasureText, MediaQuery, MediaQueryEvent, MediaQueryList, NodeParam, OperateButton, - OperateCheck, OperateIcon, OperateItem, OperationOption, OperationType, PiPWindow, Popup, PopupButtonOptions, - PopupIconOptions, PopupOptions, PopupTextOptions, PrefixIconOptions, ProgressButton, Prompt, PromptAction, - RequestFullWindowOptions, Router, RouterOptions, RouterState, ScreenOnVisibleOptions, SegmentButton, - SegmentButtonItemOptionsArray, SegmentButtonOptions, SelectDialog, SelectOptions, SelectTitleBar, - SelectTitleBarMenuItem, SelectionMenu, SelectionMenuOptions, ShowActionMenuOptions, ShowDialogOptions, - ShowDialogSuccessResponse, ShowToastOptions, SplitLayout, SubHeader, SuffixIconOptions, SwipeRefresher, - TabSegmentButtonConstructionOptions, TabSegmentButtonOptions, TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem, - TipsDialog, ToolBar, ToolBarOption, ToolBarOptions, TreeController, TreeListenType, TreeListener, - TreeListenerManager, TreeView, UIContext, UIInspector, UIObserver, WindowExtensionAbility, WindowExtensionContext, - componentSnapshot, componentUtils, curves, display, dragController, dragInteraction, font, inspector, matrix4, - mediaquery, performanceMonitor, pluginComponentManager, prompt, promptAction, router, screen, screenshot, - uiAppearance, uiObserver, window, windowAnimationManager + AlertDialog, Animator, type AnimatorOptions, AnimatorResult, App, type AppResponse, type AtomicServiceBar, + type BackRouterOptions, Breadcrumb, type Button, ButtonOptions, CallbackParam, + CapsuleSegmentButtonConstructionOptions, CapsuleSegmentButtonOptions, Chip, ChipOptions, ChipSize, ComponentUtils, + ComposeListItem, ComposeTitleBar, ComposeTitleBarMenuItem, Configuration, ConfirmDialog, ContentItem, + CounterComponent, CounterOptions, CounterType, DateData, type DisableAlertBeforeBackPageOptions, DragController, + DrawableDescriptor, EditableLeftIconType, EditableTitleBar, EditableTitleBarMenuItem, EditorEventInfo, + EditorMenuOptions, type EnableAlertBeforeBackPageOptions, ExpandedMenuOptions, Filter, FilterParams, FilterResult, + FilterType, Font, IconCommonOptions, IconType, ItemState, KeyboardAvoidMode, LabelInfo, LabelMarginOptions, + LabelOptions, LayeredDrawableDescriptor, LoadingDialog, type LocaleResponse, type MeasureOptions, MeasureText, + MediaQuery, type MediaQueryEvent, type MediaQueryList, NodeParam, OperateButton, OperateCheck, OperateIcon, + OperateItem, OperationOption, OperationType, PiPWindow, Popup, PopupButtonOptions, PopupIconOptions, PopupOptions, + PopupTextOptions, PrefixIconOptions, ProgressButton, Prompt, PromptAction, type RequestFullWindowOptions, Router, + type RouterOptions, type RouterState, type ScreenOnVisibleOptions, SegmentButton, SegmentButtonItemOptionsArray, + SegmentButtonOptions, SelectDialog, SelectOptions, SelectTitleBar, SelectTitleBarMenuItem, SelectionMenu, + SelectionMenuOptions, type ShowActionMenuOptions, type ShowDialogOptions, type ShowDialogSuccessResponse, + type ShowToastOptions, SplitLayout, SubHeader, SuffixIconOptions, SwipeRefresher, SystemMediaQuery, SystemRouter, + TabSegmentButtonConstructionOptions, TabSegmentButtonOptions, TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem, + TipsDialog, ToolBar, ToolBarOption, ToolBarOptions, TreeController, TreeListenType, TreeListener, + TreeListenerManager, TreeView, UIContext, UIInspector, UIObserver, WindowExtensionAbility, + type WindowExtensionContext, componentSnapshot, componentUtils, curves, display, dragController, dragInteraction, + font, inspector, matrix4, mediaquery, performanceMonitor, pluginComponentManager, prompt, promptAction, router, + screen, screenshot, uiAppearance, uiObserver, window, windowAnimationManager }; diff --git a/api/kit/ArkWeb.d.ts b/api/kits/ArkWeb.d.ts similarity index 100% rename from api/kit/ArkWeb.d.ts rename to api/kits/ArkWeb.d.ts diff --git a/api/kit/AudioKit.d.ts b/api/kits/AudioKit.d.ts similarity index 100% rename from api/kit/AudioKit.d.ts rename to api/kits/AudioKit.d.ts diff --git a/api/kit/BackgroundTasksKit.d.ts b/api/kits/BackgroundTasksKit.d.ts similarity index 77% rename from api/kit/BackgroundTasksKit.d.ts rename to api/kits/BackgroundTasksKit.d.ts index 51715af0de..3f2c4ca957 100644 --- a/api/kit/BackgroundTasksKit.d.ts +++ b/api/kits/BackgroundTasksKit.d.ts @@ -20,9 +20,11 @@ import reminderAgentManager from '../@ohos.reminderAgentManager'; import deviceStandby from '../@ohos.resourceschedule.deviceStandby'; import usageStatistics from '../@ohos.resourceschedule.usageStatistics'; import workScheduler from '../@ohos.resourceschedule.workScheduler'; -import WorkSchedulerExtensionAbility, { WorkSchedulerExtensionContext } from '../@ohos.WorkSchedulerExtensionAbility'; +import WorkSchedulerExtensionAbility, { + type WorkSchedulerExtensionContext +} from '../@ohos.WorkSchedulerExtensionAbility'; export { - WorkSchedulerExtensionAbility, WorkSchedulerExtensionContext, backgroundTaskManager, bundleState, - deviceStandby, reminderAgent, reminderAgentManager, usageStatistics, workScheduler + WorkSchedulerExtensionAbility, type WorkSchedulerExtensionContext, backgroundTaskManager, bundleState, + deviceStandby, reminderAgent, reminderAgentManager, usageStatistics, workScheduler }; diff --git a/api/kit/BasicServicesKit.d.ts b/api/kits/BasicServicesKit.d.ts similarity index 56% rename from api/kit/BasicServicesKit.d.ts rename to api/kits/BasicServicesKit.d.ts index cc10201cd1..cbac8dbe2f 100644 --- a/api/kit/BasicServicesKit.d.ts +++ b/api/kits/BasicServicesKit.d.ts @@ -17,7 +17,7 @@ import appAccount from '../@ohos.account.appAccount'; import distributedAccount from '../@ohos.account.distributedAccount'; import osAccount from '../@ohos.account.osAccount'; import PrintExtensionAbility from '../@ohos.app.ability.PrintExtensionAbility'; -import { AsyncCallback, BusinessError, Callback, ErrorCallback } from '../@ohos.base'; +import { type AsyncCallback, type BusinessError, type Callback, type ErrorCallback } from '../@ohos.base'; import batteryInfo from '../@ohos.batteryInfo'; import batteryStats from '../@ohos.batteryStatistics'; import brightness from '../@ohos.brightness'; @@ -44,25 +44,26 @@ import usbManager from '../@ohos.usbManager'; import wallpaper from '../@ohos.wallpaper'; import WallpaperExtensionAbility from '../@ohos.WallpaperExtensionAbility'; import zlib from '../@ohos.zlib'; -import Battery, { BatteryResponse, GetStatusOptions } from '../@system.battery'; +import Battery, { type BatteryResponse, type GetStatusOptions } from '../@system.battery'; import Brightness, { - BrightnessModeResponse, BrightnessResponse, GetBrightnessModeOptions, GetBrightnessOptions, - SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions + type BrightnessModeResponse, type BrightnessResponse, type GetBrightnessModeOptions, type GetBrightnessOptions, + type SetBrightnessModeOptions, type SetBrightnessOptions, type SetKeepScreenOnOptions } from '../@system.brightness'; -import Device, { DeviceResponse, GetDeviceOptions } from '../@system.device'; +import Device, { type DeviceResponse, type GetDeviceOptions } from '../@system.device'; import Request, { - DownloadRequestOptions, DownloadResponse, OnDownloadCompleteOptions, OnDownloadCompleteResponse, - RequestData, RequestFile, UploadRequestOptions, UploadResponse + type DownloadRequestOptions, type DownloadResponse, type OnDownloadCompleteOptions, + type OnDownloadCompleteResponse, type RequestData, type RequestFile, type UploadRequestOptions, type UploadResponse } from '../@system.request'; export { - AsyncCallback, Battery, BatteryResponse, Brightness, BrightnessModeResponse, BrightnessResponse, - BusinessError, Callback, Device, DeviceResponse, DownloadRequestOptions, DownloadResponse, ErrorCallback, - GetBrightnessModeOptions, GetBrightnessOptions, GetDeviceOptions, GetStatusOptions, OnDownloadCompleteOptions, - OnDownloadCompleteResponse, PrintExtensionAbility, Request, RequestData, RequestFile, SetBrightnessModeOptions, - SetBrightnessOptions, SetKeepScreenOnOptions, UploadRequestOptions, UploadResponse, WallpaperExtensionAbility, - appAccount, batteryInfo, batteryStats, brightness, charger, deviceAttest, deviceInfo, distributedAccount, - osAccount, pasteboard, power, print, request, runningLock, screenLock, settings, systemCapability, - systemDateTime, systemParameter, systemParameterEnhance, systemTime, systemTimer, thermal, update, usb, usbManager, - wallpaper, zlib + type AsyncCallback, Battery, type BatteryResponse, Brightness, type BrightnessModeResponse, + type BrightnessResponse, type BusinessError, type Callback, Device, type DeviceResponse, + type DownloadRequestOptions, type DownloadResponse, type ErrorCallback, type GetBrightnessModeOptions, + type GetBrightnessOptions, type GetDeviceOptions, type GetStatusOptions, type OnDownloadCompleteOptions, + type OnDownloadCompleteResponse, PrintExtensionAbility, Request, type RequestData, type RequestFile, + type SetBrightnessModeOptions, type SetBrightnessOptions, type SetKeepScreenOnOptions, type UploadRequestOptions, + type UploadResponse, WallpaperExtensionAbility, appAccount, batteryInfo, batteryStats, brightness, charger, + deviceAttest, deviceInfo, distributedAccount, osAccount, pasteboard, power, print, request, runningLock, + screenLock, settings, systemCapability, systemDateTime, systemParameter, systemParameterEnhance, systemTime, + systemTimer, thermal, update, usb, usbManager, wallpaper, zlib }; diff --git a/api/kit/CalendarKit.d.ts b/api/kits/CalendarKit.d.ts similarity index 100% rename from api/kit/CalendarKit.d.ts rename to api/kits/CalendarKit.d.ts diff --git a/api/kit/CallKit.d.ts b/api/kits/CallKit.d.ts similarity index 100% rename from api/kit/CallKit.d.ts rename to api/kits/CallKit.d.ts diff --git a/api/kit/CameraKit.d.ts b/api/kits/CameraKit.d.ts similarity index 100% rename from api/kit/CameraKit.d.ts rename to api/kits/CameraKit.d.ts diff --git a/api/kit/ConnectivityKit.d.ts b/api/kits/ConnectivityKit.d.ts similarity index 77% rename from api/kit/ConnectivityKit.d.ts rename to api/kits/ConnectivityKit.d.ts index d37bc0aee8..17332a2d12 100644 --- a/api/kit/ConnectivityKit.d.ts +++ b/api/kits/ConnectivityKit.d.ts @@ -37,13 +37,13 @@ import wifiext from '../@ohos.wifiext'; import wifiManager from '../@ohos.wifiManager'; import wifiManagerExt from '../@ohos.wifiManagerExt'; import Bluetooth, { - BLEFoundResponse, BluetoothDevice, StartBLEScanOptions, StopBLEScanOptions, - SubscribeBLEFoundOptions + type BLEFoundResponse, type BluetoothDevice, type StartBLEScanOptions, type StopBLEScanOptions, + type SubscribeBLEFoundOptions } from '../@system.bluetooth'; export { - BLEFoundResponse, Bluetooth, BluetoothDevice, StartBLEScanOptions, StopBLEScanOptions, - SubscribeBLEFoundOptions, a2dp, access, baseProfile, ble, bluetooth, bluetoothManager, cardEmulation, - connectedTag, connection, constant, hfp, hid, nfcController, omapi, pan, pbap, socket, tag, wearDetection, wifi, - wifiManager, wifiManagerExt, wifiext + type BLEFoundResponse, Bluetooth, type BluetoothDevice, type StartBLEScanOptions, type StopBLEScanOptions, + type SubscribeBLEFoundOptions, a2dp, access, baseProfile, ble, bluetooth, bluetoothManager, cardEmulation, + connectedTag, connection, constant, hfp, hid, nfcController, omapi, pan, pbap, socket, tag, wearDetection, wifi, + wifiManager, wifiManagerExt, wifiext }; diff --git a/api/kit/ContactsKit.d.ts b/api/kits/ContactsKit.d.ts similarity index 100% rename from api/kit/ContactsKit.d.ts rename to api/kits/ContactsKit.d.ts diff --git a/api/kit/CoreFileKit.d.ts b/api/kits/CoreFileKit.d.ts similarity index 53% rename from api/kit/CoreFileKit.d.ts rename to api/kits/CoreFileKit.d.ts index 7499c58db6..1682e9acc4 100644 --- a/api/kit/CoreFileKit.d.ts +++ b/api/kits/CoreFileKit.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import BackupExtensionAbility, { BundleVersion } from '../@ohos.application.BackupExtensionAbility'; +import BackupExtensionAbility, { type BundleVersion } from '../@ohos.application.BackupExtensionAbility'; import document from '../@ohos.document'; import backup from '../@ohos.file.backup'; import cloudSync from '../@ohos.file.cloudSync'; @@ -23,7 +23,8 @@ import fileAccess from '../@ohos.file.fileAccess'; import fileExtensionInfo from '../@ohos.file.fileExtensionInfo'; import fileUri from '../@ohos.file.fileuri'; import fileIo, { - ConflictFiles, Filter, Options, ReaderIteratorResult, WatchEvent, WatchEventListener, Watcher + type ConflictFiles, type Filter, type Options, type ReaderIteratorResult, type WatchEvent, type WatchEventListener, + type Watcher } from '../@ohos.file.fs'; import hash from '../@ohos.file.hash'; import picker from '../@ohos.file.picker'; @@ -38,17 +39,19 @@ import userFileManager from '../@ohos.filemanagement.userFileManager'; import fileShare from '../@ohos.fileshare'; import Statfs from '../@ohos.statfs'; import File, { - FileAccessOption, FileCopyOption, FileDeleteOption, FileGetOption, FileListOption, FileListResponse, - FileMkdirOption, FileMoveOption, FileReadArrayBufferOption, FileReadArrayBufferResponse, FileReadTextOption, - FileReadTextResponse, FileResponse, FileRmdirOption, FileWriteArrayBufferOption, FileWriteTextOption + type FileAccessOption, type FileCopyOption, type FileDeleteOption, type FileGetOption, type FileListOption, + type FileListResponse, type FileMkdirOption, type FileMoveOption, type FileReadArrayBufferOption, + type FileReadArrayBufferResponse, type FileReadTextOption, type FileReadTextResponse, type FileResponse, + type FileRmdirOption, type FileWriteArrayBufferOption, type FileWriteTextOption } from '../@system.file'; export { - BackupExtensionAbility, BundleVersion, ConflictFiles, Environment, File, FileAccessOption, FileCopyOption, - FileDeleteOption, FileGetOption, FileListOption, FileListResponse, FileMkdirOption, FileMoveOption, - FileReadArrayBufferOption, FileReadArrayBufferResponse, FileReadTextOption, FileReadTextResponse, FileResponse, - FileRmdirOption, FileWriteArrayBufferOption, FileWriteTextOption, Filter, Options, ReaderIteratorResult, Statfs, - WatchEvent, WatchEventListener, Watcher, backup, cloudSync, cloudSyncManager, document, fileAccess, - fileExtensionInfo, fileIO, fileIo, fileShare, fileUri, hash, picker, recent, securityLabel, statfs, - storageStatistics, trash, userFileManager, volumeManager + BackupExtensionAbility, type BundleVersion, type ConflictFiles, Environment, File, type FileAccessOption, + type FileCopyOption, type FileDeleteOption, type FileGetOption, type FileListOption, type FileListResponse, + type FileMkdirOption, type FileMoveOption, type FileReadArrayBufferOption, type FileReadArrayBufferResponse, + type FileReadTextOption, type FileReadTextResponse, type FileResponse, type FileRmdirOption, + type FileWriteArrayBufferOption, type FileWriteTextOption, type Filter, type Options, type ReaderIteratorResult, + Statfs, type WatchEvent, type WatchEventListener, type Watcher, backup, cloudSync, cloudSyncManager, document, + fileAccess, fileExtensionInfo, fileIO, fileIo, fileShare, fileUri, hash, picker, recent, securityLabel, statfs, + storageStatistics, trash, userFileManager, volumeManager }; diff --git a/api/kit/CryptoArchitectureKit.d.ts b/api/kits/CryptoArchitectureKit.d.ts similarity index 76% rename from api/kit/CryptoArchitectureKit.d.ts rename to api/kits/CryptoArchitectureKit.d.ts index dd4b65e55c..5de2822535 100644 --- a/api/kit/CryptoArchitectureKit.d.ts +++ b/api/kits/CryptoArchitectureKit.d.ts @@ -14,6 +14,6 @@ */ import cryptoFramework from '../@ohos.security.cryptoFramework'; -import Cipher, { CipherAesOptions, CipherResponse, CipherRsaOptions } from '../@system.cipher'; +import Cipher, { type CipherAesOptions, type CipherResponse, type CipherRsaOptions } from '../@system.cipher'; -export { Cipher, CipherAesOptions, CipherResponse, CipherRsaOptions, cryptoFramework }; +export { Cipher, type CipherAesOptions, type CipherResponse, type CipherRsaOptions, cryptoFramework }; diff --git a/api/kit/DataLossPreventionKit.d.ts b/api/kits/DataLossPreventionKit.d.ts similarity index 100% rename from api/kit/DataLossPreventionKit.d.ts rename to api/kits/DataLossPreventionKit.d.ts diff --git a/api/kit/DeviceCertificateKit.d.ts b/api/kits/DeviceCertificateKit.d.ts similarity index 100% rename from api/kit/DeviceCertificateKit.d.ts rename to api/kits/DeviceCertificateKit.d.ts diff --git a/api/kit/DistributedServiceKit.d.ts b/api/kits/DistributedServiceKit.d.ts similarity index 100% rename from api/kit/DistributedServiceKit.d.ts rename to api/kits/DistributedServiceKit.d.ts diff --git a/api/kit/DriverDevelopmentKit.d.ts b/api/kits/DriverDevelopmentKit.d.ts similarity index 77% rename from api/kit/DriverDevelopmentKit.d.ts rename to api/kits/DriverDevelopmentKit.d.ts index 9f353fe439..ccbc160147 100644 --- a/api/kit/DriverDevelopmentKit.d.ts +++ b/api/kits/DriverDevelopmentKit.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import DriverExtensionAbility, { DriverExtensionContext } from '../@ohos.app.ability.DriverExtensionAbility'; +import DriverExtensionAbility, { type DriverExtensionContext } from '../@ohos.app.ability.DriverExtensionAbility'; import deviceManager from '../@ohos.driver.deviceManager'; -export { DriverExtensionAbility, DriverExtensionContext, deviceManager }; +export { DriverExtensionAbility, type DriverExtensionContext, deviceManager }; diff --git a/api/kit/FormKit.d.ts b/api/kits/FormKit.d.ts similarity index 100% rename from api/kit/FormKit.d.ts rename to api/kits/FormKit.d.ts diff --git a/api/kit/IMEKit.d.ts b/api/kits/IMEKit.d.ts similarity index 83% rename from api/kit/IMEKit.d.ts rename to api/kits/IMEKit.d.ts index 761d89161f..cbd1fa5e58 100644 --- a/api/kit/IMEKit.d.ts +++ b/api/kits/IMEKit.d.ts @@ -17,8 +17,8 @@ import inputMethod from '../@ohos.inputMethod'; import inputMethodEngine from '../@ohos.inputMethodEngine'; import InputMethodExtensionAbility from '../@ohos.InputMethodExtensionAbility'; import InputMethodExtensionContext from '../@ohos.InputMethodExtensionContext'; -import InputMethodSubtype from '../@ohos.InputMethodSubtype'; +import type InputMethodSubtype from '../@ohos.InputMethodSubtype'; export { - InputMethodExtensionAbility, InputMethodExtensionContext, InputMethodSubtype, inputMethod, inputMethodEngine + InputMethodExtensionAbility, InputMethodExtensionContext, type InputMethodSubtype, inputMethod, inputMethodEngine }; diff --git a/api/kit/IPCKit.d.ts b/api/kits/IPCKit.d.ts similarity index 100% rename from api/kit/IPCKit.d.ts rename to api/kits/IPCKit.d.ts diff --git a/api/kit/ImageKit.d.ts b/api/kits/ImageKit.d.ts similarity index 100% rename from api/kit/ImageKit.d.ts rename to api/kits/ImageKit.d.ts diff --git a/api/kit/InputKit.d.ts b/api/kits/InputKit.d.ts similarity index 56% rename from api/kit/InputKit.d.ts rename to api/kits/InputKit.d.ts index 71b6d00a2b..e2cb0d4559 100644 --- a/api/kit/InputKit.d.ts +++ b/api/kits/InputKit.d.ts @@ -13,30 +13,33 @@ * limitations under the License. */ -import { PanelFlag, PanelInfo, PanelType } from '../@ohos.inputMethod.Panel'; +import { PanelFlag, type PanelInfo, PanelType } from '../@ohos.inputMethod.Panel'; import { InputMethodListDialog, Pattern, PatternOptions } from '../@ohos.inputMethodList'; import { - ActionType, FourFingersSwipe, Pinch, Rotate, ThreeFingersSwipe, ThreeFingersTap + ActionType, type FourFingersSwipe, type Pinch, type Rotate, type ThreeFingersSwipe, type ThreeFingersTap } from '../@ohos.multimodalInput.gestureEvent'; import inputConsumer from '../@ohos.multimodalInput.inputConsumer'; import inputDevice from '../@ohos.multimodalInput.inputDevice'; import inputDeviceCooperate from '../@ohos.multimodalInput.inputDeviceCooperate'; -import { InputEvent } from '../@ohos.multimodalInput.inputEvent'; +import { type InputEvent } from '../@ohos.multimodalInput.inputEvent'; import inputEventClient from '../@ohos.multimodalInput.inputEventClient'; import inputMonitor from '../@ohos.multimodalInput.inputMonitor'; import { IntentionCode } from '../@ohos.multimodalInput.intentionCode'; import { KeyCode } from '../@ohos.multimodalInput.keyCode'; -import { Action, Key, KeyEvent } from '../@ohos.multimodalInput.keyEvent'; +import { Action, type Key, type KeyEvent } from '../@ohos.multimodalInput.keyEvent'; import { - Action as MouseAction, Axis, AxisValue, Button, MouseEvent, ToolType as MouseToolType + Action as MouseAction, Axis, type AxisValue, Button, type MouseEvent, ToolType as MouseToolType } from '../@ohos.multimodalInput.mouseEvent'; import pointer from '../@ohos.multimodalInput.pointer'; import shortKey from '../@ohos.multimodalInput.shortKey'; -import { Action as KeyAction, SourceType, ToolType, Touch, TouchEvent } from '../@ohos.multimodalInput.touchEvent'; +import { + Action as KeyAction, SourceType, ToolType, type Touch, type TouchEvent +} from '../@ohos.multimodalInput.touchEvent'; export { - Action, ActionType, Axis, AxisValue, Button, FourFingersSwipe, InputEvent, InputMethodListDialog, - IntentionCode, Key, KeyAction, KeyCode, KeyEvent, MouseAction, MouseEvent, MouseToolType, PanelFlag, PanelInfo, - PanelType, Pattern, PatternOptions, Pinch, Rotate, SourceType, ThreeFingersSwipe, ThreeFingersTap, ToolType, Touch, - TouchEvent, inputConsumer, inputDevice, inputDeviceCooperate, inputEventClient, inputMonitor, pointer, shortKey + Action, ActionType, Axis, type AxisValue, Button, type FourFingersSwipe, type InputEvent, InputMethodListDialog, + IntentionCode, type Key, KeyAction, KeyCode, type KeyEvent, MouseAction, type MouseEvent, MouseToolType, PanelFlag, + type PanelInfo, PanelType, Pattern, PatternOptions, type Pinch, type Rotate, SourceType, type ThreeFingersSwipe, + type ThreeFingersTap, ToolType, type Touch, type TouchEvent, inputConsumer, inputDevice, inputDeviceCooperate, + inputEventClient, inputMonitor, pointer, shortKey }; diff --git a/api/kit/LancetKit.d.ts b/api/kits/LancetKit.d.ts similarity index 90% rename from api/kit/LancetKit.d.ts rename to api/kits/LancetKit.d.ts index ae29474044..ae0e2f4908 100644 --- a/api/kit/LancetKit.d.ts +++ b/api/kits/LancetKit.d.ts @@ -25,6 +25,6 @@ import hiTraceMeter from '../@ohos.hiTraceMeter'; import logLibrary from '../@ohos.logLibrary'; export { - FaultLogger, bytrace, hiAppEvent, hiSysEvent, hiTraceChain, hiTraceMeter, hichecker, hidebug, hilog, - logLibrary + FaultLogger, bytrace, hiAppEvent, hiSysEvent, hiTraceChain, hiTraceMeter, hichecker, hidebug, hilog, + logLibrary }; diff --git a/api/kit/LocalAuthenticationKit.d.ts b/api/kits/LocalAuthenticationKit.d.ts similarity index 100% rename from api/kit/LocalAuthenticationKit.d.ts rename to api/kits/LocalAuthenticationKit.d.ts diff --git a/api/kit/LocalizationKit.d.ts b/api/kits/LocalizationKit.d.ts similarity index 100% rename from api/kit/LocalizationKit.d.ts rename to api/kits/LocalizationKit.d.ts diff --git a/api/kit/LocationKit.d.ts b/api/kits/LocationKit.d.ts similarity index 70% rename from api/kit/LocationKit.d.ts rename to api/kits/LocationKit.d.ts index fd8e7faec9..a8999d7faa 100644 --- a/api/kit/LocationKit.d.ts +++ b/api/kits/LocationKit.d.ts @@ -16,11 +16,11 @@ import geolocation from '../@ohos.geolocation'; import geoLocationManager from '../@ohos.geoLocationManager'; import Geolocation, { - GeolocationResponse, GetLocationOption, GetLocationTypeOption, GetLocationTypeResponse, - SubscribeLocationOption + type GeolocationResponse, type GetLocationOption, type GetLocationTypeOption, type GetLocationTypeResponse, + type SubscribeLocationOption } from '../@system.geolocation'; export { - Geolocation, GeolocationResponse, GetLocationOption, GetLocationTypeOption, GetLocationTypeResponse, - SubscribeLocationOption, geoLocationManager, geolocation + Geolocation, type GeolocationResponse, type GetLocationOption, type GetLocationTypeOption, + type GetLocationTypeResponse, type SubscribeLocationOption, geoLocationManager, geolocation }; diff --git a/api/kit/MDMKit.d.ts b/api/kits/MDMKit.d.ts similarity index 85% rename from api/kit/MDMKit.d.ts rename to api/kits/MDMKit.d.ts index b5ec55b6c1..93238645f1 100644 --- a/api/kit/MDMKit.d.ts +++ b/api/kits/MDMKit.d.ts @@ -34,7 +34,7 @@ import usbManager from '../@ohos.enterprise.usbManager'; import wifiManager from '../@ohos.enterprise.wifiManager'; export { - EnterpriseAdminExtensionAbility, accountManager, adminManager, applicationManager, bluetoothManager, browser, - bundleManager, configPolicy, dateTimeManager, deviceControl, deviceInfo, deviceSettings, locationManager, - networkManager, restrictions, securityManager, systemManager, usbManager, wifiManager + EnterpriseAdminExtensionAbility, accountManager, adminManager, applicationManager, bluetoothManager, browser, + bundleManager, configPolicy, dateTimeManager, deviceControl, deviceInfo, deviceSettings, locationManager, + networkManager, restrictions, securityManager, systemManager, usbManager, wifiManager }; diff --git a/api/kit/MediaKit.d.ts b/api/kits/MediaKit.d.ts similarity index 100% rename from api/kit/MediaKit.d.ts rename to api/kits/MediaKit.d.ts diff --git a/api/kit/MediaLibraryKit.d.ts b/api/kits/MediaLibraryKit.d.ts similarity index 100% rename from api/kit/MediaLibraryKit.d.ts rename to api/kits/MediaLibraryKit.d.ts diff --git a/api/kit/MindSporeLiteKit.d.ts b/api/kits/MindSporeLiteKit.d.ts similarity index 100% rename from api/kit/MindSporeLiteKit.d.ts rename to api/kits/MindSporeLiteKit.d.ts diff --git a/api/kit/MultimodalAwarenessKit.d.ts b/api/kits/MultimodalAwarenessKit.d.ts similarity index 100% rename from api/kit/MultimodalAwarenessKit.d.ts rename to api/kits/MultimodalAwarenessKit.d.ts diff --git a/api/kit/NetworkKit.d.ts b/api/kits/NetworkKit.d.ts similarity index 79% rename from api/kit/NetworkKit.d.ts rename to api/kits/NetworkKit.d.ts index b3a2f42571..6d2c8109f2 100644 --- a/api/kit/NetworkKit.d.ts +++ b/api/kits/NetworkKit.d.ts @@ -23,10 +23,10 @@ import socket from '../@ohos.net.socket'; import statistics from '../@ohos.net.statistics'; import vpn from '../@ohos.net.vpn'; import webSocket from '../@ohos.net.webSocket'; -import Fetch, { FetchResponse } from '../@system.fetch'; -import Network, { NetworkResponse } from '../@system.network'; +import Fetch, { type FetchResponse } from '../@system.fetch'; +import Network, { type NetworkResponse } from '../@system.network'; export { - Fetch, FetchResponse, Network, NetworkResponse, connection, ethernet, http, mdns, policy, sharing, socket, - statistics, vpn, webSocket + Fetch, type FetchResponse, Network, type NetworkResponse, connection, ethernet, http, mdns, policy, sharing, + socket, statistics, vpn, webSocket }; diff --git a/api/kit/NotificationKit.d.ts b/api/kits/NotificationKit.d.ts similarity index 77% rename from api/kit/NotificationKit.d.ts rename to api/kits/NotificationKit.d.ts index d32a67a6fd..d0b308e578 100644 --- a/api/kit/NotificationKit.d.ts +++ b/api/kits/NotificationKit.d.ts @@ -21,10 +21,10 @@ import emitter from '../@ohos.events.emitter'; import notification from '../@ohos.notification'; import notificationManager from '../@ohos.notificationManager'; import notificationSubscribe from '../@ohos.notificationSubscribe'; -import Notification, { ActionResult, ShowNotificationOptions } from '../@system.notification'; +import Notification, { type ActionResult, type ShowNotificationOptions } from '../@system.notification'; export { - ActionResult, Notification, ShowNotificationOptions, StaticSubscriberExtensionAbility, - StaticSubscriberExtensionContext, commonEvent, commonEventManager, emitter, notification, notificationManager, - notificationSubscribe + type ActionResult, Notification, type ShowNotificationOptions, StaticSubscriberExtensionAbility, + StaticSubscriberExtensionContext, commonEvent, commonEventManager, emitter, notification, notificationManager, + notificationSubscribe }; diff --git a/api/kit/SafetyDetectKit.d.ts b/api/kits/SafetyDetectKit.d.ts similarity index 100% rename from api/kit/SafetyDetectKit.d.ts rename to api/kits/SafetyDetectKit.d.ts diff --git a/api/kit/SensorServiceKit.d.ts b/api/kits/SensorServiceKit.d.ts similarity index 38% rename from api/kit/SensorServiceKit.d.ts rename to api/kits/SensorServiceKit.d.ts index 1e8ba803b0..c15957fc3d 100644 --- a/api/kit/SensorServiceKit.d.ts +++ b/api/kits/SensorServiceKit.d.ts @@ -16,19 +16,21 @@ import sensor from '../@ohos.sensor'; import vibrator from '../@ohos.vibrator'; import Sensor, { - AccelerometerResponse, BarometerResponse, CompassResponse, DeviceOrientationResponse, - GetOnBodyStateOptions, GyroscopeResponse, HeartRateResponse, LightResponse, OnBodyStateResponse, ProximityResponse, - StepCounterResponse, SubscribeBarometerOptions, SubscribeCompassOptions, SubscribeDeviceOrientationOptions, - SubscribeGyroscopeOptions, SubscribeHeartRateOptions, SubscribeLightOptions, SubscribeOnBodyStateOptions, - SubscribeProximityOptions, SubscribeStepCounterOptions, subscribeAccelerometerOptions + type AccelerometerResponse, type BarometerResponse, type CompassResponse, type DeviceOrientationResponse, + type GetOnBodyStateOptions, type GyroscopeResponse, type HeartRateResponse, type LightResponse, + type OnBodyStateResponse, type ProximityResponse, type StepCounterResponse, type SubscribeBarometerOptions, + type SubscribeCompassOptions, type SubscribeDeviceOrientationOptions, type SubscribeGyroscopeOptions, + type SubscribeHeartRateOptions, type SubscribeLightOptions, type SubscribeOnBodyStateOptions, + type SubscribeProximityOptions, type SubscribeStepCounterOptions, type subscribeAccelerometerOptions } from '../@system.sensor'; import Vibrator, { VibrateOptions } from '../@system.vibrator'; export { - AccelerometerResponse, BarometerResponse, CompassResponse, DeviceOrientationResponse, GetOnBodyStateOptions, - GyroscopeResponse, HeartRateResponse, LightResponse, OnBodyStateResponse, ProximityResponse, Sensor, - StepCounterResponse, SubscribeBarometerOptions, SubscribeCompassOptions, SubscribeDeviceOrientationOptions, - SubscribeGyroscopeOptions, SubscribeHeartRateOptions, SubscribeLightOptions, SubscribeOnBodyStateOptions, - SubscribeProximityOptions, SubscribeStepCounterOptions, VibrateOptions, Vibrator, sensor, - subscribeAccelerometerOptions, vibrator + type AccelerometerResponse, type BarometerResponse, type CompassResponse, type DeviceOrientationResponse, + type GetOnBodyStateOptions, type GyroscopeResponse, type HeartRateResponse, type LightResponse, + type OnBodyStateResponse, type ProximityResponse, Sensor, type StepCounterResponse, type SubscribeBarometerOptions, + type SubscribeCompassOptions, type SubscribeDeviceOrientationOptions, type SubscribeGyroscopeOptions, + type SubscribeHeartRateOptions, type SubscribeLightOptions, type SubscribeOnBodyStateOptions, + type SubscribeProximityOptions, type SubscribeStepCounterOptions, VibrateOptions, Vibrator, sensor, + type subscribeAccelerometerOptions, vibrator }; diff --git a/api/kit/TelephonyKit.d.ts b/api/kits/TelephonyKit.d.ts similarity index 100% rename from api/kit/TelephonyKit.d.ts rename to api/kits/TelephonyKit.d.ts diff --git a/api/kit/TestKit.d.ts b/api/kits/TestKit.d.ts similarity index 58% rename from api/kit/TestKit.d.ts rename to api/kits/TestKit.d.ts index 61618b494f..fa66e074c8 100644 --- a/api/kit/TestKit.d.ts +++ b/api/kits/TestKit.d.ts @@ -14,14 +14,14 @@ */ import abilityDelegatorRegistry from '../@ohos.app.ability.abilityDelegatorRegistry'; -import TestRunner from '../@ohos.application.testRunner'; +import type TestRunner from '../@ohos.application.testRunner'; import { - BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection, - UIElementInfo, UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow, WindowMode + BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection, + type UIElementInfo, type UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow, WindowMode } from '../@ohos.UiTest'; export { - BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection, - TestRunner, UIElementInfo, UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow, WindowMode, - abilityDelegatorRegistry + BY, By, Component, DisplayRotation, Driver, MatchPattern, MouseButton, ON, On, PointerMatrix, ResizeDirection, + type TestRunner, type UIElementInfo, type UIEventObserver, UiComponent, UiDirection, UiDriver, UiWindow, + WindowMode, abilityDelegatorRegistry }; diff --git a/api/kit/UniversalKeystoreKit.d.ts b/api/kits/UniversalKeystoreKit.d.ts similarity index 100% rename from api/kit/UniversalKeystoreKit.d.ts rename to api/kits/UniversalKeystoreKit.d.ts -- Gitee