569 B
569 B
module-runtime-story-compat
module-runtime-story-compat 承接旧 /api/runtime/story/* 兼容桥中不依赖 HTTP / AppState 的核心类型与纯 helper。
当前首批迁入范围保持克制:
- action 结算结果结构。
- action response 组装参数结构。
- NPC 委托上下文结构。
- functionId / 队伍上限常量。
- 少量只依赖
serde_json::Value与shared-contracts的纯 helper。
后续再按 battle / forge / NPC / quest / presentation 的顺序,把已经拆好的 api-server 内部模块逐步迁入本 crate。