mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 15:45:23 +00:00
feat: type the plugin host record, move plugin strings out of core and add lint checks
This commit is contained in:
1 parent
bba06f7ff6
commit
b8bbcd2196
626 files changed
+23884
-4590
No files matched your search
@@ -68,10 +68,9 @@ export function PanePreview({
|
||||
|
||||
// The host's own authType travels in the spread, so a Tailscale host still
|
||||
// gets the Tailscale-aware PTY path. The SSH port may be non-standard.
|
||||
const hostRecord = host as unknown as Record<string, unknown>;
|
||||
const resolvedPort = hostRecord.sshPort ?? hostRecord.port;
|
||||
const resolvedPort = host.sshPort ?? host.port;
|
||||
const terminalHostConfig = {
|
||||
...hostRecord,
|
||||
...host,
|
||||
port: resolvedPort,
|
||||
sshPort: resolvedPort,
|
||||
instanceId: instanceIdRef.current,
|
||||
|
||||
Reference in new issue
Block a user