- move config requiredVariables to contants
All checks were successful
Code quality checks / biome (push) Successful in 13s

- change register email
- add verify route ( mostly still needs to be tested
This commit is contained in:
creations 2025-06-11 09:20:48 -04:00
parent 83b71f62cf
commit fff3c3ca50
Signed by: creations
GPG key ID: 8F553AA4320FC711
16 changed files with 482 additions and 89 deletions

View file

@ -2,5 +2,6 @@ export * from "./base";
export * from "./responses";
export * from "./register";
export * from "./login";
export * from "./verify";
export * from "./update";

View file

@ -1,7 +0,0 @@
interface UpdatePasswordRequest {
currentPassword: string;
newPassword: string;
logoutAllSessions?: boolean; // defaults to false
}
export type { UpdatePasswordRequest };

View file

@ -0,0 +1,13 @@
import type { BaseResponse } from "../base";
import type { UserResponse } from "./base";
interface VerifyEmailResponse extends BaseResponse {
user?: UserResponse;
}
interface VerificationData {
userId: string;
email: string;
}
export type { VerifyEmailResponse, VerificationData };