mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-22 17:49:08 +00:00
Update Protospack Name and Network Config
This commit is contained in:
@@ -32,6 +32,8 @@ export class NetworkConfigDto {
|
||||
created_at: string;
|
||||
@ApiProperty()
|
||||
updated_at: string;
|
||||
@ApiProperty()
|
||||
network_type_id: string;
|
||||
}
|
||||
export class NetworkConfigNoSecrets extends OmitType(NetworkConfigDto, [
|
||||
'secret_id',
|
||||
@@ -58,10 +60,27 @@ export class FindNetworkConfigByidRes {
|
||||
@ApiProperty()
|
||||
network_config: NetworkConfigNoSecrets;
|
||||
}
|
||||
|
||||
export class FindNetworkConfigByidDetails extends PickType(NetworkConfigDto, [
|
||||
'id',
|
||||
'name',
|
||||
'description',
|
||||
'type',
|
||||
'network_type_id',
|
||||
'customer_name',
|
||||
]) {
|
||||
@ApiProperty()
|
||||
properties: NetworkConfigOpenVpnProperties | string;
|
||||
}
|
||||
export class FindNetworkConfigByidDetailsRes {
|
||||
@ApiProperty()
|
||||
network_config: FindNetworkConfigByidDetails;
|
||||
}
|
||||
export class CreateNetworkConfigReq extends PickType(NetworkConfigDto, [
|
||||
'name',
|
||||
'description',
|
||||
'type',
|
||||
'network_type_id',
|
||||
]) {
|
||||
@ApiProperty()
|
||||
properties: NetworkConfigOpenVpnProperties;
|
||||
|
||||
Reference in New Issue
Block a user