From 048556c1d8b20f00cac0e71c192de1445fb6f591 Mon Sep 17 00:00:00 2001 From: lanhaoyu Date: Wed, 30 Apr 2025 10:51:17 +0800 Subject: [PATCH] add bms appService json Signed-off-by: lanhaoyu --- modulecheck/module.json | 76 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 2 deletions(-) diff --git a/modulecheck/module.json b/modulecheck/module.json index b08db8be..c36aa913 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" ] } } @@ -1050,7 +1111,8 @@ "awc/webpage", "awc/newsfeed", "vpn", - "screenTimeGuard" + "screenTimeGuard", + "appService" ] }, "permissions": { @@ -1062,6 +1124,16 @@ "maxLength": 255 } }, + "appIdentifierAllowList": { + "description": "List of applications that are allowed to launch this ExtensionAbility.", + "type": "array", + "uniqueItems": true, + "items": { + "type": "string", + "maxLength": 128, + "pattern": "[0-9a-zA-Z]+$" + } + }, "uri": { "description": "Identifies the provided uri data for current extension.", "type": "string", -- Gitee