访问控制api lint告警清理

Signed-off-by: zhouyan <zhouyan160@huawei.com>
Change-Id: I0bd184f9129c738bf2ab2b78e18678bab290141f
This commit is contained in:
zhouyan 2024-07-15 11:20:14 +08:00
parent cf885d1a52
commit cb9290fd29
2 changed files with 11 additions and 0 deletions

View File

@ -824,6 +824,7 @@ export { Permissions };
/**
* PermissionRequestResult interface.
*
* @typedef { _PermissionRequestResult }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -832,6 +833,7 @@ export { Permissions };
/**
* PermissionRequestResult interface.
*
* @typedef { _PermissionRequestResult }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -842,6 +844,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
/**
* Context interface.
*
* @typedef { _Context }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -850,6 +853,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
/**
* Context interface.
*
* @typedef { _Context }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform

View File

@ -46,6 +46,7 @@ export default class PermissionRequestResult {
/**
* The permissions passed in by the user.
*
* @type { Array<string> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @since 9
@ -53,6 +54,7 @@ export default class PermissionRequestResult {
/**
* The permissions passed in by the user.
*
* @type { Array<string> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -61,6 +63,7 @@ export default class PermissionRequestResult {
/**
* The permissions passed in by the user.
*
* @type { Array<string> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -73,6 +76,7 @@ export default class PermissionRequestResult {
* The results for the corresponding request permissions. The value 0 indicates that a
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
*
* @type { Array<number> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @since 9
@ -81,6 +85,7 @@ export default class PermissionRequestResult {
* The results for the corresponding request permissions. The value 0 indicates that a
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
*
* @type { Array<number> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -90,6 +95,7 @@ export default class PermissionRequestResult {
* The results for the corresponding request permissions. The value 0 indicates that a
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
*
* @type { Array<number> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -102,6 +108,7 @@ export default class PermissionRequestResult {
* Specifies whether a dialog box is shown for each requested permission.
* The value true means that a dialog box is shown, and false means the opposite.
*
* @type { ?Array<boolean> }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @atomicservice