feat: add 'display_name' column to 'workspace_agent_scripts' (#14747)

* feat: add 'display_name' column to 'workspace_agent_scripts'

* fix: backfill from workspace_agent_log_sources

* fix: run 'make gen'
This commit is contained in:
Danielle Maywood
2024-09-20 14:26:13 +01:00
committed by GitHub
parent db7b411094
commit 86f68b220e
22 changed files with 420 additions and 349 deletions
+1
View File
@@ -1895,6 +1895,7 @@ export interface WorkspaceAgentScript {
readonly run_on_stop: boolean;
readonly start_blocks_login: boolean;
readonly timeout: number;
readonly display_name: string;
}
// From codersdk/workspaceapps.go
+1
View File
@@ -894,6 +894,7 @@ export const MockWorkspaceAgentScript: TypesGen.WorkspaceAgentScript = {
script: "echo 'hello world'",
start_blocks_login: false,
timeout: 0,
display_name: "Say Hello",
};
export const MockWorkspaceAgent: TypesGen.WorkspaceAgent = {