This commit is contained in:
Vico
2025-03-25 21:26:24 +01:00
commit 53c3e39b6a
49 changed files with 7419 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { z } from "zod";
export const lobbyPatchSchema = z.object({
name: z
.string()
.min(2, {
message: "Name must contain at least 2 characters",
})
.max(255, {
message: "Name can only contain up to 255 characters",
}),
});