mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-05-13 17:39:41 +00:00
feat: cycleTransferStats
This commit is contained in:
@@ -98,6 +98,7 @@ export interface ServiceResponse {
|
||||
services: {
|
||||
[key: string]: ServiceData;
|
||||
};
|
||||
cycle_transfer_stats: CycleTransferStats;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -127,3 +128,24 @@ export interface ServiceData {
|
||||
up: number[];
|
||||
down: number[];
|
||||
}
|
||||
|
||||
export interface CycleTransferStats {
|
||||
[key: string]: CycleTransferData;
|
||||
}
|
||||
|
||||
export interface CycleTransferData {
|
||||
name: string;
|
||||
from: string;
|
||||
to: string;
|
||||
max: number;
|
||||
min: number;
|
||||
server_name: {
|
||||
[key: string]: string;
|
||||
};
|
||||
transfer: {
|
||||
[key: string]: number;
|
||||
};
|
||||
next_update: {
|
||||
[key: string]: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user