mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
整改jsdoc
Signed-off-by: ywx1057076 <yanpei12@huawei.com>
This commit is contained in:
parent
b4839a3c5e
commit
3730035a70
2
api/@internal/ets/lifecycle.d.ts
vendored
2
api/@internal/ets/lifecycle.d.ts
vendored
@ -25,7 +25,7 @@ import rdb from "../../@ohos.data.rdb";
|
||||
import rpc from "../../@ohos.rpc";
|
||||
import resourceManager from "../../@ohos.resourceManager";
|
||||
import { PacMap } from "../../ability/dataAbilityHelper";
|
||||
import { AsyncCallback } from "../../basic";
|
||||
import { AsyncCallback } from "../../@ohos.base";
|
||||
|
||||
/**
|
||||
* interface of form lifecycle.
|
||||
|
2
api/@ohos.InputMethodExtensionContext.d.ts
vendored
2
api/@ohos.InputMethodExtensionContext.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import ExtensionContext from './application/ExtensionContext';
|
||||
|
||||
/**
|
||||
|
4
api/@ohos.ability.featureAbility.d.ts
vendored
4
api/@ohos.ability.featureAbility.d.ts
vendored
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { Callback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { Callback } from './@ohos.base';
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import { StartAbilityParameter } from './ability/startAbilityParameter';
|
||||
import { AbilityResult } from './ability/abilityResult';
|
||||
|
2
api/@ohos.ability.particleAbility.d.ts
vendored
2
api/@ohos.ability.particleAbility.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { StartAbilityParameter } from './ability/startAbilityParameter';
|
||||
import { DataAbilityHelper } from './ability/dataAbilityHelper';
|
||||
import { NotificationRequest } from './notification/notificationRequest';
|
||||
|
2
api/@ohos.abilityAccessCtrl.d.ts
vendored
2
api/@ohos.abilityAccessCtrl.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import { Permissions } from './permissions';
|
||||
import { Context } from './application/Context';
|
||||
import { PermissionRequestResult } from './security/PermissionRequestResult';
|
||||
|
2
api/@ohos.accessibility.config.d.ts
vendored
2
api/@ohos.accessibility.config.d.ts
vendored
@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
import accessibility from './@ohos.accessibility';
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Configuration of the accessibility.
|
||||
|
4
api/@ohos.accessibility.d.ts
vendored
4
api/@ohos.accessibility.d.ts
vendored
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { Callback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Accessibility
|
||||
|
2
api/@ohos.account.appAccount.d.ts
vendored
2
api/@ohos.account.appAccount.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import rpc from './@ohos.rpc';
|
||||
|
||||
|
2
api/@ohos.account.distributedAccount.d.ts
vendored
2
api/@ohos.account.distributedAccount.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* This module provides the capability to manage distributed accounts.
|
||||
|
2
api/@ohos.account.osAccount.d.ts
vendored
2
api/@ohos.account.osAccount.d.ts
vendored
@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
import distributedAccount from './@ohos.account.distributedAccount';
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* This module provides the capability to manage os accounts.
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AsyncCallback} from "./basic";
|
||||
import {AsyncCallback} from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Window animation manager.
|
||||
|
2
api/@ohos.app.ability.abilityManager.d.ts
vendored
2
api/@ohos.app.ability.abilityManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { Configuration } from './@ohos.app.ability.Configuration';
|
||||
import { AbilityRunningInfo as _AbilityRunningInfo } from './application/AbilityRunningInfo';
|
||||
import { ExtensionRunningInfo as _ExtensionRunningInfo } from './application/ExtensionRunningInfo';
|
||||
|
2
api/@ohos.app.ability.appManager.d.ts
vendored
2
api/@ohos.app.ability.appManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import * as _ApplicationStateObserver from './application/ApplicationStateObserver';
|
||||
import * as _AbilityStateData from './application/AbilityStateData';
|
||||
import * as _AppStateData from './application/AppStateData';
|
||||
|
2
api/@ohos.app.ability.errorManager.d.ts
vendored
2
api/@ohos.app.ability.errorManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import * as _ErrorObserver from './application/ErrorObserver';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.app.ability.missionManager.d.ts
vendored
2
api/@ohos.app.ability.missionManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { MissionInfo as _MissionInfo } from './application/MissionInfo';
|
||||
import { MissionListener as _MissionListener } from './application/MissionListener';
|
||||
import { MissionSnapshot as _MissionSnapshot } from './application/MissionSnapshot';
|
||||
|
2
api/@ohos.app.ability.quickFixManager.d.ts
vendored
2
api/@ohos.app.ability.quickFixManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Interface of quickFixManager.
|
||||
|
2
api/@ohos.app.ability.wantAgent.d.ts
vendored
2
api/@ohos.app.ability.wantAgent.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback , Callback} from './basic';
|
||||
import { AsyncCallback , Callback} from './@ohos.base';
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import { WantAgentInfo as _WantAgentInfo } from './wantAgent/wantAgentInfo';
|
||||
import { TriggerInfo as _TriggerInfo } from './wantAgent/triggerInfo';
|
||||
|
2
api/@ohos.app.businessAbilityRouter.d.ts
vendored
2
api/@ohos.app.businessAbilityRouter.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { AsyncCallback } from './basic';
|
||||
import type { AsyncCallback } from './@ohos.base';
|
||||
import type * as _BusinessAbilityInfo from './bundleManager/BusinessAbilityInfo';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.app.form.formBindingData.d.ts
vendored
2
api/@ohos.app.form.formBindingData.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { BusinessError } from './basic';
|
||||
import { BusinessError } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Interface of formBindingData.
|
||||
|
4
api/@ohos.app.form.formHost.d.ts
vendored
4
api/@ohos.app.form.formHost.d.ts
vendored
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { Callback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import { Callback } from "./@ohos.base";
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import formInfo from './@ohos.app.form.formInfo';
|
||||
|
||||
|
2
api/@ohos.app.form.formProvider.d.ts
vendored
2
api/@ohos.app.form.formProvider.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import formBindingData from "./@ohos.app.form.formBindingData";
|
||||
import formInfo from "./@ohos.app.form.formInfo";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import ExtensionContext from "./application/ExtensionContext";
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import dataSharePredicates from './@ohos.data.dataSharePredicates';
|
||||
|
2
api/@ohos.application.abilityManager.d.ts
vendored
2
api/@ohos.application.abilityManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { Configuration } from './@ohos.application.Configuration';
|
||||
import { AbilityRunningInfo } from './application/AbilityRunningInfo';
|
||||
import { ExtensionRunningInfo } from './application/ExtensionRunningInfo';
|
||||
|
2
api/@ohos.application.appManager.d.ts
vendored
2
api/@ohos.application.appManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import ApplicationStateObserver from './application/ApplicationStateObserver';
|
||||
import AbilityStateData from './application/AbilityStateData';
|
||||
import AppStateData from './application/AppStateData';
|
||||
|
4
api/@ohos.application.formHost.d.ts
vendored
4
api/@ohos.application.formHost.d.ts
vendored
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { Callback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import { Callback } from "./@ohos.base";
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import formInfo from './@ohos.app.form.formInfo'
|
||||
|
||||
|
2
api/@ohos.application.formProvider.d.ts
vendored
2
api/@ohos.application.formProvider.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import formBindingData from "./@ohos.application.formBindingData";
|
||||
import formInfo from "./@ohos.app.form.formInfo";
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
|
2
api/@ohos.application.missionManager.d.ts
vendored
2
api/@ohos.application.missionManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { MissionInfo } from './application/MissionInfo';
|
||||
import { MissionListener } from './application/MissionListener';
|
||||
import { MissionSnapshot } from './application/MissionSnapshot';
|
||||
|
2
api/@ohos.arkui.componentSnapshot.d.ts
vendored
2
api/@ohos.arkui.componentSnapshot.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import image from './@ohos.multimedia.image'
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.backgroundTaskManager.d.ts
vendored
2
api/@ohos.backgroundTaskManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback , Callback} from './basic';
|
||||
import { AsyncCallback , Callback} from './@ohos.base';
|
||||
import { WantAgent } from "./@ohos.wantAgent";
|
||||
import Context from './application/BaseContext';
|
||||
|
||||
|
149
api/basic.d.ts → api/@ohos.base.d.ts
vendored
149
api/basic.d.ts → api/@ohos.base.d.ts
vendored
@ -1,68 +1,81 @@
|
||||
/*
|
||||
* Copyright (c) 2021 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Defines the basic callback.
|
||||
* @since 6
|
||||
*/
|
||||
export interface Callback<T> {
|
||||
/**
|
||||
* Defines the callback info.
|
||||
* @since 6
|
||||
*/
|
||||
(data: T): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the basic error callback.
|
||||
* @since 6
|
||||
*/
|
||||
export interface ErrorCallback<T extends Error = BusinessError> {
|
||||
/**
|
||||
* Defines the basic error callback.
|
||||
* @since 6
|
||||
*/
|
||||
(err: T): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the basic async callback.
|
||||
* @since 6
|
||||
*/
|
||||
export interface AsyncCallback<T, E = void> {
|
||||
/**
|
||||
* Defines the callback data.
|
||||
* @since 6
|
||||
*/
|
||||
(err: BusinessError<E>, data: T): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the error interface.
|
||||
* @since 6
|
||||
*/
|
||||
export interface BusinessError<T = void> extends Error {
|
||||
/**
|
||||
* Defines the basic error code.
|
||||
* @since 6
|
||||
*/
|
||||
code: number;
|
||||
/**
|
||||
* Defines the additional information for business
|
||||
* @type { ?T }
|
||||
* @since 9
|
||||
*/
|
||||
data?: T;
|
||||
}
|
||||
/*
|
||||
* Copyright (c) 2021 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Defines the basic callback.
|
||||
* @syscap SystemCapability.Base
|
||||
* @typedef Callback
|
||||
* @since 6
|
||||
*/
|
||||
export interface Callback<T> {
|
||||
/**
|
||||
* Defines the callback info.
|
||||
* @param { T } data
|
||||
* @since 6
|
||||
*/
|
||||
(data: T): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the basic error callback.
|
||||
* @syscap SystemCapability.Base
|
||||
* @typedef ErrorCallback
|
||||
* @since 6
|
||||
*/
|
||||
export interface ErrorCallback<T extends Error = BusinessError> {
|
||||
/**
|
||||
* Defines the basic error callback.
|
||||
* @param { T } err
|
||||
* @since 6
|
||||
*/
|
||||
(err: T): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the basic async callback.
|
||||
* @syscap SystemCapability.Base
|
||||
* @typedef AsyncCallback
|
||||
* @since 6
|
||||
*/
|
||||
export interface AsyncCallback<T, E = void> {
|
||||
/**
|
||||
* Defines the callback data.
|
||||
* @param { BusinessError<E> } err
|
||||
* @param { T } data
|
||||
* @since 6
|
||||
*/
|
||||
(err: BusinessError<E>, data: T): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the error interface.
|
||||
* @syscap SystemCapability.Base
|
||||
* @typedef BusinessError
|
||||
* @since 6
|
||||
*/
|
||||
export interface BusinessError<T = void> extends Error {
|
||||
/**
|
||||
* Defines the basic error code.
|
||||
* @type { number } code
|
||||
* @since 6
|
||||
*/
|
||||
code: number;
|
||||
/**
|
||||
* Defines the additional information for business
|
||||
* @type { ?T } data
|
||||
* @since 9
|
||||
*/
|
||||
data?: T;
|
||||
}
|
2
api/@ohos.batteryStatistics.d.ts
vendored
2
api/@ohos.batteryStatistics.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, BusinessError } from './basic';
|
||||
import { AsyncCallback, BusinessError } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides methods to get power consumption information.
|
||||
|
2
api/@ohos.bluetooth.d.ts
vendored
2
api/@ohos.bluetooth.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides methods to operate or manage Bluetooth.
|
||||
|
2
api/@ohos.bluetoothManager.d.ts
vendored
2
api/@ohos.bluetoothManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides methods to operate or manage Bluetooth.
|
||||
|
2
api/@ohos.brightness.d.ts
vendored
2
api/@ohos.brightness.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { BusinessError } from './basic';
|
||||
import { BusinessError } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides interfaces to control the power of display.
|
||||
|
2
api/@ohos.bundle.appControl.d.ts
vendored
2
api/@ohos.bundle.appControl.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.bundle.bundleManager.d.ts
vendored
2
api/@ohos.bundle.bundleManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { ApplicationInfo as _ApplicationInfo } from './bundleManager/ApplicationInfo';
|
||||
import { Metadata as _Metadata } from './bundleManager/Metadata';
|
||||
import { PermissionDef as _PermissionDef } from './bundleManager/PermissionDef';
|
||||
|
2
api/@ohos.bundle.bundleMonitor.d.ts
vendored
2
api/@ohos.bundle.bundleMonitor.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Callback } from './basic';
|
||||
import { Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Bundle monitor
|
||||
|
2
api/@ohos.bundle.d.ts
vendored
2
api/@ohos.bundle.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { ApplicationInfo } from './bundle/applicationInfo';
|
||||
import { AbilityInfo } from './bundle/abilityInfo';
|
||||
import { PermissionDef } from './bundle/PermissionDef';
|
||||
|
2
api/@ohos.bundle.defaultAppManager.d.ts
vendored
2
api/@ohos.bundle.defaultAppManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { BundleInfo } from './bundleManager/BundleInfo';
|
||||
import { ElementName } from './bundleManager/ElementName';
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { ElementName } from './bundleManager/ElementName';
|
||||
import { RemoteAbilityInfo as _RemoteAbilityInfo } from './bundleManager/RemoteAbilityInfo';
|
||||
|
||||
|
2
api/@ohos.bundle.freeInstall.d.ts
vendored
2
api/@ohos.bundle.freeInstall.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { DispatchInfo as _DispatchInfo } from './bundleManager/DispatchInfo';
|
||||
import * as _PackInfo from './bundleManager/BundlePackInfo';
|
||||
|
||||
|
2
api/@ohos.bundle.innerBundleManager.d.ts
vendored
2
api/@ohos.bundle.innerBundleManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { BundleStatusCallback } from './bundle/bundleStatusCallback';
|
||||
import { LauncherAbilityInfo } from './bundle/launcherAbilityInfo';
|
||||
import { ShortcutInfo } from './bundle/shortcutInfo';
|
||||
|
2
api/@ohos.bundle.installer.d.ts
vendored
2
api/@ohos.bundle.installer.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Support install, upgrade, remove and recover bundles on the devices.
|
||||
|
2
api/@ohos.bundle.launcherBundleManager.d.ts
vendored
2
api/@ohos.bundle.launcherBundleManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { LauncherAbilityInfo as _LauncherAbilityInfo } from './bundleManager/LauncherAbilityInfo';
|
||||
import { ShortcutInfo as _ShortcutInfo, ShortcutWant as _ShortcutWant } from './bundleManager/ShortcutInfo';
|
||||
|
||||
|
2
api/@ohos.bundle.overlay.d.ts
vendored
2
api/@ohos.bundle.overlay.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import * as _OverlayModuleInfo from './bundleManager/OverlayModuleInfo';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.bundleState.d.ts
vendored
2
api/@ohos.bundleState.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides methods for managing bundle usage statistics,
|
||||
|
2
api/@ohos.commonEvent.d.ts
vendored
2
api/@ohos.commonEvent.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { CommonEventData } from './commonEvent/commonEventData';
|
||||
import { CommonEventSubscriber } from './commonEvent/commonEventSubscriber';
|
||||
import { CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo';
|
||||
|
2
api/@ohos.commonEventManager.d.ts
vendored
2
api/@ohos.commonEventManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { CommonEventData } from './commonEvent/commonEventData';
|
||||
import { CommonEventSubscriber } from './commonEvent/commonEventSubscriber';
|
||||
import { CommonEventSubscribeInfo } from './commonEvent/commonEventSubscribeInfo';
|
||||
|
2
api/@ohos.configPolicy.d.ts
vendored
2
api/@ohos.configPolicy.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AsyncCallback} from "./basic";
|
||||
import {AsyncCallback} from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides file path related APIS.
|
||||
|
2
api/@ohos.connectedTag.d.ts
vendored
2
api/@ohos.connectedTag.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides methods to operate or manage Connected Tag.
|
||||
|
2
api/@ohos.contact.d.ts
vendored
2
api/@ohos.contact.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Contains variety of system contact, provides functions for adding, updating and deleting these system contact
|
||||
|
@ -12,8 +12,8 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { Callback } from './basic';
|
||||
import { AsyncCallback } from './basic';
|
||||
import { Callback } from './@ohos.base';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { ContinuationResult } from './continuation/continuationResult'
|
||||
import { ContinuationExtraParams } from './continuation/continuationExtraParams'
|
||||
|
||||
|
2
api/@ohos.data.dataAbility.d.ts
vendored
2
api/@ohos.data.dataAbility.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import rdb from './@ohos.data.rdb';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.data.dataShare.d.ts
vendored
2
api/@ohos.data.dataShare.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import Context from './application/Context';
|
||||
import DataShareResultSet from './@ohos.data.DataShareResultSet';
|
||||
import dataSharePredicates from './@ohos.data.dataSharePredicates';
|
||||
|
2
api/@ohos.data.distributedData.d.ts
vendored
2
api/@ohos.data.distributedData.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AsyncCallback, Callback} from './basic';
|
||||
import {AsyncCallback, Callback} from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Providers interfaces to creat a {@link KVManager} instance.
|
||||
|
2
api/@ohos.data.distributedDataObject.d.ts
vendored
2
api/@ohos.data.distributedDataObject.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import Context from './application/Context';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.data.distributedKVStore.d.ts
vendored
2
api/@ohos.data.distributedKVStore.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import { ValuesBucket } from './@ohos.data.ValuesBucket';
|
||||
import dataSharePredicates from './@ohos.data.dataSharePredicates';
|
||||
import BaseContext from './application/BaseContext';
|
||||
|
2
api/@ohos.data.preferences.d.ts
vendored
2
api/@ohos.data.preferences.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import Context from './application/BaseContext';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.data.rdb.d.ts
vendored
2
api/@ohos.data.rdb.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import { ResultSet as _ResultSet } from './data/rdb/resultSet';
|
||||
import Context from './application/BaseContext';
|
||||
|
||||
|
2
api/@ohos.data.relationalStore.d.ts
vendored
2
api/@ohos.data.relationalStore.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import Context from './application/BaseContext';
|
||||
import dataSharePredicates from './@ohos.data.dataSharePredicates';
|
||||
|
||||
|
2
api/@ohos.data.storage.d.ts
vendored
2
api/@ohos.data.storage.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides interfaces to obtain and modify storage data.
|
||||
|
2
api/@ohos.deviceAttest.d.ts
vendored
2
api/@ohos.deviceAttest.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* xts_device_attest authResult information
|
||||
|
2
api/@ohos.display.d.ts
vendored
2
api/@ohos.display.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { AsyncCallback, Callback } from './basic';
|
||||
import type { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Interface of display manager.
|
||||
|
2
api/@ohos.distributedBundle.d.ts
vendored
2
api/@ohos.distributedBundle.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { ElementName } from './bundle/elementName';
|
||||
import { RemoteAbilityInfo } from './bundle/remoteAbilityInfo';
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Providers interfaces to create a {@link deviceManager} instances.
|
||||
|
2
api/@ohos.distributedMissionManager.d.ts
vendored
2
api/@ohos.distributedMissionManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import { ContinueCallback } from './application/ContinueCallback';
|
||||
import { ContinueDeviceInfo } from './application/ContinueDeviceInfo';
|
||||
import { MissionCallback } from './application/MissionCallbacks';
|
||||
|
2
api/@ohos.document.d.ts
vendored
2
api/@ohos.document.d.ts
vendored
@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { AsyncCallback } from './basic'
|
||||
import { AsyncCallback } from './@ohos.base'
|
||||
|
||||
export default document;
|
||||
|
||||
|
2
api/@ohos.effectKit.d.ts
vendored
2
api/@ohos.effectKit.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import image from './@ohos.multimedia.image';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.accountManager.d.ts
vendored
2
api/@ohos.enterprise.accountManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.adminManager.d.ts
vendored
2
api/@ohos.enterprise.adminManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from "./basic";
|
||||
import { AsyncCallback, Callback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.bundleManager.d.ts
vendored
2
api/@ohos.enterprise.bundleManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import type Want from './@ohos.app.ability.Want';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.dateTimeManager.d.ts
vendored
2
api/@ohos.enterprise.dateTimeManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.deviceControl.d.ts
vendored
2
api/@ohos.enterprise.deviceControl.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from "./basic";
|
||||
import { AsyncCallback, Callback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.deviceInfo.d.ts
vendored
2
api/@ohos.enterprise.deviceInfo.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.networkManager.d.ts
vendored
2
api/@ohos.enterprise.networkManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.enterprise.wifiManager.d.ts
vendored
2
api/@ohos.enterprise.wifiManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
import Want from "./@ohos.app.ability.Want";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.events.emitter.d.ts
vendored
2
api/@ohos.events.emitter.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Callback } from './basic';
|
||||
import { Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides methods for sending and processing in-process events.
|
||||
|
2
api/@ohos.faultLogger.d.ts
vendored
2
api/@ohos.faultLogger.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { AsyncCallback } from './basic';
|
||||
import type { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* This module provides the capability to query faultlog data.
|
||||
|
2
api/@ohos.file.backup.d.ts
vendored
2
api/@ohos.file.backup.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { AsyncCallback, Callback } from './basic';
|
||||
import type { AsyncCallback, Callback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Module providing backup and restore capabilities.
|
||||
|
2
api/@ohos.file.cloudSyncManager.d.ts
vendored
2
api/@ohos.file.cloudSyncManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { AsyncCallback } from './basic';
|
||||
import type { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* This module provides the capabilities to manage the state and data of cloud file synchronization.
|
||||
|
2
api/@ohos.file.environment.d.ts
vendored
2
api/@ohos.file.environment.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides Environment APIs.
|
||||
|
2
api/@ohos.file.fileAccess.d.ts
vendored
2
api/@ohos.file.fileAccess.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from "./basic";
|
||||
import { AsyncCallback, Callback } from "./@ohos.base";
|
||||
import Want from './@ohos.app.ability.Want';
|
||||
import Context from './application/Context';
|
||||
import { Filter } from './@ohos.file.fs';
|
||||
|
2
api/@ohos.file.fs.d.ts
vendored
2
api/@ohos.file.fs.d.ts
vendored
@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { AsyncCallback } from './basic'
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
export default fileIo;
|
||||
|
||||
|
2
api/@ohos.file.hash.d.ts
vendored
2
api/@ohos.file.hash.d.ts
vendored
@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { AsyncCallback } from './basic'
|
||||
import { AsyncCallback } from './@ohos.base'
|
||||
|
||||
/**
|
||||
* Hash
|
||||
|
2
api/@ohos.file.picker.d.ts
vendored
2
api/@ohos.file.picker.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from "./basic";
|
||||
import { AsyncCallback, Callback } from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* This module provides the capabilities to use different pickers.
|
||||
|
2
api/@ohos.file.securityLabel.d.ts
vendored
2
api/@ohos.file.securityLabel.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides securityLabel APIs
|
||||
|
2
api/@ohos.file.statvfs.d.ts
vendored
2
api/@ohos.file.statvfs.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from "./basic";
|
||||
import { AsyncCallback } from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides filesystem statistics APIs
|
||||
|
2
api/@ohos.file.storageStatistics.d.ts
vendored
2
api/@ohos.file.storageStatistics.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AsyncCallback, Callback} from "./basic";
|
||||
import {AsyncCallback, Callback} from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides filesystem statistics APIs
|
||||
|
2
api/@ohos.file.volumeManager.d.ts
vendored
2
api/@ohos.file.volumeManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AsyncCallback, Callback} from "./basic";
|
||||
import {AsyncCallback, Callback} from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides volumemanager statistics APIs
|
||||
|
2
api/@ohos.fileio.d.ts
vendored
2
api/@ohos.fileio.d.ts
vendored
@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { AsyncCallback } from './basic'
|
||||
import { AsyncCallback } from './@ohos.base'
|
||||
|
||||
export default fileIO;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import Context from './application/Context';
|
||||
import image from './@ohos.multimedia.image';
|
||||
import dataSharePredicates from './@ohos.data.dataSharePredicates';
|
||||
|
2
api/@ohos.fileshare.d.ts
vendored
2
api/@ohos.fileshare.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AsyncCallback, Callback} from "./basic";
|
||||
import {AsyncCallback, Callback} from "./@ohos.base";
|
||||
import wantConstant from "./@ohos.ability.wantConstant";
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.geoLocationManager.d.ts
vendored
2
api/@ohos.geoLocationManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import { WantAgent } from './@ohos.wantAgent';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.geolocation.d.ts
vendored
2
api/@ohos.geolocation.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback, Callback } from './basic';
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import { WantAgent } from './@ohos.wantAgent';
|
||||
|
||||
/**
|
||||
|
2
api/@ohos.graphics.colorSpaceManager.d.ts
vendored
2
api/@ohos.graphics.colorSpaceManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* colorSpaceManager
|
||||
|
2
api/@ohos.hiAppEvent.d.ts
vendored
2
api/@ohos.hiAppEvent.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides the event logging function for applications to log the fault, statistical, security,
|
||||
|
2
api/@ohos.hiSysEvent.d.ts
vendored
2
api/@ohos.hiSysEvent.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides the system event logging function for applications to log the fault, statistical, security,
|
||||
|
2
api/@ohos.hiviewdfx.hiAppEvent.d.ts
vendored
2
api/@ohos.hiviewdfx.hiAppEvent.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* Provides the event logging function for applications to log the fault, statistical, security,
|
||||
|
2
api/@ohos.i18n.d.ts
vendored
2
api/@ohos.i18n.d.ts
vendored
@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {BusinessError} from "./basic";
|
||||
import {BusinessError} from "./@ohos.base";
|
||||
|
||||
/**
|
||||
* Provides international settings related APIs.
|
||||
|
2
api/@ohos.inputMethod.d.ts
vendored
2
api/@ohos.inputMethod.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './basic';
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import InputMethodSubtype from './@ohos.InputMethodSubtype';
|
||||
import { Movement, Range } from './imf/InputMethodCommon';
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user