- 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.
19 lines
444 B
Python
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,
|
|
)
|