Remove unused interfaces

This commit is contained in:
kevinpauer 2022-05-03 11:04:02 +02:00
parent 6f8f0679bd
commit 7f671c96ce
2 changed files with 0 additions and 20 deletions

View File

@ -9,10 +9,6 @@ import { HelperService } from 'src/app/Helpers/helper.service';
import { ProfileService } from 'src/app/Services/profile.service'; import { ProfileService } from 'src/app/Services/profile.service';
import { FormControl } from '@angular/forms'; import { FormControl } from '@angular/forms';
export interface Fruit {
name: string;
}
export interface Share { export interface Share {
isin: string; isin: string;
} }

View File

@ -4,13 +4,6 @@ import { MatDialog } from '@angular/material/dialog';
import { UserDialogComponent } from './user-dialog/user-dialog.component'; import { UserDialogComponent } from './user-dialog/user-dialog.component';
import { HelperService } from 'src/app/Helpers/helper.service'; import { HelperService } from 'src/app/Helpers/helper.service';
export interface PeriodicElement {
name: string;
position: number;
weight: number;
symbol: string;
}
export interface Stock { export interface Stock {
count: number; count: number;
currentPrice: number; currentPrice: number;
@ -18,14 +11,6 @@ export interface Stock {
time: string; time: string;
} }
//symbol count lastTransaction boughtPrice currentPrice(+?)
const ELEMENT_DATA: PeriodicElement[] = [
{ position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H' },
{ position: 2, name: 'Helium', weight: 4.0026, symbol: 'He' },
{ position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li' },
];
var TRANSACTION_DATA: TransactionData[] = []; var TRANSACTION_DATA: TransactionData[] = [];
var STOCK_DATA: Stock[] = []; var STOCK_DATA: Stock[] = [];
@ -153,5 +138,4 @@ export class DashboardComponent implements OnInit {
'weight', 'weight',
'current-price', 'current-price',
]; ];
dataSource = ELEMENT_DATA;
} }