from django.urls import path

from .views import (
    NdviHealthView,
    RemoteSensingAnalysisView,
    RemoteSensingClusterBlockLiveView,
    RemoteSensingClusterRecommendationView,
    RemoteSensingSubdivisionOptionActivateView,
    RemoteSensingSubdivisionOptionListView,
    RemoteSensingRunStatusView,
    SoilDataView,
)

urlpatterns = [
    path("", SoilDataView.as_view(), name="soil-data"),
    path("remote-sensing/", RemoteSensingAnalysisView.as_view(), name="remote-sensing"),
    path(
        "remote-sensing/cluster-blocks/<uuid:cluster_uuid>/live/",
        RemoteSensingClusterBlockLiveView.as_view(),
        name="remote-sensing-cluster-block-live",
    ),
    path(
        "remote-sensing/cluster-recommendations/",
        RemoteSensingClusterRecommendationView.as_view(),
        name="remote-sensing-cluster-recommendations",
    ),
    path(
        "remote-sensing/results/<int:result_id>/k-options/",
        RemoteSensingSubdivisionOptionListView.as_view(),
        name="remote-sensing-k-options",
    ),
    path(
        "remote-sensing/results/<int:result_id>/k-options/activate/",
        RemoteSensingSubdivisionOptionActivateView.as_view(),
        name="remote-sensing-k-options-activate",
    ),
    path("remote-sensing/runs/<uuid:run_id>/status/", RemoteSensingRunStatusView.as_view(), name="remote-sensing-run-status"),
    path("ndvi-health/", NdviHealthView.as_view(), name="ndvi-health"),
]
