mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-03-30 13:25:40 +00:00
10 lines
309 B
TypeScript
10 lines
309 B
TypeScript
import { z } from "zod";
|
|
|
|
export const bootstrapSchema = z.object({
|
|
name: z.string().min(1, "Name is required"),
|
|
email: z.string().email("Valid email is required"),
|
|
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
});
|
|
|
|
export type BootstrapInput = z.infer<typeof bootstrapSchema>;
|