refactor: 重构 API 层目录结构 & 样式模块化拆分

- API 层按业务域拆分(api/auth/, api/file/, api/system/*)
- 类型定义从 types/api/ 移入对应 api 模块内(就近原则)
- 公共类型统一为 api/common.ts,移除冗余类型重导出
- 样式文件按职责拆分(base/, layout/, vendors/),移除 common.scss
- 移除失效的单元测试文件
This commit is contained in:
Ray.Hao committed 2026-03-30 08:11:03 +08:00
1 parent 3a27da6607
commit 3fedf4943d
107 files changed
+464 -8264

No files matched your search

-6
View File
@@ -29,12 +29,6 @@ Thumbs.db
.eslintcache
.stylelintcache
# Test coverage
coverage/
*.lcov
.vitest/
test-results/
# Lock files (use pnpm)
package-lock.json
yarn.lock