feat: split subscription stats by access type

This commit is contained in:
3252a8
2026-05-31 00:08:31 +03:00
parent e7f93a5f47
commit 93353db511
9 changed files with 243 additions and 33 deletions
+11 -1
View File
@@ -1231,7 +1231,17 @@ export async function mockApi(path, options = {}, context = {}) {
return {
ok: true,
currency_symbol: "RUB",
users: { total_users: 248, active_subscriptions: 172, banned_users: 3 },
users: {
total_users: 248,
active_today: 9,
active_subscriptions: 172,
paid_subscriptions: 141,
trial_users: 8,
free_subscription_users: 23,
inactive_users: 76,
banned_users: 3,
referral_users: 34,
},
financial: {
today_revenue: 1240,
week_revenue: 15800,