- 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.
35 lines
675 B
Python
35 lines
675 B
Python
"""Bulletin domain - public API.
|
|
|
|
Phase 4 domain consolidation: app.bulletin_board -> app.domains.bulletin.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from app.domains.bulletin.core import (
|
|
BulletinBoardManager,
|
|
Comment,
|
|
ContentSanitizer,
|
|
Post,
|
|
PostCategory,
|
|
PostStatus,
|
|
Priority,
|
|
TargetAudience,
|
|
award_badge,
|
|
get_user_badges,
|
|
get_user_reputation,
|
|
verify_x402_bot,
|
|
)
|
|
|
|
__all__ = [
|
|
"BulletinBoardManager",
|
|
"Comment",
|
|
"ContentSanitizer",
|
|
"Post",
|
|
"PostCategory",
|
|
"PostStatus",
|
|
"Priority",
|
|
"TargetAudience",
|
|
"award_badge",
|
|
"get_user_badges",
|
|
"get_user_reputation",
|
|
"verify_x402_bot",
|
|
]
|