diff --git a/.gitignore b/.gitignore index f33207a..5b4b465 100644 --- a/.gitignore +++ b/.gitignore @@ -58,7 +58,6 @@ dist/ downloads/ eggs/ .eggs/ -lib/ lib64/ parts/ sdist/ diff --git a/src/lib/validation/auth.ts b/src/lib/validation/auth.ts new file mode 100644 index 0000000..768cdaf --- /dev/null +++ b/src/lib/validation/auth.ts @@ -0,0 +1,8 @@ +import * as z from "zod"; + +export const loginSchema = z.object({ + username: z.string(), + password: z.string(), +}); + +export type LoginInput = z.infer;