mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-11-04 09:00:21 +00:00
feat: cycleTransferStats
This commit is contained in:
1 parent
2462dfc21b
commit
6e676022e9
6 files changed
+198
-16
No files matched your search
@@ -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