diff --git a/src/schemas/json/jsconfig.json b/src/schemas/json/jsconfig.json index 309423b7444..91560a75944 100644 --- a/src/schemas/json/jsconfig.json +++ b/src/schemas/json/jsconfig.json @@ -963,6 +963,7 @@ "ESNext.BigInt", "ESNext.Collection", "ESNext.Intl", + "ESNext.Iterator", "ESNext.Object", "ESNext.Promise", "ESNext.Regexp", diff --git a/src/schemas/json/nest-cli.json b/src/schemas/json/nest-cli.json index 01c61b9f83d..90f34f60f88 100644 --- a/src/schemas/json/nest-cli.json +++ b/src/schemas/json/nest-cli.json @@ -74,6 +74,10 @@ "watch": { "type": "boolean", "description": "Whether to watch files for changes or not." + }, + "swcrcPath": { + "type": "string", + "description": "Path to SWC config file to use." } } } diff --git a/src/schemas/json/tombi.json b/src/schemas/json/tombi.json index 7ec131af936..0d293b3ecd5 100644 --- a/src/schemas/json/tombi.json +++ b/src/schemas/json/tombi.json @@ -169,19 +169,19 @@ "description": "Whether to enable hover.", "anyOf": [ { - "$ref": "#/definitions/Enabled" + "$ref": "#/definitions/BoolDefaultTrue" }, { "type": "null" } - ], - "default": true + ] } }, "additionalProperties": false }, - "Enabled": { - "type": "boolean" + "BoolDefaultTrue": { + "type": "boolean", + "default": true }, "ServerCompletion": { "type": "object", @@ -191,13 +191,12 @@ "description": "Whether to enable completion.\n\n **WARNING**: 🚧 This feature is experimental 🚧", "anyOf": [ { - "$ref": "#/definitions/Enabled" + "$ref": "#/definitions/BoolDefaultTrue" }, { "type": "null" } - ], - "default": true + ] } }, "additionalProperties": false @@ -210,13 +209,12 @@ "description": "Whether to enable formatting.", "anyOf": [ { - "$ref": "#/definitions/Enabled" + "$ref": "#/definitions/BoolDefaultTrue" }, { "type": "null" } - ], - "default": true + ] } }, "additionalProperties": false @@ -229,13 +227,12 @@ "description": "Whether to enable diagnostics.", "anyOf": [ { - "$ref": "#/definitions/Enabled" + "$ref": "#/definitions/BoolDefaultTrue" }, { "type": "null" } - ], - "default": true + ] } }, "additionalProperties": false @@ -247,13 +244,24 @@ "title": "Enable or disable the schema.", "anyOf": [ { - "$ref": "#/definitions/Enabled" + "$ref": "#/definitions/BoolDefaultTrue" }, { "type": "null" } - ], - "default": true + ] + }, + "strict": { + "title": "Enable or disable strict schema validation.", + "description": "If `additionalProperties` is not specified in the JSON Schema,\n the strict mode treats it as `additionalProperties: false`,\n which is different from the JSON Schema specification.", + "anyOf": [ + { + "$ref": "#/definitions/BoolDefaultTrue" + }, + { + "type": "null" + } + ] }, "catalog": { "title": "Schema catalog options.", @@ -317,6 +325,7 @@ ] }, "RootSchema": { + "title": "The schema for the root table.", "type": "object", "properties": { "toml-version": { @@ -349,15 +358,16 @@ "x-tombi-table-keys-order": "schema" }, "SubSchema": { + "title": "The schema for the sub value.", "type": "object", "properties": { "path": { - "title": "The schema path.", + "title": "The sub schema path.", "type": "string" }, "include": { - "title": "The file match pattern of the schema.", - "description": "The file match pattern to include the target to apply the schema.\n Supports glob pattern.", + "title": "The file match pattern of the sub schema.", + "description": "The file match pattern to include the target to apply the sub schema.\n Supports glob pattern.", "type": "array", "items": { "type": "string" @@ -365,7 +375,7 @@ "minItems": 1 }, "root-keys": { - "title": "The keys to apply the schema.", + "title": "The keys to apply the sub schema.", "type": ["string", "null"], "minLength": 1 } diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index 2cea9671f76..24e93d5ada2 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -967,6 +967,7 @@ "ESNext.BigInt", "ESNext.Collection", "ESNext.Intl", + "ESNext.Iterator", "ESNext.Object", "ESNext.Promise", "ESNext.Regexp",