support user custom exchange rates data

This commit is contained in:
MaysWind
2025-05-26 00:47:19 +08:00
parent c4d20c539f
commit 817291c9a7
41 changed files with 1257 additions and 73 deletions
+14 -1
View File
@@ -1,3 +1,16 @@
export interface UserCustomExchangeRateUpdateRequest {
readonly currency: string;
readonly rate: string;
}
export interface UserCustomExchangeRateDeleteRequest {
readonly currency: string;
}
export interface UserCustomExchangeRateUpdateResponse extends LatestExchangeRate {
readonly updateTime: number;
}
export interface LatestExchangeRate {
readonly currency: string;
readonly rate: string;
@@ -6,7 +19,7 @@ export interface LatestExchangeRate {
export interface LatestExchangeRateResponse {
readonly dataSource: string;
readonly referenceUrl: string;
readonly updateTime: number;
updateTime: number;
readonly baseCurrency: string;
readonly exchangeRates: LatestExchangeRate[];
}