mirror of https://github.com/ghostfolio/ghostfolio
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||
|
import { |
||||
|
IsNumber, |
||||
|
IsString, |
||||
|
} from 'class-validator'; |
||||
|
|
||||
|
export class TransferCashBalanceDto { |
||||
|
@IsString() |
||||
|
fromAccount: string; |
||||
|
|
||||
|
@IsString() |
||||
|
toAccount: string; |
||||
|
|
||||
|
@IsNumber() |
||||
|
balance: number; |
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
import { Account } from '@prisma/client'; |
||||
|
|
||||
|
export interface TransferCashBalanceDialogParams { |
||||
|
accounts: Account[]; |
||||
|
} |
Loading…
Reference in new issue