feat: use money for upcoming event projections
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { MoneyDto } from './portfolio.dto';
|
||||
|
||||
export class UpcomingEventDto {
|
||||
@ApiProperty({ enum: ['coupon', 'dividend', 'maturity', 'offer'] })
|
||||
@@ -22,11 +23,8 @@ export class UpcomingEventDto {
|
||||
@ApiProperty()
|
||||
displayName: string;
|
||||
|
||||
@ApiProperty({ type: String, nullable: true })
|
||||
currency: string | null;
|
||||
|
||||
@ApiProperty({ type: String, nullable: true })
|
||||
amount: string | null;
|
||||
@ApiProperty({ type: MoneyDto, nullable: true })
|
||||
projectedAmount: MoneyDto | null;
|
||||
}
|
||||
|
||||
export class UpcomingEventsDto {
|
||||
|
||||
Reference in New Issue
Block a user