refactor(server): split logic in to packages

This commit is contained in:
Mauricio Siu
2024-09-29 02:28:58 -06:00
parent 21dee4abac
commit 9b7aacc934
280 changed files with 28569 additions and 196 deletions
@@ -23,7 +23,6 @@ class LogRotationManager {
if (isActive) {
await this.activateStream();
}
console.log(`Log rotation initialized. Active: ${isActive}`);
}
private async getStateFromDB(): Promise<boolean> {
@@ -1,3 +0,0 @@
import { findServerById } from "@/server/api/services/server";
import { Client } from "ssh2";
import { readSSHKey } from "../filesystem/ssh";