from api.database import get_session
from api.models.managed_repo import ManagedRepo
from api.models.tpsc import TPSCCatalog, TPSCEntry, TPSCSnapshot
from hub_core.routers.tpsc import create_tpsc_router

router = create_tpsc_router(
    get_session,
    repo_model=ManagedRepo,
    catalog_model=TPSCCatalog,
    snapshot_model=TPSCSnapshot,
    entry_model=TPSCEntry,
)

__all__ = ["router"]
