feat: use money for upcoming event projections

This commit is contained in:
2026-08-25 22:30:08 +03:00
parent 130b303ec1
commit f1df104462
3 changed files with 72 additions and 17 deletions
+3 -5
View File
@@ -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 {