"""
Classroom API - Session Routes (barrel re-export)

Combines core session routes and action routes into a single router.
"""

from fastapi import APIRouter

from .sessions_core import router as core_router, build_session_response  # noqa: F401

# Re-export SessionResponse for backward compat (templates.py imports it)
from classroom.models import SessionResponse  # noqa: F401
from .sessions_actions import router as actions_router

router = APIRouter()
router.include_router(core_router)
router.include_router(actions_router)

# Re-export for backward compatibility
__all__ = ["router", "build_session_response"]
