refactor module & reset token

This commit is contained in:
Paul Coral
2025-08-10 22:41:34 +02:00
parent ba90bf221b
commit 4b8348e32f
39 changed files with 386 additions and 67 deletions

View File

@@ -0,0 +1,2 @@
export * from "./credential-auth";
export * from "./reset-auth";

View File

@@ -0,0 +1,9 @@
import z from "zod";
export const resetAuthParser = z.object({
userId: z.string(),
resetToken: z.string(),
newPassword: z.string(),
});
export type ResetAuth = z.infer<typeof resetAuthParser>;

View File

@@ -1,2 +1,3 @@
export * from "./users";
export * from "./lang";
export * from "./auth";