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 { |
export interface GetValueObject { |
||||
date: Date; |
date: Date; |
||||
symbol: string; |
|
||||
marketPrice: number; |
marketPrice: number; |
||||
|
symbol: string; |
||||
} |
} |
||||
|
@ -1,8 +1,8 @@ |
|||||
import { Currency } from '@prisma/client'; |
import { Currency } from '@prisma/client'; |
||||
|
|
||||
export interface GetValueParams { |
export interface GetValueParams { |
||||
|
currency: Currency; |
||||
date: Date; |
date: Date; |
||||
symbol: string; |
symbol: string; |
||||
currency: Currency; |
|
||||
userCurrency: 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'; |
import { Currency } from '@prisma/client'; |
||||
|
|
||||
export interface GetValuesParams { |
export interface GetValuesParams { |
||||
|
currencies: { [symbol: string]: Currency }; |
||||
dateQuery: DateQuery; |
dateQuery: DateQuery; |
||||
symbols: string[]; |
symbols: string[]; |
||||
currencies: { [symbol: string]: Currency }; |
|
||||
userCurrency: Currency; |
userCurrency: Currency; |
||||
} |
} |
||||
|
Loading…
Reference in new issue