mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45:24 +00:00
feat: move terminal settings, look and ssh tools into ssh-terminal plugin
This commit is contained in:
1 parent
ffa872ebd3
commit
d9bba10612
242 files changed
+25071
-7207
No files matched your search
@@ -8,7 +8,6 @@ export type MetricsHost = PluginSshHost & {
|
||||
enableSsh?: boolean | null;
|
||||
password?: string | null;
|
||||
sudoPassword?: string | null;
|
||||
terminalConfig?: { sudoPassword?: string | null } | null;
|
||||
enableDocker?: boolean | null;
|
||||
jumpHosts?: Array<{ hostId: number }> | null;
|
||||
};
|
||||
@@ -24,7 +23,7 @@ export function supportsMetrics(
|
||||
}
|
||||
|
||||
export function sudoPasswordOf(host: MetricsHost): string | undefined {
|
||||
return host.sudoPassword || host.terminalConfig?.sudoPassword || undefined;
|
||||
return host.sudoPassword || undefined;
|
||||
}
|
||||
|
||||
export type ConnectionLogType = "info" | "success" | "warning" | "error";
|
||||
|
||||
Reference in new issue
Block a user