( sessionId: string, body: ResizeTerminalSessionRequest, )
| 52 | } |
| 53 | |
| 54 | export function resizeTerminalSession( |
| 55 | sessionId: string, |
| 56 | body: ResizeTerminalSessionRequest, |
| 57 | ): Promise<TerminalSessionResponse> { |
| 58 | return apiFetch<TerminalSessionResponse>(`/terminals/${sessionId}/resize`, { |
| 59 | method: 'POST', |
| 60 | body: JSON.stringify(body), |
| 61 | }) |
| 62 | } |
| 63 | |
| 64 | export function terminateTerminalSession( |
| 65 | sessionId: string, |
no test coverage detected