fix(income): expose authoritative entry membership
This commit is contained in:
@@ -115,6 +115,11 @@ export class IncomeInstrumentDto {
|
||||
receiptCount: number;
|
||||
}
|
||||
|
||||
export class IncomeAnalyticsEntryDto extends BrokerageOperationDto {
|
||||
@ApiProperty()
|
||||
instrumentKey: string;
|
||||
}
|
||||
|
||||
export class IncomeAnalyticsDto extends IncomeSummaryDto {
|
||||
@ApiProperty({ type: IncomeComparisonDto })
|
||||
previous: IncomeComparisonDto;
|
||||
@@ -131,6 +136,6 @@ export class IncomeAnalyticsDto extends IncomeSummaryDto {
|
||||
@ApiProperty({ type: IncomeInstrumentDto, isArray: true })
|
||||
instruments: IncomeInstrumentDto[];
|
||||
|
||||
@ApiProperty({ type: BrokerageOperationDto, isArray: true })
|
||||
entries: BrokerageOperationDto[];
|
||||
@ApiProperty({ type: IncomeAnalyticsEntryDto, isArray: true })
|
||||
entries: IncomeAnalyticsEntryDto[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user