Files
ezbookkeeping/src/models/exchange_rate.ts
T

19 lines
487 B
TypeScript

export interface LatestExchangeRate {
readonly currency: string;
readonly rate: string;
}
export interface LatestExchangeRateResponse {
readonly dataSource: string;
readonly referenceUrl: string;
readonly updateTime: number;
readonly baseCurrency: string;
readonly exchangeRates: LatestExchangeRate[];
}
export interface LocalizedLatestExchangeRate {
readonly currencyCode: string;
readonly currencyDisplayName: string;
readonly rate: string;
}