# #region TranslateRouterModule [C:1] [TYPE Module] [SEMANTICS fastapi, translate, api]
# @BRIEF APIRouter instance for translate routes with feature flag gating.
# @LAYER API
# @RELATION DEPENDS_ON -> [require_feature]

from fastapi import APIRouter, Depends

from ....dependencies import require_feature

# #region translate_router [TYPE Global]
# @ingroup Api
# @BRIEF APIRouter instance for all translate sub-routes.
# @INVARIANT All translate routes are gated by the 'translate' feature flag.
#            Sub-features (scheduling, dictionaries) have their own gating.

router = APIRouter(
    prefix="/api/translate",
    tags=["translate"],
    dependencies=[Depends(require_feature("translate"))],
)
# #endregion translate_router

# #endregion TranslateRouterModule
