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'
})
export class GfHomeMarketComponent implements OnInit {
public benchmarks: Benchmark[];
public deviceType: string;
public fearAndGreedIndex: number;
public fearLabel = $localize`Fear`;
public greedLabel = $localize`Greed`;
public hasPermissionToAccessFearAndGreedIndex: boolean;
public historicalDataItems: HistoricalDataItem[];
public info: InfoItem;
public readonly numberOfDays = 365;
public user: User;
protected benchmarks: Benchmark[];
protected deviceType: string;
protected fearAndGreedIndex: number;
protected fearLabel = $localize`Fear`;
protected greedLabel = $localize`Greed`;
protected hasPermissionToAccessFearAndGreedIndex: boolean;
protected historicalDataItems: HistoricalDataItem[];
protected readonly numberOfDays = 365;
protected user: User;
private info: InfoItem;
public constructor(
private changeDetectorRef: ChangeDetectorRef,

Loading…
Cancel
Save