feat: add customizable upgrade message on client/server version mismatch (#11587)

This commit is contained in:
Jon Ayers
2024-01-30 17:11:37 -06:00
committed by GitHub
parent adbb025e74
commit 0c30dde9b5
16 changed files with 191 additions and 20 deletions
+2
View File
@@ -163,6 +163,7 @@ export interface BuildInfoResponse {
readonly dashboard_url: string;
readonly workspace_proxy: boolean;
readonly agent_api_version: string;
readonly upgrade_message: string;
}
// From codersdk/insights.go
@@ -438,6 +439,7 @@ export interface DeploymentValues {
readonly web_terminal_renderer?: string;
readonly allow_workspace_renames?: boolean;
readonly healthcheck?: HealthcheckConfig;
readonly cli_upgrade_message?: string;
readonly config?: string;
readonly write_config?: boolean;
readonly address?: string;