implement remaining features of the server page (#9)

* implement remaining features of the server page

* fix fm init

* ?
This commit is contained in:
UUBulb
2024-11-21 22:20:14 +08:00
committed by GitHub
parent 6166d9de3f
commit 33b2ffb40c
18 changed files with 994 additions and 32 deletions

View File

@@ -93,6 +93,12 @@ export interface GithubComNaibaNezhaModelCommonResponseModelConfig {
success: boolean;
}
export interface GithubComNaibaNezhaModelCommonResponseModelForceUpdateResponse {
data: ModelForceUpdateResponse;
error: string;
success: boolean;
}
export interface GithubComNaibaNezhaModelCommonResponseModelLoginResponse {
data: ModelLoginResponse;
error: string;
@@ -279,6 +285,12 @@ export interface ModelDDNSProfile {
webhook_url: string;
}
export interface ModelForceUpdateResponse {
failure?: number[];
offline?: number[];
success?: number[];
}
export interface ModelHost {
arch: string;
boot_time: number;