feat(portfolio): store and publish instrument sector and issuer (WealthLedger/main#48)
Backend verify / commits (pull_request) Successful in 1m33s
Backend verify / security (pull_request) Successful in 1m3s
Backend verify / verify (pull_request) Successful in 6m6s

This commit is contained in:
2026-11-01 12:24:28 +03:00
parent 5e84e1e5f1
commit 5680f2655c
16 changed files with 452 additions and 11 deletions
@@ -4,6 +4,14 @@ import { MoneyDto } from '../../../../common/money.dto';
import { AccountReferenceDto } from '../../account-reference.dto';
import { InvestmentResourceMetaDto } from '../../investment-resource.dto';
export class PortfolioIssuerDto {
@ApiProperty()
declare id: string;
@ApiProperty()
declare name: string;
}
export class PortfolioPositionDto {
@ApiPropertyOptional({ type: String, nullable: true })
instrumentUid?: null | string;
@@ -52,6 +60,12 @@ export class PortfolioPositionDto {
@ApiProperty({ type: String, nullable: true })
declare logoName: null | string;
@ApiProperty({ type: String, nullable: true })
declare sector: null | string;
@ApiProperty({ type: PortfolioIssuerDto, nullable: true })
declare issuer: null | PortfolioIssuerDto;
}
export class PortfolioStructureCategoryDto {