feat(analytics): expose full dashboard result groups
Some checks failed
Backend CI/CD / test (push) Has been cancelled
Backend CI/CD / deploy (push) Has been cancelled

This commit is contained in:
2026-06-15 17:33:30 +03:30
parent a326d2e31d
commit 08cab3b815
2 changed files with 26 additions and 10 deletions

View File

@@ -9,6 +9,7 @@ class AnalyticsPointSchema(Schema):
class AnalyticsPointGroupSchema(Schema):
items: list[AnalyticsPointSchema]
top_items: list[AnalyticsPointSchema]
other_count: int = 0
total_count: int = 0
@@ -46,6 +47,7 @@ class AnalyticsPostPopularitySchema(Schema):
class AnalyticsPostPopularityGroupSchema(Schema):
items: list[AnalyticsPostPopularitySchema]
top_items: list[AnalyticsPostPopularitySchema]
other_count: int = 0
total_count: int = 0