- Make app/domains/auth/ and app/core/redis.py mypy-clean under strict. - Add mypy-gate.ini and Makefile mypy-gate target; promote typecheck-gate in CI. - Consolidate domains into app/domains/: bulletin, admin, intelligence, markets. - Extract referral domain incl. DeFi partner DEX ref links; keep Telegram bot wired. - Move app/mcp/ package and app/api/v1/mcp/router into app/domains/mcp/. - Archive dead app/mcp_router.py.
31 lines
601 B
Python
31 lines
601 B
Python
"""Admin domain - public API.
|
|
|
|
Phase 4 domain consolidation: app.admin_backend -> app.domains.admin.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from app.domains.admin.core import (
|
|
PERMISSIONS,
|
|
AdminRole,
|
|
AdminUserStore,
|
|
AuditLogEntry,
|
|
AuditLogger,
|
|
SecurityManager,
|
|
SessionManager,
|
|
SystemHealthMonitor,
|
|
has_permission,
|
|
require_admin,
|
|
)
|
|
|
|
__all__ = [
|
|
"PERMISSIONS",
|
|
"AdminRole",
|
|
"AdminUserStore",
|
|
"AuditLogEntry",
|
|
"AuditLogger",
|
|
"SecurityManager",
|
|
"SessionManager",
|
|
"SystemHealthMonitor",
|
|
"has_permission",
|
|
"require_admin",
|
|
]
|