Browse Source

feat(client): enforce encapsulation

pull/6921/head
KenTandrian 4 days ago
parent
commit
42f7bef9d4
  1. 21
      apps/client/src/app/components/home-market/home-market.component.ts

21
apps/client/src/app/components/home-market/home-market.component.ts

@ -35,16 +35,17 @@ import { DeviceDetectorService } from 'ngx-device-detector';
templateUrl: './home-market.html' templateUrl: './home-market.html'
}) })
export class GfHomeMarketComponent implements OnInit { export class GfHomeMarketComponent implements OnInit {
public benchmarks: Benchmark[]; protected benchmarks: Benchmark[];
public deviceType: string; protected deviceType: string;
public fearAndGreedIndex: number; protected fearAndGreedIndex: number;
public fearLabel = $localize`Fear`; protected fearLabel = $localize`Fear`;
public greedLabel = $localize`Greed`; protected greedLabel = $localize`Greed`;
public hasPermissionToAccessFearAndGreedIndex: boolean; protected hasPermissionToAccessFearAndGreedIndex: boolean;
public historicalDataItems: HistoricalDataItem[]; protected historicalDataItems: HistoricalDataItem[];
public info: InfoItem; protected readonly numberOfDays = 365;
public readonly numberOfDays = 365; protected user: User;
public user: User;
private info: InfoItem;
public constructor( public constructor(
private changeDetectorRef: ChangeDetectorRef, private changeDetectorRef: ChangeDetectorRef,

Loading…
Cancel
Save