5256bd0d8b
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 46s
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / Validate - Code Quality (push) Successful in 4m41s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 1m58s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 2m33s
CI/CD Pipeline / Unit Tests (push) Successful in 9m54s
CI/CD Pipeline / Integration Tests (push) Successful in 2m17s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m14s
CI/CD Pipeline / PR Build API Image (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Has been skipped
CI/CD Pipeline / PR Build Worker Image (push) Has been skipped
CI/CD Pipeline / Build Staging API Image (push) Successful in 12m40s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 3m25s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 5m46s
CI/CD Pipeline / Build Production API Image (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Has been skipped
CI/CD Pipeline / Build Production Worker Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 34s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 2m39s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m40s
CI/CD Pipeline / Canary Release to Production (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
40 lines
841 B
TypeScript
40 lines
841 B
TypeScript
/**
|
|
* 认证相关 API
|
|
* 保持向后兼容,从子模块 re-export
|
|
*/
|
|
|
|
// 类型
|
|
export type {
|
|
LoginRequest,
|
|
LoginResponse,
|
|
RegisterRequest,
|
|
User,
|
|
UserResponse,
|
|
WechatAuthUrlResponse,
|
|
WechatCallbackResponse,
|
|
SendVerificationCodeRequest,
|
|
BindContactRequest,
|
|
BindContactResponse,
|
|
} from "./types"
|
|
|
|
// 用户工具函数
|
|
export { normalizeUser } from "./user"
|
|
|
|
// 登录/注册/登出/刷新
|
|
export { login, refreshAccessToken, register, logout } from "./login"
|
|
|
|
// 当前用户
|
|
export { getCurrentUser } from "./currentUser"
|
|
|
|
// 密码重置
|
|
export { requestPasswordReset, resetPassword } from "./password"
|
|
|
|
// 邮箱验证
|
|
export { verifyEmail } from "./email"
|
|
|
|
// 微信登录
|
|
export { getWechatAuthUrl, wechatCallback } from "./wechat"
|
|
|
|
// 联系方式
|
|
export { sendVerificationCode, bindContact } from "./contact"
|