|
@ -4,6 +4,7 @@ import { Type } from 'class-transformer'; |
|
|
import { IsArray, IsOptional, ValidateNested } from 'class-validator'; |
|
|
import { IsArray, IsOptional, ValidateNested } from 'class-validator'; |
|
|
|
|
|
|
|
|
import { CreateTagDto } from '../endpoints/tags/create-tag.dto'; |
|
|
import { CreateTagDto } from '../endpoints/tags/create-tag.dto'; |
|
|
|
|
|
import { CreatePlatformDto } from '../platform/create-platform.dto'; |
|
|
import { CreateAccountWithBalancesDto } from './create-account-with-balances.dto'; |
|
|
import { CreateAccountWithBalancesDto } from './create-account-with-balances.dto'; |
|
|
import { CreateAssetProfileWithMarketDataDto } from './create-asset-profile-with-market-data.dto'; |
|
|
import { CreateAssetProfileWithMarketDataDto } from './create-asset-profile-with-market-data.dto'; |
|
|
|
|
|
|
|
@ -30,4 +31,10 @@ export class ImportDataDto { |
|
|
@Type(() => CreateTagDto) |
|
|
@Type(() => CreateTagDto) |
|
|
@ValidateNested({ each: true }) |
|
|
@ValidateNested({ each: true }) |
|
|
tags?: CreateTagDto[]; |
|
|
tags?: CreateTagDto[]; |
|
|
|
|
|
|
|
|
|
|
|
@IsArray() |
|
|
|
|
|
@IsOptional() |
|
|
|
|
|
@Type(() => CreatePlatformDto) |
|
|
|
|
|
@ValidateNested({ each: true }) |
|
|
|
|
|
platforms?: CreatePlatformDto[]; |
|
|
} |
|
|
} |
|
|