style: прогнать prettier по frontend

This commit is contained in:
2026-05-21 15:52:43 +05:00
parent b0cdf6207c
commit 95b8d97ccf
63 changed files with 1517 additions and 863 deletions
+3 -1
View File
@@ -23,7 +23,9 @@ export function getAdminInfoApi(): AxiosPromise<AdminInfo> {
});
}
export function adminChangePasswordApi(data: AdminChangePasswordDto): AxiosPromise {
export function adminChangePasswordApi(
data: AdminChangePasswordDto
): AxiosPromise {
return request({
url: "/admin/change-password",
method: "post",
-1
View File
@@ -24,4 +24,3 @@ export interface AdminChangePasswordDto {
export interface AdminSecurityVo {
forcePasswordChange: boolean;
}
-2
View File
@@ -110,5 +110,3 @@ export function uploadCertFileApi(data: FormData): AxiosPromise<string> {
headers: { "Content-Type": "multipart/form-data" },
});
}
-2
View File
@@ -300,5 +300,3 @@ export interface Hysteria2AcmePathVo {
crtPath: string;
keyPath: string;
}
+7 -3
View File
@@ -14,7 +14,9 @@ export function dashboardSummaryApi(): AxiosPromise<DashboardSummaryVo> {
});
}
export function dashboardTimeseriesApi(range = "24h"): AxiosPromise<DashboardTimeseriesVo> {
export function dashboardTimeseriesApi(
range = "24h"
): AxiosPromise<DashboardTimeseriesVo> {
return request({
url: "/dashboard/timeseries",
method: "get",
@@ -22,7 +24,10 @@ export function dashboardTimeseriesApi(range = "24h"): AxiosPromise<DashboardTim
});
}
export function dashboardTopPeersApi(range = "24h", limit = 10): AxiosPromise<DashboardTopPeerVo[]> {
export function dashboardTopPeersApi(
range = "24h",
limit = 10
): AxiosPromise<DashboardTopPeerVo[]> {
return request({
url: "/dashboard/top-peers",
method: "get",
@@ -36,4 +41,3 @@ export function dashboardSecurityApi(): AxiosPromise<SecurityRiskVo[]> {
method: "get",
});
}
-1
View File
@@ -69,4 +69,3 @@ export interface DashboardTopPeerVo {
upload: number;
total: number;
}
-2
View File
@@ -33,5 +33,3 @@ export function exportLogApi(data: LogExportDto): AxiosPromise {
responseType: "blob",
});
}
-2
View File
@@ -22,5 +22,3 @@ export interface LogHysteria2Vo {
msg: string;
time: string;
}
-1
View File
@@ -96,4 +96,3 @@ export function exportPeerApi(): AxiosPromise {
responseType: "blob",
});
}