from django.urls import path
from builder import views

urlpatterns = [
    path('', views.index, name='index'),

    # builder paths
    path('create/', views.create, name='create'),
    path('add/card/<uuid:card_id>', views.add_card, name='add_card'),
    path('remove/card/<uuid:card_id>', views.remove_card, name='remove_card'),
    path('add/deck/<uuid:deck_id>', views.copy_deck, name='add_deck'),
    path('follow/deck/<uuid:deck_id>', views.follow_deck, name='follow_deck'),
    path('remove/deck/<uuid:deck_id>', views.remove_deck, name='remove_deck'),
    path('unfollow/deck/<uuid:deck_id>', views.unfollow_deck, name='unfollow_deck'),
    path('validate/deck/<uuid:deck_id>', views.validate_deck, name='validate_deck'),
    path('update/art/<uuid:card_id>', views.update_art_card, name='update_art'),
    path('add/card/massentry', views.mass_entry, name='mass_entry'),
]
