This commit is contained in:
2024-05-28 21:54:05 +02:00
parent 9ef697d812
commit da728a1fc6
11 changed files with 242 additions and 85 deletions

9
src/types/user.ts Normal file
View File

@ -0,0 +1,9 @@
import { z } from "zod";
const UserObject = z.object({
username: z.string(),
});
type UserType = z.infer<typeof UserObject>;
export { UserObject, type UserType };