Browse Source
Task/widen input types in historical market data editor component (#8067)
Widen input types
pull/7937/head
Kenrick Tandrian
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
3 deletions
-
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/interfaces/interfaces.ts
-
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.ts
|
|
@ -2,7 +2,7 @@ import { User } from '@ghostfolio/common/interfaces'; |
|
|
import { DataSource } from '@ghostfolio/prisma/enums'; |
|
|
import { DataSource } from '@ghostfolio/prisma/enums'; |
|
|
|
|
|
|
|
|
export interface HistoricalMarketDataEditorDialogParams { |
|
|
export interface HistoricalMarketDataEditorDialogParams { |
|
|
currency: string; |
|
|
currency?: string; |
|
|
dataSource: DataSource; |
|
|
dataSource: DataSource; |
|
|
dateString: string; |
|
|
dateString: string; |
|
|
marketPrice?: number; |
|
|
marketPrice?: number; |
|
|
|
|
|
@ -66,9 +66,9 @@ export class GfHistoricalMarketDataEditorComponent |
|
|
DATE_FORMAT |
|
|
DATE_FORMAT |
|
|
)};123.45`;
|
|
|
)};123.45`;
|
|
|
|
|
|
|
|
|
@Input() currency: string; |
|
|
@Input() currency?: string; |
|
|
@Input() dataSource: DataSource; |
|
|
@Input() dataSource: DataSource; |
|
|
@Input() dateOfFirstActivity: Date; |
|
|
@Input() dateOfFirstActivity?: Date; |
|
|
@Input() symbol: string; |
|
|
@Input() symbol: string; |
|
|
@Input() user: User; |
|
|
@Input() user: User; |
|
|
|
|
|
|
|
|
|