from django.urls import path, include
from rest_framework.routers import DefaultRouter
from checkpoint.views import FacilityTypeViewSet, CheckPointViewSet

app_name = "checkpoint"

router = DefaultRouter()
router.register(r"facility-types", FacilityTypeViewSet, basename="facility-type")
router.register(r"checkpoints", CheckPointViewSet, basename="checkpoint")

urlpatterns = [
    path("", include(router.urls)),
]
