Files
next-go-blog/lib/schemas/login.ts
Beyhan Oğur 6d95e27114 first commit
2026-04-26 22:16:43 +03:00

9 lines
251 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { z } from "zod";
export const loginSchema = z.object({
email: z.string().email("Geçerli bir email adresi giriniz"),
password: z.string().min(1, "Şifre alanı zorunludur"),
});
export type LoginSchema = z.infer<typeof loginSchema>;