Phase6
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 13s

This commit is contained in:
smueller
2026-06-26 13:11:28 +02:00
parent d29a02f2a4
commit 49a98ee31d
81 changed files with 1462 additions and 53 deletions

View File

@@ -85,4 +85,23 @@ export class ServersController {
) {
return this.serversService.restartServer(user.id, id, skip === 'true');
}
@Get(':id/start-queue')
@ApiOperation({ summary: 'Get start queue status for a server' })
startQueue(
@CurrentUser() user: { id: string },
@Param('id', ParseUUIDPipe) id: string,
) {
return this.serversService.getStartQueue(user.id, id);
}
@Post(':id/cancel-queue')
@HttpCode(HttpStatus.OK)
@ApiOperation({ summary: 'Cancel a queued server start' })
cancelQueue(
@CurrentUser() user: { id: string },
@Param('id', ParseUUIDPipe) id: string,
) {
return this.serversService.cancelQueuedStart(user.id, id);
}
}