refactor(frontend): 优化工具和 API 模块

- 改进 sanitize 工具函数
- 优化 mocks 数据和处理器
- 优化 auth API 模块
This commit is contained in:
fawney19
2025-12-12 20:22:22 +08:00
parent fda0bfa8de
commit 380fd1c4d4
4 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
import type { User, LoginResponse } from '@/api/auth'
import type { DashboardStatsResponse, RecentRequest, ProviderStatus, DailyStatsResponse } from '@/api/dashboard'
import type { User as AdminUser, ApiKey } from '@/api/users'
import type { AdminApiKey, AdminApiKeysResponse } from '@/api/admin'
import type { AdminApiKeysResponse } from '@/api/admin'
import type { Profile, UsageResponse } from '@/api/me'
import type { ProviderWithEndpointsSummary, GlobalModelResponse } from '@/api/endpoints/types'