Skip to content

Commit c71f927

Browse files
committed
refactor(models): 合并 game-settings 与 system.ts 类型(消除字段漂移)
- models/system.ts (权威源, +11/-2): - 给 游戏设置结构 补 BDSMNSFW设置 别名字段(兼容 BDSM系统设置 旧引用) - 给 游戏设置结构 补 ExposureNSFW设置 字段 - 内联定义 最近开局配置结构(移除与 game-settings 的循环 import) - import type { ExposureNSFW设置 } from './exposureNSFW' - models/game-settings.ts (类型桥, -443/+87): - 整文件重写为薄壳,从 ./system re-export 33 个类型 + 7 个常量/函数 - 顶部块注释记录维护规则:游戏设置结构 字段变更须在 system.ts 内进行 - 80+ 下游消费者 import 路径保持稳定 - tsc 错误数:592 → 592(不变;剩余 21 个 pre-existing 错误来自 models/bdsmNSFW、modules/nsfw-bdsm 等无关子系统,留待 P2 任务) - 验证:npm run build 17.34s 成功,dev server 200,浏览器加载+设置 Modal 打开 0 JS 错误
1 parent 0e55500 commit c71f927

2 files changed

Lines changed: 100 additions & 443 deletions

File tree

0 commit comments

Comments
 (0)