mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
Update admin.ts
This commit is contained in:
@@ -197,12 +197,28 @@ export interface ServerStats {
|
|||||||
total_revenue_rubles: number
|
total_revenue_rubles: number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface TariffStatItem {
|
||||||
|
tariff_id: number
|
||||||
|
tariff_name: string
|
||||||
|
active_subscriptions: number
|
||||||
|
trial_subscriptions: number
|
||||||
|
purchased_today: number
|
||||||
|
purchased_week: number
|
||||||
|
purchased_month: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface TariffStats {
|
||||||
|
tariffs: TariffStatItem[]
|
||||||
|
total_tariff_subscriptions: number
|
||||||
|
}
|
||||||
|
|
||||||
export interface DashboardStats {
|
export interface DashboardStats {
|
||||||
nodes: NodesOverview
|
nodes: NodesOverview
|
||||||
subscriptions: SubscriptionStats
|
subscriptions: SubscriptionStats
|
||||||
financial: FinancialStats
|
financial: FinancialStats
|
||||||
servers: ServerStats
|
servers: ServerStats
|
||||||
revenue_chart: RevenueData[]
|
revenue_chart: RevenueData[]
|
||||||
|
tariff_stats?: TariffStats
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============ Dashboard Stats API ============
|
// ============ Dashboard Stats API ============
|
||||||
|
|||||||
Reference in New Issue
Block a user