🔨 配置 vnc 资产.

This commit is contained in:
lijiahangmax
2025-07-04 17:43:59 +08:00
parent a546827432
commit 9e9c390baf
10 changed files with 417 additions and 246 deletions

View File

@@ -51,6 +51,16 @@ export interface HostRdpConfig extends HostBaseConfig {
remoteAppArgs?: string;
}
// 主机 VNC 配置
export interface HostVncConfig extends HostBaseConfig {
identityId?: number;
noUsername?: boolean;
noPassword?: boolean;
portForwardId?: number;
timezone?: string;
clipboardEncoding?: string;
}
/**
* 更新主机配置
*/

View File

@@ -33,6 +33,12 @@ export interface HostRdpExtraSettingModel {
initialProgram: string;
}
// VNC 额外配置
export interface HostVncExtraSettingModel {
port: number;
lowBandwidthMode: boolean;
}
// 标签额外配置
export interface HostLabelExtraSettingModel {
alias: string;

View File

@@ -5,7 +5,7 @@ import axios from 'axios';
import qs from 'query-string';
// 主机类型
export type HostType = 'SSH' | string | undefined;
export type HostType = 'SSH' | 'RDP' | 'VNC' | string | undefined;
/**
* 主机创建请求