From 630098bfbbbdedd0cd9cf8584f98b589db6437fd Mon Sep 17 00:00:00 2001 From: Chang lue Tsen Date: Mon, 25 Aug 2025 11:16:25 -0400 Subject: [PATCH] refactor(api): rename OnlineUser to ServerOnlineUser for clarity --- apis/admin/server.api | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apis/admin/server.api b/apis/admin/server.api index 91b1cf3..f9c8393 100644 --- a/apis/admin/server.api +++ b/apis/admin/server.api @@ -11,7 +11,7 @@ info ( import "../types.api" type ( - OnlineUser { + ServerOnlineUser { IP []string `json:"ip"` UserId int64 `json:"user_id"` Subscribe string `json:"subscribe"` @@ -20,10 +20,10 @@ type ( ExpiredAt int64 `json:"expired_at"` } ServerStatus { - Online []OnlineUser `json:"online"` - Cpu float64 `json:"cpu"` - Mem float64 `json:"mem"` - Disk float64 `json:"disk"` + Online []ServerOnlineUser `json:"online"` + Cpu float64 `json:"cpu"` + Mem float64 `json:"mem"` + Disk float64 `json:"disk"` } Server { Id int64 `json:"id"`