From cb34573cc8b8d5935e07b63b67291ca31dc73c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=83=E7=83=A4=E8=82=89=E4=B8=B6?= Date: Tue, 14 Jan 2025 07:19:38 +0000 Subject: [PATCH] update modulecheck/insightIntent.json. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 吃烤肉丶 --- modulecheck/insightIntent.json | 60 +++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 8 deletions(-) diff --git a/modulecheck/insightIntent.json b/modulecheck/insightIntent.json index 2240c169..428698dd 100644 --- a/modulecheck/insightIntent.json +++ b/modulecheck/insightIntent.json @@ -16,7 +16,7 @@ "description": "Indicates the configuration of insightIntents.", "type": "array", "minItems": 1, - "maxItems": 32, + "maxItems": 128, "uniqueItems": true, "items": { "type": "object", @@ -29,7 +29,14 @@ "uiAbility", "serviceExtension", "uiExtension", - "form" + "form", + "displayName", + "displayDescription", + "icon", + "keywords", + "inputParams", + "outputParams", + "entities" ] }, "required": [ @@ -80,11 +87,11 @@ "executeMode": { "type": "array", "items": { - "type":"string", - "enum": [ - "background", - "foreground" - ] + "type": "string", + "enum": [ + "background", + "foreground" + ] } } } @@ -108,7 +115,7 @@ } } }, - "uiExtension": { + "UIExtension": { "type": "object", "propertyNames": { "enum": [ @@ -152,6 +159,43 @@ "maxLength": 127 } } + }, + "displayName": { + "description": "Indicates the display name of insightIntent.", + "type": "string" + }, + "displayDescription": { + "description": "Indicates the display description of insightIntent.", + "type": "string" + }, + "icon": { + "description": "Indicates the display icon of insightIntent.", + "type": "string" + }, + "keywords": { + "description": "Indicates the keywords of insightIntent.", + "type": "array", + "items": { + "type": "string" + } + }, + "inputParams": { + "description": "Indicates the input params of insightIntent.", + "type": "array", + "items": { + "type": "object" + } + }, + "outputParams": { + "description": "Indicates the output params of insightIntent.", + "type": "array", + "items": { + "type": "object" + } + }, + "entities": { + "description": "Indicates the entities of insightIntent.", + "type": "object" } } } -- Gitee