feat: phase 1 — auth + user endpoints, Prisma v7 adapter, DB init

This commit is contained in:
2026-03-26 03:41:39 +00:00
parent 2d5030c521
commit 48446b483c
13 changed files with 675 additions and 16 deletions

View File

@@ -0,0 +1,9 @@
import { z } from "zod";
export const updateUserSchema = z.object({
username: z.string().min(3).max(20).optional(),
bio: z.string().max(300).optional(),
avatar: z.string().url().optional(),
});
export type UpdateUserInput = z.infer<typeof updateUserSchema>;