mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
report installed version from update install
This commit is contained in:
+12
@@ -20251,6 +20251,18 @@
|
||||
},
|
||||
"UpdateInstallResponse": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"installedVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"installedVersion",
|
||||
"success"
|
||||
],
|
||||
"title": "UpdateInstallResponse",
|
||||
"type": "object"
|
||||
},
|
||||
|
||||
+12
@@ -18030,6 +18030,18 @@
|
||||
},
|
||||
"UpdateInstallResponse": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"installedVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"installedVersion",
|
||||
"success"
|
||||
],
|
||||
"title": "UpdateInstallResponse",
|
||||
"type": "object"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"installedVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"installedVersion",
|
||||
"success"
|
||||
],
|
||||
"title": "UpdateInstallResponse",
|
||||
"type": "object"
|
||||
}
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type UpdateInstallResponse = Record<string, never>;
|
||||
export type UpdateInstallResponse = { installedVersion: string, success: boolean, };
|
||||
|
||||
@@ -28,4 +28,7 @@ pub struct UpdateCheckResponse {
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct UpdateInstallResponse {}
|
||||
pub struct UpdateInstallResponse {
|
||||
pub installed_version: String,
|
||||
pub success: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user