An open source, non-profit web search engine
Merge branch 'main' into blueheron786/api-stats
Daoud Clarke15ec8a8e035e
diff --cc mwmbl/platform/schemas.pyindex 104f6a6,a5ce602..35273a1--- a/mwmbl/platform/schemas.py+++ b/mwmbl/platform/schemas.py@@@ -12,17 -12,16 +12,25 @@@ class UserProfileResponse(Schema)email: strplan: stremail_confirmed: bool+ date_joined: datetime+++class UserStatsResponse(Schema):+ """Per-user contribution stats for the logged-in user."""++ username: str+ results_indexed_today: int+ results_indexed_daily: dict[str, int]+ class UserStatsResponse(Schema):+ """Per-user contribution stats for the logged-in user."""++ username: str+ results_indexed_today: int+ results_indexed_daily: dict[str, int]++class SubscriptionResponse(Schema):status: strmax_monthly_spend_cents: int