From 45993f0ab3264aa91fc21b21af2f4077c37e62bd Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Thu, 24 Apr 2025 14:55:36 +0800 Subject: [PATCH] add appService Signed-off-by: zhangzezhong --- modulecheck/module.json | 75 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/modulecheck/module.json b/modulecheck/module.json index 02dd7390..8acbd5be 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -881,6 +881,66 @@ ] } }, + { + "if": { + "properties": { + "type": { + "const": "appService" + } + } + }, + "then": { + "propertyNames": { + "enum": [ + "priority", + "name", + "srcEntrance", + "srcEntry", + "icon", + "label", + "description", + "type", + "permissions", + "uri", + "readPermission", + "writePermission", + "visible", + "exported", + "skills", + "metadata", + "extensionProcessMode", + "dataGroupIds", + "process", + "appIdentifierAllowList" + ] + } + }, + "else": { + "propertyNames": { + "enum": [ + "priority", + "name", + "srcEntrance", + "srcEntry", + "icon", + "label", + "description", + "type", + "permissions", + "uri", + "readPermission", + "writePermission", + "visible", + "exported", + "skills", + "metadata", + "extensionProcessMode", + "dataGroupIds", + "process" + ] + } + } + }, { "if": { "properties": { @@ -934,7 +994,8 @@ "skills", "metadata", "extensionProcessMode", - "dataGroupIds" + "dataGroupIds", + "appIdentifierAllowList" ] } } @@ -1049,7 +1110,8 @@ "distributed", "awc/webpage", "awc/newsfeed", - "vpn" + "vpn", + "appService" ] }, "permissions": { @@ -1061,6 +1123,15 @@ "maxLength": 255 } }, + "appIdentifierAllowList": { + "description": "List of applications that are allowed to launch this ExtensionAbility.", + "type": "array", + "uniqueItems": true, + "items": { + "type": "string", + "maxLength": 255 + } + }, "uri": { "description": "Identifies the provided uri data for current extension.", "type": "string", -- Gitee