阶段六:完成生成契约迁移并永久关闭旁路

This commit is contained in:
Christ committed 2026-08-20 03:48:33 +08:00
1 parent 5675f60e52
commit 76f4e2e87d
117 files changed
+5833 -2204

No files matched your search

+5 -3
View File
@@ -1,3 +1,5 @@
// common 公开分页、错误和跨领域基础传输契约;具体 feature 应优先导入自己的领域模块。
/** 跨 feature 的最小 HTTP 传输 DTO,不得承载领域专有类型。 */
export type { ApiErrorResponse, Item, NotificationChannel, PaginatedResponse, SystemSettings } from './transport';
// common 只公开跨 feature 的 OpenAPI 生成传输类型。
import type { components } from './generated/schema';
/** ApiErrorResponse 表示统一错误 envelope,供共享 HTTP 运行时识别错误。 */
export type ApiErrorResponse = components['schemas']['ErrorResponse'];