Working on implementation of alert policies. Some refactoring in user profile and patching a bug in status endpoint api.

This commit is contained in:
charlesgauthereau
2025-11-28 23:10:37 +01:00
parent d968aa9c16
commit 934e635cdb
29 changed files with 3364 additions and 1551 deletions
@@ -1,8 +1,9 @@
import { z } from "zod";
export const LoginSchema = z.object({
email: z.string(),
password: z.string(),
});
email: z.string().email({message: "Email is invalid"}),
password: z.string().nonempty({message: "Password could not be empty"}),
})
export type LoginType = z.infer<typeof LoginSchema>;