From 962dc249dae52d8645518f3402357f0101e038f9 Mon Sep 17 00:00:00 2001 From: Axi_Beft Date: Thu, 26 Jun 2025 22:08:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=85=B1=E4=BA=AB=E6=94=AF?= =?UTF-8?q?=E6=8C=81har=E5=92=8Cshared=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Axi_Beft --- modulecheck/crossAppSharedConfig.json | 9 +++++++-- modulecheck/module.json | 6 ++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/modulecheck/crossAppSharedConfig.json b/modulecheck/crossAppSharedConfig.json index 6d8f163c..ddb78345 100644 --- a/modulecheck/crossAppSharedConfig.json +++ b/modulecheck/crossAppSharedConfig.json @@ -2,7 +2,7 @@ "title": "JSON schema for crossAppSharedConfig.json", "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": true, + "additionalProperties": false, "propertyNames": { "enum": [ "crossAppSharedConfig" @@ -12,7 +12,7 @@ "crossAppSharedConfig": { "type": "array", "maxItems": 32, - "additionalProperties": true, + "additionalProperties": false, "uniqueItems": true, "items": { "type": "object", @@ -23,6 +23,11 @@ "allowList" ] }, + "required": [ + "uri", + "value", + "allowList" + ], "properties": { "uri": { "description": "Indicates the key for shared configuration.", diff --git a/modulecheck/module.json b/modulecheck/module.json index 94961061..3dc7adee 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -52,7 +52,8 @@ "generateBuildHash", "routerMap", "appStartup", - "formWidgetModule" + "formWidgetModule", + "crossAppSharedConfig" ] }, "required": [ @@ -94,7 +95,8 @@ "dependencies", "libIsolation", "routerMap", - "appStartup" + "appStartup", + "crossAppSharedConfig" ] }, "required": [ -- Gitee