From b2fdb2b1a6d56df25381fe6299202c011c074b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com> Date: Thu, 9 Jun 2022 02:24:39 +0800 Subject: [PATCH] update setting --- publish.lua | 1 + setting/schema-pt-br.json | 7 +++++++ setting/schema-zh-cn.json | 7 +++++++ setting/schema-zh-tw.json | 7 +++++++ setting/schema.json | 7 +++++++ 5 files changed, 29 insertions(+) diff --git a/publish.lua b/publish.lua index d51cdad..5fccc05 100644 --- a/publish.lua +++ b/publish.lua @@ -139,6 +139,7 @@ local count = copyFiles(ROOT , out) { }, ['server'] = { ['bin'] = true, + ['doc'] = true, ['locale'] = true, ['script'] = true, ['main.lua'] = true, diff --git a/setting/schema-pt-br.json b/setting/schema-pt-br.json index a9a3bac..afb2ba9 100644 --- a/setting/schema-pt-br.json +++ b/setting/schema-pt-br.json @@ -1191,8 +1191,15 @@ } }, "format.defaultConfig": { + "additionalProperties": false, "default": [], "markdownDescription": "%config.format.defaultConfig%", + "patternProperties": { + ".*": { + "default": "", + "type": "string" + } + }, "scope": "resource", "title": "defaultConfig", "type": "object" diff --git a/setting/schema-zh-cn.json b/setting/schema-zh-cn.json index 465b497..00067c3 100644 --- a/setting/schema-zh-cn.json +++ b/setting/schema-zh-cn.json @@ -1191,8 +1191,15 @@ } }, "format.defaultConfig": { + "additionalProperties": false, "default": [], "markdownDescription": "%config.format.defaultConfig%", + "patternProperties": { + ".*": { + "default": "", + "type": "string" + } + }, "scope": "resource", "title": "defaultConfig", "type": "object" diff --git a/setting/schema-zh-tw.json b/setting/schema-zh-tw.json index 4495d5e..b136b6e 100644 --- a/setting/schema-zh-tw.json +++ b/setting/schema-zh-tw.json @@ -1191,8 +1191,15 @@ } }, "format.defaultConfig": { + "additionalProperties": false, "default": [], "markdownDescription": "%config.format.defaultConfig%", + "patternProperties": { + ".*": { + "default": "", + "type": "string" + } + }, "scope": "resource", "title": "defaultConfig", "type": "object" diff --git a/setting/schema.json b/setting/schema.json index f9d8426..4cdf22d 100644 --- a/setting/schema.json +++ b/setting/schema.json @@ -1191,8 +1191,15 @@ } }, "format.defaultConfig": { + "additionalProperties": false, "default": [], "markdownDescription": "%config.format.defaultConfig%", + "patternProperties": { + ".*": { + "default": "", + "type": "string" + } + }, "scope": "resource", "title": "defaultConfig", "type": "object" -- GitLab