From 09c07cd9c59f4204e1455882392709158d46d5f8 Mon Sep 17 00:00:00 2001 From: xia-bubai Date: Wed, 28 May 2025 10:47:01 +0800 Subject: [PATCH] remove new Signed-off-by: xia-bubai Change-Id: Iec8b8dc831b80346e99569ad515976cfe816d14c --- api/security/PermissionRequestResult.d.ts | 39 ++++------------------- 1 file changed, 7 insertions(+), 32 deletions(-) diff --git a/api/security/PermissionRequestResult.d.ts b/api/security/PermissionRequestResult.d.ts index 05d2bceacc..a863efb59a 100644 --- a/api/security/PermissionRequestResult.d.ts +++ b/api/security/PermissionRequestResult.d.ts @@ -72,28 +72,16 @@ export default class PermissionRequestResult { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ permissions: Array; - /** - * The permissions passed in by the user. - * - * @type { Array } - * @syscap SystemCapability.Security.AccessToken - * @stagemodelonly - * @crossplatform - * @atomicservice - * @since 20 - * @arkts 1.2 - */ - permissions: Array = new Array(); - /** * 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 } + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @since 9 @@ -102,25 +90,12 @@ 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 } + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform * @since 10 */ - /** - * 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 } - * @syscap SystemCapability.Security.AccessToken - * @stagemodelonly - * @crossplatform - * @atomicservice - * @since 11 - */ - authResults: Array; - /** * 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. @@ -130,10 +105,10 @@ export default class PermissionRequestResult { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ - authResults: Array = new Array(); + authResults: Array; /** * Specifies whether a dialog box is shown for each requested permission. -- Gitee