From bab37dc466677c192a4fcd2f485e570ed80c6913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B5=A9?= Date: Mon, 14 Jul 2025 11:48:39 +0800 Subject: [PATCH] =?UTF-8?q?module.json5=E9=80=82=E9=85=8DformExtensionModu?= =?UTF-8?q?le=E3=80=81formWidgetModule=E5=AD=97=E6=AE=B5=E7=9A=84schema?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈浩 --- modulecheck/module.json | 47 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/modulecheck/module.json b/modulecheck/module.json index 57746ccd..dddf5a36 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -51,7 +51,7 @@ "generateBuildHash", "routerMap", "appStartup", - "formWidgetModule", + "formExtensionModule", "crossAppSharedConfig" ] }, @@ -152,7 +152,7 @@ "routerMap", "appEnvironments", "appStartup", - "formExtensionModule", + "formWidgetModule", "hnpPackages" ] }, @@ -208,7 +208,6 @@ "routerMap", "appEnvironments", "appStartup", - "formExtensionModule", "formWidgetModule" ] }, @@ -219,6 +218,48 @@ "deliveryWithInstall" ] } + }, + { + "if": { + "required": ["formExtensionModule"] + }, + "then": { + "propertyNames": { + "enum": [ + "name", + "type", + "srcEntry", + "abilitySrcEntryDelegator", + "abilityStageSrcEntryDelegator", + "description", + "deliveryWithInstall", + "deviceTypes", + "pages", + "metadata", + "extensionAbilities", + "requestPermissions", + "dependencies", + "libIsolation", + "compressNativeLibs", + "extractNativeLibs", + "installationFree", + "atomicService", + "targetModuleName", + "targetPriority", + "generateBuildHash", + "routerMap", + "appStartup", + "formExtensionModule", + "crossAppSharedConfig" + ] + }, + "required": [ + "name", + "type", + "deliveryWithInstall", + "deviceTypes" + ] + } } ], "properties": { -- Gitee