from django.urls import path # type: ignore
from . import views
from django.views.decorators.csrf import csrf_exempt # type: ignore
from mama_care_notification.views import *
urlpatterns = [

    #Send notification
    path("send_notification_mobile/", views.SendNotificationMobile.as_view()),

    # user device
    path("user_device_mobile/", views.UserDeviceListMobileView.as_view()),
    path("user_device_dashboard/", views.UserDeviceListDashboardView.as_view()),
    path("user_device_dashboard/<int:id>", views.UserDeviceDetailDashboardView.as_view()),

    # notification
    path("notification_mobile/", views.NotificationListMobileView.as_view()),
    path("notification_mobile/<int:id>", views.NotificationDetailMobileView.as_view()),
    path("notification_dashboard/", views.NotificationListDashboardView.as_view()),
    path("notification_dashboard/<int:id>", views.NotificationDetailDashboardView.as_view()),

]
