from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .viewsets import (
    CasesViewSet,
    ConversationViewSet,
    CustomTextViewSet,
    EventsViewSet,
    HomePageViewSet,
    MessageViewSet,
    NotesViewSet,
    ScheduleViewSet,
)

from home.api.v1.viewsets import (
    SignupViewSet,
    LoginViewSet,
    HomePageViewSet,
    CustomTextViewSet,
)

router = DefaultRouter()
router.register("signup", SignupViewSet, basename="signup")
router.register("login", LoginViewSet, basename="login")
router.register("customtext", CustomTextViewSet)
router.register("homepage", HomePageViewSet)
router.register("notes", NotesViewSet)
router.register("events", EventsViewSet)
router.register("message", MessageViewSet)
router.register("cases", CasesViewSet)
router.register("schedule", ScheduleViewSet)
router.register("conversation", ConversationViewSet)

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