feat: add expired subscription broadcast target

This commit is contained in:
3252a8
2026-06-01 15:05:10 +03:00
parent 3d579b12d4
commit 6a40d0c9ce
13 changed files with 156 additions and 8 deletions
@@ -12,6 +12,7 @@ export function createBroadcastStore({ api, onToast, at }) {
{ value: "all", label: at("broadcast_target_all", {}, "Все активные") },
{ value: "active", label: at("broadcast_target_active", {}, "С подпиской") },
{ value: "inactive", label: at("broadcast_target_inactive", {}, "Без подписки") },
{ value: "expired", label: at("broadcast_target_expired", {}, "Expired subscription") },
];
async function runBroadcast() {
+1
View File
@@ -82665,6 +82665,7 @@ export const DEMO_DATASET = {
paid_subscriptions: 177,
trial_users: 0,
inactive_users: 193,
expired_subscription_users: 97,
referral_users: 106,
},
financial: {
+1
View File
@@ -1278,6 +1278,7 @@ export async function mockApi(path, options = {}, context = {}) {
trial_users: 8,
free_subscription_users: 23,
inactive_users: 76,
expired_subscription_users: 31,
banned_users: 3,
referral_users: 34,
},