完善 server-rs DDD 重构计划与骨架
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
//! runtime story 兼容应用编排过渡落位。
|
||||
//!
|
||||
//! 这里只组合旧规则并返回兼容结果;真实保存、SSE 和模型调用由外层完成。
|
||||
@@ -0,0 +1,3 @@
|
||||
//! runtime story 兼容写入命令过渡落位。
|
||||
//!
|
||||
//! 用于表达旧剧情动作解析、战斗动作、锻造动作和 NPC 互动等输入。
|
||||
@@ -0,0 +1,4 @@
|
||||
//! runtime story 兼容领域模型过渡落位。
|
||||
//!
|
||||
//! 当前 crate 用于旧运行时剧情桥的纯规则兼容。后续迁移时仍只能保留 JSON 规则、
|
||||
//! 选项生成和视图模型转换,不引入 Axum、LLM 或 SpacetimeDB。
|
||||
@@ -0,0 +1,3 @@
|
||||
//! runtime story 兼容领域错误过渡落位。
|
||||
//!
|
||||
//! 错误只表达兼容规则失败,不能直接绑定 HTTP 或数据库错误模型。
|
||||
@@ -0,0 +1,3 @@
|
||||
//! runtime story 兼容领域事件过渡落位。
|
||||
//!
|
||||
//! 用于表达旧剧情快照变化、战斗表现变化和物品/成长待同步等事实。
|
||||
@@ -1,3 +1,9 @@
|
||||
mod application;
|
||||
mod commands;
|
||||
mod domain;
|
||||
mod errors;
|
||||
mod events;
|
||||
|
||||
use serde_json::Value;
|
||||
use shared_contracts::runtime_story::{
|
||||
RuntimeBattlePresentation, RuntimeStoryActionRequest, RuntimeStoryOptionView,
|
||||
|
||||
Reference in New Issue
Block a user