🔨 配置 vnc 资产.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新主机配置
|
||||
*/
|
||||
|
||||
@@ -33,6 +33,12 @@ export interface HostRdpExtraSettingModel {
|
||||
initialProgram: string;
|
||||
}
|
||||
|
||||
// VNC 额外配置
|
||||
export interface HostVncExtraSettingModel {
|
||||
port: number;
|
||||
lowBandwidthMode: boolean;
|
||||
}
|
||||
|
||||
// 标签额外配置
|
||||
export interface HostLabelExtraSettingModel {
|
||||
alias: string;
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
* 主机创建请求
|
||||
|
||||
Reference in New Issue
Block a user