mirror of https://github.com/ghostfolio/ghostfolio
5 changed files with 12 additions and 12 deletions
@ -0,0 +1,5 @@ |
|||
export interface DateQuery { |
|||
gte?: Date; |
|||
in?: Date[]; |
|||
lt?: Date; |
|||
} |
@ -1,5 +1,5 @@ |
|||
export interface GetValueObject { |
|||
date: Date; |
|||
symbol: string; |
|||
marketPrice: number; |
|||
symbol: string; |
|||
} |
|||
|
@ -1,8 +1,8 @@ |
|||
import { Currency } from '@prisma/client'; |
|||
|
|||
export interface GetValueParams { |
|||
currency: Currency; |
|||
date: Date; |
|||
symbol: string; |
|||
currency: Currency; |
|||
userCurrency: Currency; |
|||
} |
|||
|
@ -1,9 +1,9 @@ |
|||
import { DateQuery } from '@ghostfolio/api/app/core/market-data.service'; |
|||
import { DateQuery } from '@ghostfolio/api/app/core/date-query.interface'; |
|||
import { Currency } from '@prisma/client'; |
|||
|
|||
export interface GetValuesParams { |
|||
currencies: { [symbol: string]: Currency }; |
|||
dateQuery: DateQuery; |
|||
symbols: string[]; |
|||
currencies: { [symbol: string]: Currency }; |
|||
userCurrency: Currency; |
|||
} |
|||
|
Loading…
Reference in new issue