"""
Classroom API - Context Routes — Barrel Re-export.

Split into submodules:
- context_core.py    — Teacher context, onboarding endpoints
- context_events.py  — Events & routines CRUD
- context_static.py  — Static data, suggestions, sidebar, school year path

School year context, events, routines, and suggestions endpoints (Phase 8).
"""

from fastapi import APIRouter

from .context_core import router as _core_router
from .context_events import router as _events_router
from .context_static import router as _static_router

# Combine all sub-routers into a single router for backwards compatibility.
# The consumer imports `from .routes.context import router as context_router`.
router = APIRouter(tags=["Context"])
router.include_router(_core_router)
router.include_router(_events_router)
router.include_router(_static_router)

__all__ = ["router"]
