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

This commit is contained in:
smueller
2026-06-26 12:17:26 +02:00
parent c4077d4673
commit 9b061c3ee7
92 changed files with 4128 additions and 146 deletions

View File

@@ -0,0 +1,14 @@
import { z } from 'zod';
export const consoleTokenResponseSchema = z.object({
token: z.string(),
expiresAt: z.string().datetime(),
wsUrl: z.string(),
});
export const consoleCommandSchema = z.object({
command: z.string().min(1).max(256),
});
export type ConsoleTokenResponse = z.infer<typeof consoleTokenResponseSchema>;
export type ConsoleCommand = z.infer<typeof consoleCommandSchema>;