fix: General bug fixes/small feature improvements

This commit is contained in:
LukeGus
2025-11-10 16:23:46 -06:00
parent 966758ecf8
commit 7e8105a938
31 changed files with 1774 additions and 634 deletions

View File

@@ -5,6 +5,10 @@ import type { Request } from "express";
// SSH HOST TYPES
// ============================================================================
export interface JumpHost {
hostId: number;
}
export interface SSHHost {
id: number;
name: string;
@@ -33,12 +37,17 @@ export interface SSHHost {
enableFileManager: boolean;
defaultPath: string;
tunnelConnections: TunnelConnection[];
jumpHosts?: JumpHost[];
statsConfig?: string;
terminalConfig?: TerminalConfig;
createdAt: string;
updatedAt: string;
}
export interface JumpHostData {
hostId: number;
}
export interface SSHHostData {
name?: string;
ip: string;
@@ -60,6 +69,7 @@ export interface SSHHostData {
defaultPath?: string;
forceKeyboardInteractive?: boolean;
tunnelConnections?: TunnelConnection[];
jumpHosts?: JumpHostData[];
statsConfig?: string | Record<string, unknown>;
terminalConfig?: TerminalConfig;
}