Change API for user
This commit is contained in:
@@ -7,6 +7,16 @@ export interface PeriodicElement {
|
||||
symbol: string;
|
||||
}
|
||||
|
||||
export interface Stock {
|
||||
symbol: string;
|
||||
count: Float32Array;
|
||||
lastTransaction: Date;
|
||||
boughtPrice: Float32Array;
|
||||
currentPrice: Float32Array;
|
||||
}
|
||||
|
||||
//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' },
|
||||
|
Reference in New Issue
Block a user