asdfg
This commit is contained in:
@@ -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",
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user