rmi-backend/app/admin_backend.py
cryptorugmunch 0a8c73d99b feat(domains): consolidate bulletin, intelligence, markets, admin, referral, mcp + mypy gate
- 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.
2026-07-07 16:43:49 +07:00

19 lines
444 B
Python

"""Deprecated shim - re-exports app.domains.admin.
Migrate imports from `app.admin_backend` to `app.domains.admin`.
This shim will be removed in Phase 3 cleanup.
"""
from __future__ import annotations
from app.domains.admin import ( # noqa: F401
PERMISSIONS,
AdminRole,
AdminUserStore,
AuditLogEntry,
AuditLogger,
SecurityManager,
SessionManager,
SystemHealthMonitor,
has_permission,
require_admin,
)