Add dedicated bot, workspace and user settings pages

This commit is contained in:
2026-10-19 13:17:17 +01:00
parent 731ea73486
commit 7667f2bc2f
74 changed files with 2183 additions and 358 deletions
+10
View File
@@ -37,6 +37,16 @@ export const SetBotComputerRequestSchema = z.object({
export type SetBotComputerRequest = z.infer<typeof SetBotComputerRequestSchema>;
/**
* Giving a bot direct access to a computer, or taking it away.
*/
export const BotComputerRequestSchema = z.object({
bot_id: z.coerce.number().int().positive("Pick a bot"),
computer_id: z.coerce.number().int().positive("Pick a computer"),
});
export type BotComputerRequest = z.infer<typeof BotComputerRequestSchema>;
export const BotSessionIdRequestSchema = z.object({
session_id: z.coerce.number().int().positive("Pick a session"),
});