mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-09 16:59:08 +00:00
FIX: Fix connectiontest ping dto
This commit is contained in:
@@ -18,23 +18,31 @@ export class TableMetadataDto {
|
||||
}
|
||||
|
||||
export class ConnectionTestPingReq {
|
||||
@ApiProperty()
|
||||
@ApiPropertyOptional()
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
plugin: string;
|
||||
|
||||
@ApiProperty()
|
||||
@ApiPropertyOptional()
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
host: string;
|
||||
|
||||
@ApiProperty()
|
||||
@ApiPropertyOptional()
|
||||
@IsNumber()
|
||||
@Max(65535)
|
||||
@IsOptional()
|
||||
port: number;
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
network_config_id?: string;
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
connection_id: string;
|
||||
}
|
||||
|
||||
export class ConnectionTestPingRes {
|
||||
|
||||
Reference in New Issue
Block a user