diff options
Diffstat (limited to 'schema/json/HistoryNode.json')
-rw-r--r-- | schema/json/HistoryNode.json | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/schema/json/HistoryNode.json b/schema/json/HistoryNode.json index 3ca9e394..f9004a43 100644 --- a/schema/json/HistoryNode.json +++ b/schema/json/HistoryNode.json @@ -101,6 +101,76 @@ "type": "object", "properties": {} }, + "ContextItemId": { + "title": "ContextItemId", + "description": "A ContextItemId is a unique identifier for a ContextItem.", + "type": "object", + "properties": { + "provider_title": { + "title": "Provider Title", + "type": "string" + }, + "item_id": { + "title": "Item Id", + "type": "string" + } + }, + "required": [ + "provider_title", + "item_id" + ] + }, + "ContextItemDescription": { + "title": "ContextItemDescription", + "description": "A ContextItemDescription is a description of a ContextItem that is displayed to the user when they type '@'.\n\nThe id can be used to retrieve the ContextItem from the ContextManager.", + "type": "object", + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "description": { + "title": "Description", + "type": "string" + }, + "id": { + "$ref": "#/definitions/ContextItemId" + } + }, + "required": [ + "name", + "description", + "id" + ] + }, + "ContextItem": { + "title": "ContextItem", + "description": "A ContextItem is a single item that is stored in the ContextManager.", + "type": "object", + "properties": { + "description": { + "$ref": "#/definitions/ContextItemDescription" + }, + "content": { + "title": "Content", + "type": "string" + }, + "editing": { + "title": "Editing", + "default": false, + "type": "boolean" + }, + "editable": { + "title": "Editable", + "default": false, + "type": "boolean" + } + }, + "required": [ + "description", + "content" + ] + }, "src__continuedev__core__main__HistoryNode": { "title": "HistoryNode", "description": "A point in history, a list of which make up History", @@ -133,6 +203,14 @@ "items": { "type": "string" } + }, + "context_used": { + "title": "Context Used", + "default": [], + "type": "array", + "items": { + "$ref": "#/definitions/ContextItem" + } } }, "required": [ |