"""
Aggregates every endpoint module under a single router mounted at
settings.API_V1_PREFIX in app/main.py. Adding a new endpoint module
means: create the file in endpoints/, import it here, include it below.
"""

from fastapi import APIRouter

from app.api.v1.endpoints import analyze, auth, crop_plans, health, notifications, reference, tasks

api_router = APIRouter()

api_router.include_router(health.router, tags=["health"])
api_router.include_router(auth.router, tags=["authentication"])
api_router.include_router(analyze.router, tags=["analysis"])
api_router.include_router(tasks.router, tags=["analysis"])
api_router.include_router(crop_plans.router, tags=["crop-plans"])
api_router.include_router(notifications.router, tags=["notifications"])
api_router.include_router(reference.router, tags=["reference-data"])
