Skip to content

feature: Load workspace build logs from streaming #1997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 3, 2022
Prev Previous commit
Next Next commit
Merge branch 'main' of github.com:coder/coder into bq/stream-logs
  • Loading branch information
BrunoQuaresma committed Jun 3, 2022
commit 6b74a7fa09b15b26f588f57e84ef465dea40da98
7 changes: 7 additions & 0 deletions site/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,10 @@ export const streamWorkspaceBuildLogs = async (

return reader
}

export const putWorkspaceExtension = async (
workspaceId: string,
extendWorkspaceRequest: TypesGen.PutExtendWorkspaceRequest,
): Promise<void> => {
await axios.put(`/api/v2/workspaces/${workspaceId}/extend`, extendWorkspaceRequest)
}
You are viewing a condensed version of this merge commit. You can view the full changes here.