From 12d41ee86efc6374b6cea15af939c77595e9802c Mon Sep 17 00:00:00 2001 From: Dane Walters Date: Thu, 6 Jun 2024 15:10:05 +0800 Subject: [PATCH] chore: project schema support imports --- schemas/project-file.v1.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/schemas/project-file.v1.json b/schemas/project-file.v1.json index b3174e0..922c9e6 100644 --- a/schemas/project-file.v1.json +++ b/schemas/project-file.v1.json @@ -27,13 +27,21 @@ "items": { "$ref": "#/definitions/instance" } + }, + "imports": { + "description": "项目中使用的 importMap", + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "required": [ "title", "name", "capabilities", - "instances" + "instances", + "imports" ], "definitions": { "capability": {