This commit is contained in:
JOLIMAITRE Matthieu 2024-05-21 18:49:16 +02:00
commit 60133a4a08
23 changed files with 529 additions and 0 deletions

9
storage/models/User.ts Normal file
View file

@ -0,0 +1,9 @@
import { z } from "https://deno.land/x/zod@v3.23.8/mod.ts";
export const UserModel = z.object({
id: z.string().uuid().describe("primary"),
name: z.string(),
email: z.string(),
password: z.string(),
pfp_url: z.string(),
});