Browse Source

feat(client): enforce readability

pull/6965/head
KenTandrian 3 months ago
parent
commit
2831c5a312
  1. 10
      apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts

10
apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts

@ -70,14 +70,14 @@ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
export class GfAnalysisPageComponent implements OnInit { export class GfAnalysisPageComponent implements OnInit {
protected benchmark?: Partial<SymbolProfile>; protected benchmark?: Partial<SymbolProfile>;
protected benchmarkDataItems: HistoricalDataItem[] = []; protected benchmarkDataItems: HistoricalDataItem[] = [];
protected benchmarks: Partial<SymbolProfile>[]; protected readonly benchmarks: Partial<SymbolProfile>[];
protected bottom3: PortfolioPosition[]; protected bottom3: PortfolioPosition[];
protected dividendsByGroup: InvestmentItem[]; protected dividendsByGroup: InvestmentItem[];
protected dividendTimelineDataLabel = $localize`Dividend`; protected readonly dividendTimelineDataLabel = $localize`Dividend`;
protected hasImpersonationId: boolean; protected hasImpersonationId: boolean;
protected hasPermissionToReadAiPrompt: boolean; protected hasPermissionToReadAiPrompt: boolean;
protected investments: InvestmentItem[]; protected investments: InvestmentItem[];
protected investmentTimelineDataLabel = $localize`Investment`; protected readonly investmentTimelineDataLabel = $localize`Investment`;
protected investmentsByGroup: InvestmentItem[]; protected investmentsByGroup: InvestmentItem[];
protected isLoadingAnalysisPrompt: boolean; protected isLoadingAnalysisPrompt: boolean;
protected isLoadingBenchmarkComparator: boolean; protected isLoadingBenchmarkComparator: boolean;
@ -86,14 +86,14 @@ export class GfAnalysisPageComponent implements OnInit {
protected isLoadingInvestmentTimelineChart: boolean; protected isLoadingInvestmentTimelineChart: boolean;
protected isLoadingPortfolioPrompt: boolean; protected isLoadingPortfolioPrompt: boolean;
protected mode: GroupBy = 'month'; protected mode: GroupBy = 'month';
protected modeOptions: ToggleOption[] = [ protected readonly modeOptions: ToggleOption[] = [
{ label: $localize`Monthly`, value: 'month' }, { label: $localize`Monthly`, value: 'month' },
{ label: $localize`Yearly`, value: 'year' } { label: $localize`Yearly`, value: 'year' }
]; ];
protected performance: PortfolioPerformance; protected performance: PortfolioPerformance;
protected performanceDataItems: HistoricalDataItem[]; protected performanceDataItems: HistoricalDataItem[];
protected performanceDataItemsInPercentage: HistoricalDataItem[]; protected performanceDataItemsInPercentage: HistoricalDataItem[];
protected portfolioEvolutionDataLabel = $localize`Investment`; protected readonly portfolioEvolutionDataLabel = $localize`Investment`;
protected precision = 2; protected precision = 2;
protected streaks: PortfolioInvestmentsResponse['streaks']; protected streaks: PortfolioInvestmentsResponse['streaks'];
protected top3: PortfolioPosition[]; protected top3: PortfolioPosition[];

Loading…
Cancel
Save