refactor: 拆分 admin handler 大文件为模块目录,消除 shared.rs 反模式

- endpoint_keys/pool/architecture 等大文件拆分为独立模块目录
- 删除 crud/query/strategy/system 中的 shared.rs,内容归位到各自模块
- endpoints_admin/models/oauth/write 等模块拆出 payloads/responses/support 子文件
- system/core 下多个 *_routes.rs 合并到 system_routes.rs
- 更新 refactor-execution-plan 文档进度
This commit is contained in:
fawney19
2026-04-07 12:15:19 +08:00
parent 29055c575f
commit 4fb9882b54
109 changed files with 8151 additions and 7047 deletions
@@ -2,7 +2,6 @@ mod adaptive;
mod core;
mod management_tokens;
mod modules;
mod pool;
mod proxy_nodes;
pub(crate) mod shared;
@@ -10,5 +9,5 @@ pub(crate) use self::adaptive::maybe_build_local_admin_adaptive_response;
pub(crate) use self::core::maybe_build_local_admin_core_response;
pub(crate) use self::management_tokens::maybe_build_local_admin_management_tokens_response;
pub(crate) use self::modules::maybe_build_local_admin_modules_response;
pub(crate) use self::pool::maybe_build_local_admin_pool_response;
pub(crate) use self::proxy_nodes::maybe_build_local_admin_proxy_nodes_response;
pub(crate) use crate::handlers::admin::provider::pool_admin::maybe_build_local_admin_pool_response;