mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
api lint 告警
Signed-off-by: m30063213 <m30063213@notesmail.huawei.com>
This commit is contained in:
parent
1ed9cc7116
commit
2c4ce929a0
6
api/@ohos.net.connection.d.ts
vendored
6
api/@ohos.net.connection.d.ts
vendored
@ -57,7 +57,7 @@ declare namespace connection {
|
||||
*/
|
||||
/**
|
||||
* Get an HTTP request task.
|
||||
* @typedef HttpRequest
|
||||
* @typedef { http.HttpRequest }
|
||||
* @syscap SystemCapability.Communication.NetStack
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -72,7 +72,7 @@ declare namespace connection {
|
||||
*/
|
||||
/**
|
||||
* Get a TCPSocket object.
|
||||
* @typedef TCPSocket
|
||||
* @typedef { socket.TCPSocket }
|
||||
* @syscap SystemCapability.Communication.NetStack
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -86,7 +86,7 @@ declare namespace connection {
|
||||
*/
|
||||
/**
|
||||
* Get a UDPSocket object.
|
||||
* @typedef UDPSocket
|
||||
* @typedef { socket.UDPSocket }
|
||||
* @syscap SystemCapability.Communication.NetStack
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
|
2
api/@ohos.net.mdns.d.ts
vendored
2
api/@ohos.net.mdns.d.ts
vendored
@ -43,7 +43,7 @@ declare namespace mdns {
|
||||
*/
|
||||
/**
|
||||
* Get a network address.
|
||||
* @typedef NetAddress
|
||||
* @typedef { connection.NetAddress }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
|
2
api/@ohos.net.policy.d.ts
vendored
2
api/@ohos.net.policy.d.ts
vendored
@ -30,7 +30,7 @@ import type connection from './@ohos.net.connection';
|
||||
declare namespace policy {
|
||||
/**
|
||||
* Get network bear type.
|
||||
* @typedef NetBearType
|
||||
* @typedef { connection.NetBearType }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @since 10
|
||||
*/
|
||||
|
2
api/@ohos.net.sharing.d.ts
vendored
2
api/@ohos.net.sharing.d.ts
vendored
@ -30,7 +30,7 @@ import type connection from './@ohos.net.connection';
|
||||
declare namespace sharing {
|
||||
/**
|
||||
* Get the handle of the data network.
|
||||
* @typedef NetHandle
|
||||
* @typedef { connection.NetHandle }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @since 9
|
||||
*/
|
||||
|
4
api/@ohos.net.statistics.d.ts
vendored
4
api/@ohos.net.statistics.d.ts
vendored
@ -571,7 +571,7 @@ declare namespace statistics {
|
||||
|
||||
/**
|
||||
* An {@link NetStatsInfo} array with start time and end time.
|
||||
* @typedef NetStatsInfoSequence
|
||||
* @typedef { object }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 12
|
||||
@ -605,7 +605,7 @@ declare namespace statistics {
|
||||
|
||||
/**
|
||||
* {@link NetStatsInfo} for every UID. Key is UID.
|
||||
* @typedef UidNetStatsInfo
|
||||
* @typedef { object }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 12
|
||||
|
6
api/@ohos.net.vpn.d.ts
vendored
6
api/@ohos.net.vpn.d.ts
vendored
@ -31,7 +31,7 @@ import type _AbilityContext from './application/UIAbilityContext';
|
||||
declare namespace vpn {
|
||||
/**
|
||||
* Get network link information.
|
||||
* @typedef LinkAddress
|
||||
* @typedef { connection.LinkAddress }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @since 10
|
||||
*/
|
||||
@ -39,7 +39,7 @@ declare namespace vpn {
|
||||
|
||||
/**
|
||||
* Get network route information.
|
||||
* @typedef RouteInfo
|
||||
* @typedef { connection.RouteInfo }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @since 10
|
||||
*/
|
||||
@ -47,7 +47,7 @@ declare namespace vpn {
|
||||
|
||||
/**
|
||||
* The context of an ability. It allows access to ability-specific resources.
|
||||
* @typedef AbilityContext
|
||||
* @typedef _AbilityContext
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @since 10
|
||||
*/
|
||||
|
6
api/@ohos.net.vpnExtension.d.ts
vendored
6
api/@ohos.net.vpnExtension.d.ts
vendored
@ -31,7 +31,7 @@ import type Want from './@ohos.app.ability.Want';
|
||||
declare namespace vpnExtension {
|
||||
/**
|
||||
* Get network link information.
|
||||
* @typedef LinkAddress
|
||||
* @typedef { connection.LinkAddress }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @since 11
|
||||
*/
|
||||
@ -39,7 +39,7 @@ declare namespace vpnExtension {
|
||||
|
||||
/**
|
||||
* Get network route information.
|
||||
* @typedef RouteInfo
|
||||
* @typedef { connection.RouteInfo }
|
||||
* @syscap SystemCapability.Communication.NetManager.Core
|
||||
* @since 11
|
||||
*/
|
||||
@ -48,7 +48,7 @@ declare namespace vpnExtension {
|
||||
/**
|
||||
* The context of vpn extension. It allows access to
|
||||
* serviceExtension-specific resources.
|
||||
* @typedef VpnExtensionContext
|
||||
* @typedef _VpnExtensionContext
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @since 11
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user