summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/pkg/client/gen/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tui/pkg/client/gen/openapi.json')
-rw-r--r--packages/tui/pkg/client/gen/openapi.json73
1 files changed, 71 insertions, 2 deletions
diff --git a/packages/tui/pkg/client/gen/openapi.json b/packages/tui/pkg/client/gen/openapi.json
index 9cbfc70e2..0afe49373 100644
--- a/packages/tui/pkg/client/gen/openapi.json
+++ b/packages/tui/pkg/client/gen/openapi.json
@@ -478,6 +478,25 @@
}
}
}
+ },
+ "/installation_info": {
+ "post": {
+ "responses": {
+ "200": {
+ "description": "Get installation info",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InstallationInfo"
+ }
+ }
+ }
+ }
+ },
+ "operationId": "postInstallation_info",
+ "parameters": [],
+ "description": "Get installation info"
+ }
}
},
"components": {
@@ -504,6 +523,9 @@
},
{
"$ref": "#/components/schemas/Event.session.error"
+ },
+ {
+ "$ref": "#/components/schemas/Event.installation.updated"
}
],
"discriminator": {
@@ -515,7 +537,8 @@
"message.updated": "#/components/schemas/Event.message.updated",
"message.part.updated": "#/components/schemas/Event.message.part.updated",
"session.updated": "#/components/schemas/Event.session.updated",
- "session.error": "#/components/schemas/Event.session.error"
+ "session.error": "#/components/schemas/Event.session.error",
+ "installation.updated": "#/components/schemas/Event.installation.updated"
}
}
},
@@ -1269,6 +1292,30 @@
"properties"
]
},
+ "Event.installation.updated": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "installation.updated"
+ },
+ "properties": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version"
+ ]
+ }
+ },
+ "required": [
+ "type",
+ "properties"
+ ]
+ },
"App.Info": {
"type": "object",
"properties": {
@@ -1292,13 +1339,17 @@
},
"cwd": {
"type": "string"
+ },
+ "state": {
+ "type": "string"
}
},
"required": [
"config",
"data",
"root",
- "cwd"
+ "cwd",
+ "state"
]
},
"time": {
@@ -1344,6 +1395,9 @@
"id": {
"type": "string"
},
+ "npm": {
+ "type": "string"
+ },
"models": {
"type": "object",
"additionalProperties": {
@@ -1424,6 +1478,21 @@
"limit",
"id"
]
+ },
+ "InstallationInfo": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string"
+ },
+ "latest": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "latest"
+ ]
}
}
}