feat(panel): support full server config edit dialog with status prefilling

This commit is contained in:
Lemon-miaow committed 2026-07-02 04:24:48 +08:00
1 parent 3b4298d777
commit c0d333bb98
8 files changed
+356 -3

No files matched your search

+5
View File
@@ -23,6 +23,11 @@ type ServerInfo struct {
EndpointAddress string `json:"endpointAddress,omitempty"`
PlayersOnline int32 `json:"playersOnline"`
PlayersMax int32 `json:"playersMax"`
DisplayName string `json:"displayName,omitempty"`
Image string `json:"image,omitempty"`
JavaMemory string `json:"javaMemory,omitempty"`
StorageSize string `json:"storageSize,omitempty"`
CPU string `json:"cpu,omitempty"`
}
// CreateServerInput is the validated, structured create-server form (spec §15).