feat: add to readme, a few qol changes, and improve server stats in general

This commit is contained in:
LukeGus
2025-12-31 01:12:51 -06:00
parent 34803ccf4e
commit c79a2bfcd8
49 changed files with 559 additions and 284 deletions

View File

@@ -3085,7 +3085,7 @@ export interface UptimeInfo {
export interface RecentActivityItem {
id: number;
userId: string;
type: "terminal" | "file_manager";
type: "terminal" | "file_manager" | "server_stats" | "tunnel" | "docker";
hostId: number;
hostName: string;
timestamp: string;
@@ -3114,7 +3114,7 @@ export async function getRecentActivity(
}
export async function logActivity(
type: "terminal" | "file_manager",
type: "terminal" | "file_manager" | "server_stats" | "tunnel" | "docker",
hostId: number,
hostName: string,
): Promise<{ message: string; id: number | string }> {