!12641 访问控制api lint告警清理

Merge pull request !12641 from zhouyan/atm
This commit is contained in:
openharmony_ci 2024-07-17 01:35:04 +00:00 committed by Gitee
commit c6cdd476b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 11 additions and 0 deletions

View File

@ -828,6 +828,7 @@ export { Permissions };
/**
* PermissionRequestResult interface.
*
* @typedef { _PermissionRequestResult }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -836,6 +837,7 @@ export { Permissions };
/**
* PermissionRequestResult interface.
*
* @typedef { _PermissionRequestResult }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -846,6 +848,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
/**
* Context interface.
*
* @typedef { _Context }
* @syscap SystemCapability.Security.AccessToken
* @stagemodelonly
* @crossplatform
@ -854,6 +857,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