from django.urls import path

from . import views

urlpatterns = [
    path("insights/", views.index, name="insights_index"),
    path(
        "insights/sankey/account/",
        views.sankey_by_account,
        name="insights_sankey_by_account",
    ),
    path(
        "insights/sankey/currency/",
        views.sankey_by_currency,
        name="insights_sankey_by_currency",
    ),
    path(
        "insights/category-explorer/",
        views.category_explorer_index,
        name="category_explorer_index",
    ),
    path(
        "insights/category-explorer/account/",
        views.category_sum_by_account,
        name="category_sum_by_account",
    ),
    path(
        "insights/category-explorer/currency/",
        views.category_sum_by_currency,
        name="category_sum_by_currency",
    ),
    path(
        "insights/category-overview/",
        views.category_overview,
        name="category_overview",
    ),
    path(
        "insights/late-transactions/",
        views.late_transactions,
        name="insights_late_transactions",
    ),
    path(
        "insights/latest-transactions/",
        views.latest_transactions,
        name="insights_latest_transactions",
    ),
    path(
        "insights/emergency-fund/",
        views.emergency_fund,
        name="insights_emergency_fund",
    ),
    path(
        "insights/year-by-year/",
        views.year_by_year,
        name="insights_year_by_year",
    ),
    path(
        "insights/month-by-month/",
        views.month_by_month,
        name="insights_month_by_month",
    ),
]
