"""
Klausur-Service BYOEH Routes (barrel re-export)

This module was split into:
  - routes/eh_upload.py      (Upload, list, CRUD, index, RAG query)
  - routes/eh_sharing.py     (Key sharing, klausur linking, access chain)
  - routes/eh_invitations.py (Invitation flow: invite, accept, decline, revoke)

The `router` object is assembled here by including all sub-routers.
Importers that did `from .eh import router` continue to work.
"""

from fastapi import APIRouter

from .eh_upload import router as _upload_router
from .eh_sharing import router as _sharing_router
from .eh_invitations import router as _invitations_router

# Assemble the combined router.
# All sub-routers define their own full paths, so no prefix needed.
router = APIRouter()
router.include_router(_upload_router)
router.include_router(_sharing_router)
router.include_router(_invitations_router)
