Initial release
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { z } from "zod"
|
||||
|
||||
export const updateUserSchema = z.object({
|
||||
name: z.string().min(2, "Name must be at least 2 characters long"),
|
||||
email: z.email().optional(),
|
||||
})
|
||||
|
||||
export type UpdateUserInputs = z.infer<typeof updateUserSchema>
|
||||
Reference in New Issue
Block a user