"""
URL configuration for signals app.
"""
from django.urls import path
from . import views

urlpatterns = [
    # Public
    path('', views.coin_list_view, name='coins'),
    path('signals/', views.signal_list_view, name='signals'),
    path('signals/<int:signal_id>/', views.signal_detail_view, name='signal_detail'),
    
    # User
    path('my-signals/', views.my_signals_view, name='my_signals'),
    path('daily/accept/', views.accept_daily_signal_view, name='accept_daily_signal'),
    
    # Admin
    path('admin/signals/', views.admin_signals_view, name='admin_signals'),
    path('admin/signals/create/', views.admin_signal_create, name='admin_signal_create'),
    path('admin/signals/<int:signal_id>/edit/', views.admin_signal_edit, name='admin_signal_edit'),
    path('admin/coins/', views.admin_coins_view, name='admin_coins'),
    path('admin/coins/create/', views.admin_coin_create, name='admin_coin_create'),
    path('admin/coins/<int:coin_id>/edit/', views.admin_coin_edit, name='admin_coin_edit'),
]
