diff --git a/modulecheck/module.json b/modulecheck/module.json index 57746ccdf5290f4b0f587372fa692da17fe17caa..dddf5a36c7890912d90a783ac928cce5c4983e6c 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": {