mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-03-30 19:27:38 +00:00
✨ feat: initial prototype
This commit is contained in:
9
apps/backend/src/schemas/bootstrap.schema.ts
Normal file
9
apps/backend/src/schemas/bootstrap.schema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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>;
|
||||
Reference in New Issue
Block a user