Browse Source
Bugfix/fix type error in CreateAccountWithBalancesDto (#5945)
* Refactor import
pull/5946/head
Thomas Kaul
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
libs/common/src/lib/dtos/create-account-with-balances.dto.ts
|
|
@ -1,8 +1,9 @@ |
|
|
import { CreateAccountDto } from '@ghostfolio/common/dtos'; |
|
|
|
|
|
import { AccountBalance } from '@ghostfolio/common/interfaces'; |
|
|
import { AccountBalance } from '@ghostfolio/common/interfaces'; |
|
|
|
|
|
|
|
|
import { IsArray, IsOptional } from 'class-validator'; |
|
|
import { IsArray, IsOptional } from 'class-validator'; |
|
|
|
|
|
|
|
|
|
|
|
import { CreateAccountDto } from './create-account.dto'; |
|
|
|
|
|
|
|
|
export class CreateAccountWithBalancesDto extends CreateAccountDto { |
|
|
export class CreateAccountWithBalancesDto extends CreateAccountDto { |
|
|
@IsArray() |
|
|
@IsArray() |
|
|
@IsOptional() |
|
|
@IsOptional() |
|
|
|