diff --git a/protocol/metaModel.json b/protocol/metaModel.json index f0361f27..94b22487 100644 --- a/protocol/metaModel.json +++ b/protocol/metaModel.json @@ -9590,12 +9590,6 @@ "documentation": "An unchanged document diagnostic report for a workspace diagnostic result.\n\n@since 3.17.0", "since": "3.17.0" }, - { - "name": "LSPObject", - "properties": [], - "documentation": "LSP object definition.\n@since 3.17.0", - "since": "3.17.0" - }, { "name": "NotebookCell", "properties": [ @@ -14108,6 +14102,22 @@ "documentation": "A document filter describes a top level text document or\na notebook cell document.\n\n@since 3.17.0 - proposed support for NotebookCellTextDocumentFilter.", "since": "3.17.0 - proposed support for NotebookCellTextDocumentFilter." }, + { + "name": "LSPObject", + "type": { + "kind": "map", + "key": { + "kind": "base", + "name": "string" + }, + "value": { + "kind": "reference", + "name": "LSPAny" + } + }, + "documentation": "LSP object definition.\n@since 3.17.0", + "since": "3.17.0" + }, { "name": "GlobPattern", "type": { diff --git a/tools/src/visitor.ts b/tools/src/visitor.ts index cc305212..5fe71329 100644 --- a/tools/src/visitor.ts +++ b/tools/src/visitor.ts @@ -1262,11 +1262,21 @@ namespace PreDefined { since: '3.17.0' }; - export const LSPObject: Structure = { - name: 'LSPObject', - properties: [], - documentation: 'LSP object definition.\n@since 3.17.0', - since: '3.17.0' + export const LSPObject: TypeAlias = { + 'name': 'LSPObject', + 'type': { + 'kind': 'map', + 'key': { + 'kind': 'base', + 'name': 'string' + }, + 'value': { + 'kind': 'reference', + 'name': 'LSPAny' + } + }, + 'documentation': 'LSP object definition.\n@since 3.17.0', + 'since': '3.17.0' }; export const LSPArray: TypeAlias = {