Files
Aether/apps/aether-gateway/src/handlers/public/system_modules_helpers.rs
T
fawney19 29055c575f refactor: 拆分 system.rs 大文件,将 email_templates/proxy_errors/system_config 下沉到 shared 层
- 删除 1666 行的 admin/system/shared/system.rs,按职责拆分到独立模块
- 新增 handlers/shared/email_templates.rs 和 system_config_values.rs 存放跨层共用的模板/配置工具函数
- 新增 admin/system/shared/email_templates.rs 存放 admin 专用的模板操作逻辑
- 新增 admin/shared/proxy_errors.rs 存放 build_proxy_error_response
- 清理 public/system_modules_helpers 中不属于 public 层的导出
- 新增架构测试守护模块归属边界
2026-04-07 08:19:26 +08:00

18 lines
748 B
Rust

#[path = "system_modules_helpers/capabilities.rs"]
mod system_modules_capabilities;
#[path = "system_modules_helpers/keys_grouped.rs"]
mod system_modules_keys_grouped;
#[path = "system_modules_helpers/modules.rs"]
mod system_modules_modules;
#[path = "system_modules_helpers/system.rs"]
mod system_modules_system;
pub(crate) use self::system_modules_capabilities::{
capability_detail_by_name, enabled_key_capability_short_names, serialize_public_capability,
supported_capability_names, PUBLIC_CAPABILITY_DEFINITIONS,
};
pub(crate) use self::system_modules_keys_grouped::build_admin_keys_grouped_by_format_payload;
pub(crate) use self::system_modules_modules::{
build_public_auth_modules_status_payload, ldap_module_config_is_valid,
};