feat: initial commit
This commit is contained in:
9
tests/mocks/user.ts
Normal file
9
tests/mocks/user.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import z from "zod";
|
||||
|
||||
export const UserSchema = z.object({
|
||||
id: z.string().check(z.uuid()),
|
||||
name: z.string(),
|
||||
email: z.string().check(z.email()),
|
||||
});
|
||||
|
||||
export type User = z.infer<typeof UserSchema>;
|
||||
Reference in New Issue
Block a user