feat: add order and purchase request data for analytics

This commit is contained in:
2026-06-18 18:37:04 +03:00
parent 8ebe016591
commit 1247b79e0b
12 changed files with 611 additions and 19 deletions

View File

@@ -44,6 +44,14 @@ from src.application.commands.orders_commands import (
ListOrdersByDateCommand,
GetOrderCommand,
)
from src.application.commands.analytics_commands import (
GetPurchaseAnalyticsForYearCommand,
GetOrdersAnalyticsForYearCommand,
GetPurchaseAnalyticsForMonthCommand,
GetOrdersAnalyticsForMonthCommand,
GetPurchaseAnalyticsForWeekCommand,
GetOrdersAnalyticsForWeekCommand,
)
__all__ = [
'AdminLoginCommand',
@@ -78,4 +86,10 @@ __all__ = [
'ListUserOrdersCommand',
'ListOrdersByDateCommand',
'GetOrderCommand',
'GetPurchaseAnalyticsForYearCommand',
'GetOrdersAnalyticsForYearCommand',
'GetPurchaseAnalyticsForMonthCommand',
'GetOrdersAnalyticsForMonthCommand',
'GetPurchaseAnalyticsForWeekCommand',
'GetOrdersAnalyticsForWeekCommand',
]