From d2c917c19bdde8ab04e82ec67739d6ec92adf8a6 Mon Sep 17 00:00:00 2001 From: yuechunyang Date: Fri, 4 Jul 2025 16:31:00 +0800 Subject: [PATCH] add preload system so check Signed-off-by: yuechunyang --- modulecheck/appStartup.json | 40 ++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/modulecheck/appStartup.json b/modulecheck/appStartup.json index 791c52df..ab2bafee 100644 --- a/modulecheck/appStartup.json +++ b/modulecheck/appStartup.json @@ -10,7 +10,8 @@ "enum": [ "startupTasks", "configEntry", - "appPreloadHintStartupTasks" + "appPreloadHintStartupTasks", + "systemPreloadHintStartupTasks" ] }, "properties": { @@ -220,6 +221,43 @@ } } } + }, + "systemPreloadHintStartupTasks": { + "type": "array", + "uniqueItems": true, + "items": { + "type": "object", + "propertyNames": { + "enum": [ + "name", + "srcEntry", + "ohmurl" + ] + }, + "required": [ + "name", + "srcEntry", + "ohmurl" + ], + "properties": { + "name": { + "description": "Indicates the name of the preload task.", + "type": "string", + "pattern": "^[@a-zA-Z][0-9a-zA-Z_.]+$", + "maxLength": 127 + }, + "srcEntry": { + "description": "Indicates the js code path corresponding to the preload task.", + "type": "string", + "maxLength": 127 + }, + "ohmurl": { + "description": "Indicates the system so name of the preload task.", + "type": "string", + "maxLength": 127 + } + } + } } } } \ No newline at end of file -- Gitee