feat: 添加电子邮件和密码登录及注册功能,包含表单验证和用户状态管理

This commit is contained in:
2026-01-15 02:59:23 +07:00
parent 5a40945206
commit 53135e13ad
5 changed files with 246 additions and 5 deletions

View File

@@ -60,6 +60,8 @@ export type UsernameClient = TreatyBody<typeof authClient.signIn.username>;
export type EmailVerifyClient = TreatyBody<typeof authClient.emailOtp.verifyEmail>;
export type EmailPasswordVerifyClient = TreatyBody<typeof authClient.signIn.email>;
export type UserDepositOrderData = Treaty.Data<typeof client.api.deposit.orders.get>["data"][number];
export type UserDepositOrderBody = TreatyQuery<typeof client.api.deposit.orders.get>;