mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
feat: responsive fm card (#11)
* feat: responsive fm card * delete meaningless words * fix joinIP
This commit is contained in:
@@ -180,6 +180,8 @@ export interface ModelConfig {
|
||||
listen_port: number;
|
||||
/** 时区,默认为 Asia/Shanghai */
|
||||
location: string;
|
||||
/** 真实IP */
|
||||
real_ip_header: string;
|
||||
site_name: string;
|
||||
tls: boolean;
|
||||
}
|
||||
@@ -291,14 +293,17 @@ export interface ModelForceUpdateResponse {
|
||||
success?: number[];
|
||||
}
|
||||
|
||||
export interface ModelGeoIP {
|
||||
country_code: string;
|
||||
ip: ModelIP;
|
||||
}
|
||||
|
||||
export interface ModelHost {
|
||||
arch: string;
|
||||
boot_time: number;
|
||||
country_code: string;
|
||||
cpu: string[];
|
||||
disk_total: number;
|
||||
gpu: string[];
|
||||
ip: string;
|
||||
mem_total: number;
|
||||
platform: string;
|
||||
platform_version: string;
|
||||
@@ -327,6 +332,11 @@ export interface ModelHostState {
|
||||
uptime: number;
|
||||
}
|
||||
|
||||
export interface ModelIP {
|
||||
ipv4_addr: string;
|
||||
ipv6_addr: string;
|
||||
}
|
||||
|
||||
export interface ModelLoginRequest {
|
||||
password: string;
|
||||
username: string;
|
||||
@@ -439,6 +449,7 @@ export interface ModelServer {
|
||||
display_index: number;
|
||||
/** 启用DDNS */
|
||||
enable_ddns: boolean;
|
||||
geoip: ModelGeoIP;
|
||||
/** 对游客隐藏 */
|
||||
hide_for_guest: boolean;
|
||||
host: ModelHost;
|
||||
|
||||
Reference in New Issue
Block a user