From 32ac9e1ae10b5ddc00fb7b7c83ed5e008ed20d65 Mon Sep 17 00:00:00 2001 From: m00512953 Date: Mon, 5 Sep 2022 15:40:31 +0800 Subject: [PATCH 01/15] mingxihua@huawei.com.cn Signed-off-by: m00512953 --- api/ability/want.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/ability/want.d.ts b/api/ability/want.d.ts index 51e6579928..8adb010d78 100644 --- a/api/ability/want.d.ts +++ b/api/ability/want.d.ts @@ -20,6 +20,7 @@ * @syscap SystemCapability.Ability.AbilityBase * @permission N/A * @deprecated since 9 + * @useinstead ohos.application.Want.d.ts */ export declare interface Want { /** -- Gitee From 07a16dbaf2ccf44b8805b394f3dc74196770884a Mon Sep 17 00:00:00 2001 From: m00512953 Date: Mon, 5 Sep 2022 15:44:28 +0800 Subject: [PATCH 02/15] mingxihua@huawei.com.cn Signed-off-by: m00512953 --- api/ability/want.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/ability/want.d.ts b/api/ability/want.d.ts index 8adb010d78..dffea8ddf4 100644 --- a/api/ability/want.d.ts +++ b/api/ability/want.d.ts @@ -20,7 +20,7 @@ * @syscap SystemCapability.Ability.AbilityBase * @permission N/A * @deprecated since 9 - * @useinstead ohos.application.Want.d.ts + * @useinstead ohos.application.Want */ export declare interface Want { /** -- Gitee From 6b87af1260b8b7d2163b35e033f2450fc590b0a8 Mon Sep 17 00:00:00 2001 From: xiongwei Date: Thu, 8 Sep 2022 16:34:12 +0800 Subject: [PATCH 03/15] Add dependencies corresponding to effectkit Signed-off-by: xiongwei --- api/@ohos.effectKit.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/@ohos.effectKit.d.ts b/api/@ohos.effectKit.d.ts index 3164c81f25..78ffb0c148 100644 --- a/api/@ohos.effectKit.d.ts +++ b/api/@ohos.effectKit.d.ts @@ -13,6 +13,9 @@ * limitations under the License. */ +import { AsyncCallback } from './basic'; +import image from './@ohos.multimedia.image'; + /** * @name effectKit * @since 9 -- Gitee From e108a925cd6d1f03ae6949caaaa6b881b8ed2d15 Mon Sep 17 00:00:00 2001 From: m00512953 Date: Fri, 9 Sep 2022 09:46:08 +0800 Subject: [PATCH 04/15] mingxihua@huawei.com.cn Signed-off-by: m00512953 --- api/@internal/ets/lifecycle.d.ts | 2 +- api/@ohos.ability.featureAbility.d.ts | 2 +- api/@ohos.ability.particleAbility.d.ts | 2 +- api/@ohos.bundle.d.ts | 2 +- api/@ohos.enterpriseDeviceManager.d.ts | 2 +- api/@ohos.pasteboard.d.ts | 2 +- api/@ohos.pluginComponent.d.ts | 2 +- api/@ohos.wantAgent.d.ts | 2 +- api/enterpriseDeviceManager/DeviceSettingsManager.d.ts | 2 +- api/wantAgent/triggerInfo.d.ts | 2 +- api/wantAgent/wantAgentInfo.d.ts | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/@internal/ets/lifecycle.d.ts b/api/@internal/ets/lifecycle.d.ts index b0f9efcbb5..88a0bce3ec 100644 --- a/api/@internal/ets/lifecycle.d.ts +++ b/api/@internal/ets/lifecycle.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import Want from "../../@ohos.application.want"; +import Want from "../../@ohos.application.Want"; import ResultSet from "../../data/rdb/resultSet"; import { AbilityInfo } from "../../bundle/abilityInfo"; import { DataAbilityResult } from "../../ability/dataAbilityResult"; diff --git a/api/@ohos.ability.featureAbility.d.ts b/api/@ohos.ability.featureAbility.d.ts index f2e673e613..944d6d321b 100644 --- a/api/@ohos.ability.featureAbility.d.ts +++ b/api/@ohos.ability.featureAbility.d.ts @@ -15,7 +15,7 @@ import { AsyncCallback } from './basic'; import { Callback } from './basic'; -import Want from './@ohos.application.want'; +import Want from './@ohos.application.Want'; import { StartAbilityParameter } from './ability/startAbilityParameter'; import { AbilityResult } from './ability/abilityResult'; import { AppVersionInfo as _AppVersionInfo } from './app/appVersionInfo'; diff --git a/api/@ohos.ability.particleAbility.d.ts b/api/@ohos.ability.particleAbility.d.ts index d282b6d82c..04321ffcd7 100644 --- a/api/@ohos.ability.particleAbility.d.ts +++ b/api/@ohos.ability.particleAbility.d.ts @@ -18,7 +18,7 @@ import { StartAbilityParameter } from './ability/startAbilityParameter'; import { DataAbilityHelper } from './ability/dataAbilityHelper'; import { NotificationRequest } from './notification/notificationRequest'; import { ConnectOptions } from './ability/connectOptions'; -import Want from './@ohos.application.want'; +import Want from './@ohos.application.Want'; /** * A Particle Ability represents an ability with service. diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index 9d2bfd75d3..468be9fb97 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -24,7 +24,7 @@ import { ExtensionAbilityInfo as _ExtensionAbilityInfo } from './bundle/extensio import { PermissionDef as _PermissionDef } from './bundle/PermissionDef'; import { ElementName as _ElementName } from './bundle/elementName'; import { DispatchInfo as _DispatchInfo } from './bundle/dispatchInfo'; -import Want from './@ohos.application.want'; +import Want from './@ohos.application.Want'; import image from './@ohos.multimedia.image'; import pack from './bundle/packInfo'; import * as _PackInfo from './bundle/packInfo'; diff --git a/api/@ohos.enterpriseDeviceManager.d.ts b/api/@ohos.enterpriseDeviceManager.d.ts index 03fb19c900..273c97f117 100644 --- a/api/@ohos.enterpriseDeviceManager.d.ts +++ b/api/@ohos.enterpriseDeviceManager.d.ts @@ -15,7 +15,7 @@ import { AsyncCallback, Callback } from "./basic"; import { DeviceSettingsManager as _DeviceSettingsManager } from "./enterpriseDeviceManager/DeviceSettingsManager"; -import Want from "./@ohos.application.want"; +import Want from "./@ohos.application.Want"; /** * enterprise device manager. diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts index cf7e702fcd..6ef00195f9 100644 --- a/api/@ohos.pasteboard.d.ts +++ b/api/@ohos.pasteboard.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ import { AsyncCallback } from './basic'; -import Want from './@ohos.application.want'; +import Want from './@ohos.application.Want'; import { image } from './@ohos.multimedia.image'; /** diff --git a/api/@ohos.pluginComponent.d.ts b/api/@ohos.pluginComponent.d.ts index f264256223..834ca7614c 100644 --- a/api/@ohos.pluginComponent.d.ts +++ b/api/@ohos.pluginComponent.d.ts @@ -14,7 +14,7 @@ */ import { AsyncCallback } from './basic'; -import Want from './@ohos.application.want'; +import Want from './@ohos.application.Want'; /** * Plugin component template property. diff --git a/api/@ohos.wantAgent.d.ts b/api/@ohos.wantAgent.d.ts index 27e0b6bfe4..48a996a481 100644 --- a/api/@ohos.wantAgent.d.ts +++ b/api/@ohos.wantAgent.d.ts @@ -14,7 +14,7 @@ */ import { AsyncCallback , Callback} from './basic'; -import Want from './@ohos.application.want'; +import Want from './@ohos.application.Want'; import { WantAgentInfo as _WantAgentInfo } from './wantAgent/wantAgentInfo'; import { TriggerInfo as _TriggerInfo } from './wantAgent/triggerInfo'; diff --git a/api/enterpriseDeviceManager/DeviceSettingsManager.d.ts b/api/enterpriseDeviceManager/DeviceSettingsManager.d.ts index d670189b39..c29c0dda15 100644 --- a/api/enterpriseDeviceManager/DeviceSettingsManager.d.ts +++ b/api/enterpriseDeviceManager/DeviceSettingsManager.d.ts @@ -14,7 +14,7 @@ */ import { AsyncCallback, Callback } from "./../basic"; -import Want from "./../@ohos.application.want"; +import Want from "./../@ohos.application.Want"; /** * @name Offers set settings policies on the devices. diff --git a/api/wantAgent/triggerInfo.d.ts b/api/wantAgent/triggerInfo.d.ts index 20e1d1b009..8da1a95877 100644 --- a/api/wantAgent/triggerInfo.d.ts +++ b/api/wantAgent/triggerInfo.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import Want from '../@ohos.application.want'; +import Want from '../@ohos.application.Want'; /** * Provides the information required for triggering a WantAgent. diff --git a/api/wantAgent/wantAgentInfo.d.ts b/api/wantAgent/wantAgentInfo.d.ts index 52cc3383bd..7f06e33be5 100644 --- a/api/wantAgent/wantAgentInfo.d.ts +++ b/api/wantAgent/wantAgentInfo.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import Want from '../@ohos.application.want'; +import Want from '../@ohos.application.Want'; import wantAgent from '../@ohos.wantAgent' /** -- Gitee From 30eb01ef73c2c94594532d4d3a349e19e8ac67bf Mon Sep 17 00:00:00 2001 From: zhangb Date: Sun, 11 Sep 2022 13:57:36 +0000 Subject: [PATCH 05/15] update api/@internal/component/ets/web.d.ts. Signed-off-by: @i-am-a-little-bird Signed-off-by: zhangb --- api/@internal/component/ets/web.d.ts | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index e415e528a9..2beb34d8b9 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -489,6 +489,36 @@ declare class HttpAuthHandler { handleCancel(): void; } +/** + * Defines the client certificate request result, related to {@link onClientAuthenticationRequest} method. + * @since 9 + */ + declare class ClientAuthenticationHandler { + /** + * Constructor. + * @since 9 + */ + constructor(); + + /** + * Confirm to use the specified private key and client certificate chain. + * @since 9 + */ + Confirm(priKeyFile : string, certChainFile : string): void; + + /** + * Cancel this certificate request. + * @since 9 + */ + Cancel(): void; + + /** + * Ignore this certificate request temporarily + * @since 9 + */ + Ignore(): void; +} + /** * Defines the accessible resource type, related to {@link onPermissionRequest} method. * @since 9 @@ -1260,6 +1290,12 @@ declare class WebCookie { * @since 9 */ clearSslCache(): void; + + /** + * Clears the client authentication certificate cache in the Web. + * @since 9 + */ + clearClientAuthenticationCache(): void; } /** @@ -1733,6 +1769,15 @@ declare class WebAttribute extends CommonMethod { * @since 9 */ onSslErrorEventReceive(callback: (event: { handler: SslErrorHandler, error: SslError }) => void): WebAttribute; + + /** + * Triggered when the Web page needs ssl client certificate from the user. + * @param callback The triggered callback when needs ssl client certificate from the user. + * + * @since 9 + */ + onClientAuthenticationRequest(callback: (event: {handler : ClientAuthenticationHandler, host : string, port : number, + keyTypes : Array, issuers : Array}) => void): WebAttribute; } declare const Web: WebInterface; -- Gitee From 35099a672050071db6de9159e5fc23b71e660c26 Mon Sep 17 00:00:00 2001 From: zhangb Date: Mon, 12 Sep 2022 09:26:32 +0000 Subject: [PATCH 06/15] update api/@internal/component/ets/web.d.ts. Signed-off-by: @i-am-a-little-bird Signed-off-by: zhangb --- api/@internal/component/ets/web.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 2beb34d8b9..91ea5cf5df 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -513,7 +513,7 @@ declare class HttpAuthHandler { Cancel(): void; /** - * Ignore this certificate request temporarily + * Ignore this certificate request temporarily. * @since 9 */ Ignore(): void; -- Gitee From fa0363cfcf39cbf175788fdcdd78d7c8d8aff747 Mon Sep 17 00:00:00 2001 From: zhangb Date: Tue, 13 Sep 2022 02:38:19 +0000 Subject: [PATCH 07/15] update api/@internal/component/ets/web.d.ts. Signed-off-by: @i-am-a-little-bird Signed-off-by: zhangb --- api/@internal/component/ets/web.d.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 91ea5cf5df..efda3c5212 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -502,21 +502,24 @@ declare class HttpAuthHandler { /** * Confirm to use the specified private key and client certificate chain. + * @param priKeyFile The file that store private key. + * @param certChainFile The file that store client certificate chain. + * * @since 9 */ - Confirm(priKeyFile : string, certChainFile : string): void; + Confirm(priKeyFile : string, certChainFile : string): void; /** * Cancel this certificate request. * @since 9 */ - Cancel(): void; + Cancel(): void; /** * Ignore this certificate request temporarily. * @since 9 */ - Ignore(): void; + Ignore(): void; } /** -- Gitee From 6c31eb4706c35c27582b7aa541fb83c714579104 Mon Sep 17 00:00:00 2001 From: zhangb Date: Tue, 13 Sep 2022 02:40:50 +0000 Subject: [PATCH 08/15] update api/@internal/component/ets/web.d.ts. Signed-off-by: @i-am-a-little-bird Signed-off-by: zhangb --- api/@internal/component/ets/web.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index efda3c5212..dcd2c01ac8 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -507,19 +507,19 @@ declare class HttpAuthHandler { * * @since 9 */ - Confirm(priKeyFile : string, certChainFile : string): void; + confirm(priKeyFile : string, certChainFile : string): void; /** * Cancel this certificate request. * @since 9 */ - Cancel(): void; + cancel(): void; /** * Ignore this certificate request temporarily. * @since 9 */ - Ignore(): void; + ignore(): void; } /** -- Gitee From 576516e81de0e9d61f4f3f24be05b50770b86c30 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 14 Sep 2022 09:50:30 +0800 Subject: [PATCH 09/15] add user Signed-off-by: unknown --- api/@ohos.ability.wantConstant.d.ts | 44 ++++++++++++++++++- api/@ohos.application.appManager.d.ts | 31 +++++++++++++ api/application/ApplicationStateObserver.d.ts | 13 +++++- api/application/ProcessData.d.ts | 29 +++++++++++- 4 files changed, 113 insertions(+), 4 deletions(-) diff --git a/api/@ohos.ability.wantConstant.d.ts b/api/@ohos.ability.wantConstant.d.ts index 5a858dbad2..fabd47f44d 100644 --- a/api/@ohos.ability.wantConstant.d.ts +++ b/api/@ohos.ability.wantConstant.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -230,7 +230,47 @@ declare namespace wantConstant { * @since 9 * @systemapi Hide this for inner system use. */ - ACTION_MARKET_CROWDTEST = "ohos.want.action.marketCrowdTest" + ACTION_MARKET_CROWDTEST = "ohos.want.action.marketCrowdTest", + + /** + * Indicates the param of sandbox flag. + * + * @since 9 + * @systemapi Hide this for inner system use. + */ + DLP_PARAMS_SANDBOX = "ohos.dlp.params.sandbox", + + /** + * Indicates the param of dlp bundle name. + * + * @since 9 + * @systemapi Hide this for inner system use. + */ + DLP_PARAMS_BUNDLE_NAME = "ohos.dlp.params.bundleName", + + /** + * Indicates the param of dlp module name. + * + * @since 9 + * @systemapi Hide this for inner system use. + */ + DLP_PARAMS_MODULE_NAME = "ohos.dlp.params.moduleName", + + /** + * Indicates the param of dlp ability name. + * + * @since 9 + * @systemapi Hide this for inner system use. + */ + DLP_PARAMS_ABILITY_NAME = "ohos.dlp.params.abilityName", + + /** + * Indicates the param of dlp bundle index. + * + * @since 9 + * @systemapi Hide this for inner system use. + */ + DLP_PARAMS_INDEX = "ohos.dlp.params.index" } /** diff --git a/api/@ohos.application.appManager.d.ts b/api/@ohos.application.appManager.d.ts index 8cc1d9a98c..834a8ef58d 100644 --- a/api/@ohos.application.appManager.d.ts +++ b/api/@ohos.application.appManager.d.ts @@ -29,6 +29,37 @@ import { ProcessRunningInformation as _ProcessRunningInformation } from './appli * @permission N/A */ declare namespace appManager { + /** + * @name ApplicationState + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi Hide this for inner system use. + * @permission N/A + */ + export enum ApplicationState { + STATE_CREATE, + STATE_FOREGROUND, + STATE_ACTIVE, + STATE_BACKGROUND, + STATE_DESTROY + } + + + /** + * @name ProcessState + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi Hide this for inner system use. + * @permission N/A + */ + export enum ProcessState { + STATE_CREATE, + STATE_FOREGROUND, + STATE_ACTIVE, + STATE_BACKGROUND, + STATE_DESTROY + } + /** * Register application state observer. * diff --git a/api/application/ApplicationStateObserver.d.ts b/api/application/ApplicationStateObserver.d.ts index 320238f2ca..fc5e62e55f 100644 --- a/api/application/ApplicationStateObserver.d.ts +++ b/api/application/ApplicationStateObserver.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -69,6 +69,17 @@ export default class ApplicationStateObserver { * @return - */ onProcessDied(processData: ProcessData): void; + + /** + * Called when process state changes. + * + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @param processData Process info. + * @systemapi hide for inner use. + * @return - + */ + onProcessStateChanged(processData: ProcessData): void; } /** diff --git a/api/application/ProcessData.d.ts b/api/application/ProcessData.d.ts index e96fe473ae..9244839db5 100644 --- a/api/application/ProcessData.d.ts +++ b/api/application/ProcessData.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 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 @@ -48,4 +48,31 @@ export default class ProcessData { * @systemapi hide for inner use. */ uid: number; + + /** + * The process state. + * + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide for inner use. + */ + state: number; + + /** + * Whether the process is continuous task. + * + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide for inner use. + */ + isContinuousTask: boolean; + + /** + * Whether the process is keep alive. + * + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide for inner use. + */ + isKeepAlive: boolean; } \ No newline at end of file -- Gitee From 28f1281423ecab2343cc08f85127705fd9307413 Mon Sep 17 00:00:00 2001 From: liyufan Date: Sat, 17 Sep 2022 17:10:40 +0800 Subject: [PATCH 10/15] add Beta3 Signed-off-by: liyufan --- api/@ohos.net.connection.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index ad31470548..8fdc697962 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -47,6 +47,18 @@ declare namespace connection { function getDefaultNet(callback: AsyncCallback): void; function getDefaultNet(): Promise; + /** + * Obtains the data network that is activated by default. + * + *

To call this method, you must have the {@code ohos.permission.GET_NETWORK_INFO} permission. + * + * @return Returns the {@link NetHandle} object; + * returns {@code null} if the default network is not activated. + * @permission ohos.permission.GET_NETWORK_INFO + * @since 9 + */ + function getDefaultNetSync(): NetHandle; + /** * Obtains the list of data networks that are activated. * -- Gitee From e4ed4872e175306c6c5eeebcabea9d50359a53eb Mon Sep 17 00:00:00 2001 From: dingxiaochen Date: Mon, 19 Sep 2022 10:47:42 +0800 Subject: [PATCH 11/15] add sync js api Signed-off-by: dingxiaochen --- api/@ohos.telephony.data.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/@ohos.telephony.data.d.ts b/api/@ohos.telephony.data.d.ts index a82b90e3dd..1ca3ce823f 100644 --- a/api/@ohos.telephony.data.d.ts +++ b/api/@ohos.telephony.data.d.ts @@ -31,6 +31,17 @@ declare namespace data { function getDefaultCellularDataSlotId(callback: AsyncCallback): void; function getDefaultCellularDataSlotId(): Promise; + /** + * Checks whether cellular data services are enabled. + * + *

Requires Permission: {@code ohos.permission.GET_NETWORK_INFO}. + * + * @return Returns default cellular data slot id. + * @permission ohos.permission.GET_NETWORK_INFO + * @since 9 + */ + function getDefaultCellularDataSlotIdSync(): number; + /** * Switches cellular data services to another card, without changing the default settings. * -- Gitee From 97e0d6b56c5274f5f8b69c8f4472e0bbc9685665 Mon Sep 17 00:00:00 2001 From: HuangXW Date: Mon, 19 Sep 2022 14:15:30 +0800 Subject: [PATCH 12/15] =?UTF-8?q?fixed=200dd1d89=20from=20https://gitee.co?= =?UTF-8?q?m/H-xinwei/interface=5Fsdk-js/pulls/2746=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=9A=84=E4=BE=9D=E8=B5=96=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I73629e9fa05fd2c436238c246a566b61879dfff4 Signed-off-by: HuangXW --- api/application/AbilityContext.d.ts | 2 +- api/application/MissionSnapshot.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/application/AbilityContext.d.ts b/api/application/AbilityContext.d.ts index 4febfbf618..2cce1451ee 100755 --- a/api/application/AbilityContext.d.ts +++ b/api/application/AbilityContext.d.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -/// +/// import { AbilityInfo } from "../bundle/abilityInfo"; import { AbilityResult } from "../ability/abilityResult"; diff --git a/api/application/MissionSnapshot.d.ts b/api/application/MissionSnapshot.d.ts index 3fa0dd0587..eec0f49c6b 100644 --- a/api/application/MissionSnapshot.d.ts +++ b/api/application/MissionSnapshot.d.ts @@ -14,7 +14,7 @@ */ import { ElementName } from '../bundle/elementName'; -import { image } from '../@ohos.multimedia.image'; +import image from '../@ohos.multimedia.image'; /** * Mission snapshot corresponding to mission. -- Gitee From b5ab529f71174ce5462ac6d3172c18333acd2ea9 Mon Sep 17 00:00:00 2001 From: HuangXW Date: Tue, 20 Sep 2022 15:06:04 +0800 Subject: [PATCH 13/15] fixed 4ba6c61 from https://gitee.com/H-xinwei/interface_sdk-js/pulls/2746 formProvider Change-Id: Ib98f9d302ee5d660ee7f59243f0b731d221d29c7 Signed-off-by: HuangXW --- api/@ohos.application.formProvider.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.application.formProvider.d.ts b/api/@ohos.application.formProvider.d.ts index 049443064b..8cf49dc98a 100644 --- a/api/@ohos.application.formProvider.d.ts +++ b/api/@ohos.application.formProvider.d.ts @@ -16,6 +16,7 @@ import { AsyncCallback } from "./basic"; import formBindingData from "./@ohos.application.formBindingData"; import formInfo from "./@ohos.application.formInfo"; +import Want from './@ohos.application.Want'; /** * interface of formProvider. -- Gitee From f1c00dd5e4070e88b62866d2a70f783ad84c2a67 Mon Sep 17 00:00:00 2001 From: zhuhongtao666 Date: Tue, 20 Sep 2022 16:30:47 +0800 Subject: [PATCH 14/15] fileio&fileaccess_add_systemapi Signed-off-by: zhuhongtao666 --- api/@ohos.fileExtensionInfo.d.ts | 4 ++++ api/@ohos.fileio.d.ts | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/api/@ohos.fileExtensionInfo.d.ts b/api/@ohos.fileExtensionInfo.d.ts index 877d5c4c2e..d016f74bc5 100644 --- a/api/@ohos.fileExtensionInfo.d.ts +++ b/api/@ohos.fileExtensionInfo.d.ts @@ -18,12 +18,14 @@ * * @since 9 * @syscap SystemCapability.FileManagement.UserFileService + * @systemapi */ declare namespace fileExtensionInfo { /** * DeviceType Indicates the type of device connected to the fileaccess server. * @since 9 * @syscap SystemCapability.FileManagement.UserFileService + * @systemapi * @StageModelOnly */ enum DeviceType { @@ -40,6 +42,7 @@ declare namespace fileExtensionInfo { * Indicates the supported capabilities of the device. * @since 9 * @syscap SystemCapability.FileManagement.UserFileService + * @systemapi * @StageModelOnly */ namespace DeviceFlag { @@ -51,6 +54,7 @@ declare namespace fileExtensionInfo { * Indicate the supported capabilities of the file or directory. * @since 9 * @syscap SystemCapability.FileManagement.UserFileService + * @systemapi * @StageModelOnly */ namespace DocumentFlag { diff --git a/api/@ohos.fileio.d.ts b/api/@ohos.fileio.d.ts index 46e416e005..e13dae4b53 100644 --- a/api/@ohos.fileio.d.ts +++ b/api/@ohos.fileio.d.ts @@ -1160,6 +1160,7 @@ declare interface Filter { /** * @type {Array} * @syscap SystemCapability.FileManagement.File.FileIO + * @systemapi * @since 9 * @readonly */ @@ -1167,6 +1168,7 @@ declare interface Filter { /** * @type {Array} * @syscap SystemCapability.FileManagement.File.FileIO + * @systemapi * @since 9 * @readonly */ @@ -1174,6 +1176,7 @@ declare interface Filter { /** * @type {Array} * @syscap SystemCapability.FileManagement.File.FileIO + * @systemapi * @since 9 * @readonly */ @@ -1181,6 +1184,7 @@ declare interface Filter { /** * @type {number} * @syscap SystemCapability.FileManagement.File.FileIO + * @systemapi * @since 9 * @readonly */ @@ -1188,6 +1192,7 @@ declare interface Filter { /** * @type {number} * @syscap SystemCapability.FileManagement.File.FileIO + * @systemapi * @since 9 * @readonly */ @@ -1195,6 +1200,7 @@ declare interface Filter { /** * @type {boolean} * @syscap SystemCapability.FileManagement.File.FileIO + * @systemapi * @since 9 * @readonly */ -- Gitee From 75230556df4b5450317ba22c11fcde3035cda18e Mon Sep 17 00:00:00 2001 From: chennian Date: Wed, 21 Sep 2022 07:30:13 +0000 Subject: [PATCH 15/15] =?UTF-8?q?=E6=A0=87=E6=B3=A8@systemapi=E6=8C=91?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chennian --- api/@ohos.abilityAccessCtrl.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/@ohos.abilityAccessCtrl.d.ts b/api/@ohos.abilityAccessCtrl.d.ts index 5a1421291f..e9561b16fe 100644 --- a/api/@ohos.abilityAccessCtrl.d.ts +++ b/api/@ohos.abilityAccessCtrl.d.ts @@ -144,6 +144,7 @@ import { AsyncCallback, Callback } from './basic'; /** * Enum for permision state change type. + * @systemapi * @since 9 */ export enum PermissionStateChangeType { @@ -161,6 +162,7 @@ import { AsyncCallback, Callback } from './basic'; * Indicates the information of permission state change. * * @name PermissionStateChangeInfo + * @systemapi * @since 9 */ interface PermissionStateChangeInfo { -- Gitee