mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-23 06:59:09 +00:00
FEAT: Connection Manager
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsString, IsObject } from 'class-validator';
|
||||
|
||||
export class CreateConnectionDto {
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
connector_id: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
name: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
description: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
network_config_id: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
type: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
image_url: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsObject()
|
||||
properties: any;
|
||||
}
|
||||
Reference in New Issue
Block a user