feat: add Remnawave panel 2.7.0 support

- Add MONTH_ROLLING traffic reset mode (button, locales: ru/en/zh/fa)
- Add NodeInfo config_profile and active_plugin_uuid fields
- Update bandwidth display: remove /s suffix, label as Inbound Traffic
- Update tariffs.ts type comment with MONTH_ROLLING
This commit is contained in:
c0mrade
2026-03-28 12:35:47 +03:00
parent a57674c22b
commit a50c06c101
8 changed files with 41 additions and 11 deletions

View File

@@ -94,6 +94,19 @@ export interface NodeInfo {
created_at?: string;
updated_at?: string;
provider_uuid?: string;
active_plugin_uuid?: string;
config_profile?: {
active_config_profile_uuid: string | null;
active_inbounds: Array<{
uuid: string;
profile_uuid: string;
tag: string;
type: string;
network: string | null;
security: string | null;
port: number | null;
}>;
};
}
export interface NodesListResponse {

View File

@@ -86,7 +86,7 @@ export interface TariffDetail {
is_daily: boolean;
daily_price_kopeks: number;
// Режим сброса трафика
traffic_reset_mode: string | null; // 'DAY', 'WEEK', 'MONTH', 'NO_RESET', null = глобальная настройка
traffic_reset_mode: string | null; // 'DAY', 'WEEK', 'MONTH', 'MONTH_ROLLING', 'NO_RESET', null = глобальная настройка
// Внешний сквад RemnaWave
external_squad_uuid: string | null;
created_at: string;