diff options
author | Florian Dold <florian@dold.me> | 2023-10-10 15:08:59 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-10 15:08:59 +0200 |
commit | 47fdfc64a2e6a99a44f87974e608bdac5de83759 (patch) | |
tree | 3c4bcc4e7ee813a9c7e28c7205f573eac42e2332 /packages/taler-wallet-core/src/wallet-api-types.ts | |
parent | adda4f8ce38ce030f55855bc0d66443d08153480 (diff) | |
download | wallet-core-47fdfc64a2e6a99a44f87974e608bdac5de83759.tar.xz |
wallet-core: return mock currency specification for KUDOS and TESTKUDOS
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 375e0a1b2..fadc7aa7f 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -61,8 +61,8 @@ import { GetAmountRequest, GetBalanceDetailRequest, GetContractTermsDetailsRequest, - GetCurrencyInfoRequest, - GetCurrencyInfoResponse, + GetCurrencySpecificationRequest, + GetCurrencySpecificationResponse, GetExchangeTosRequest, GetExchangeTosResult, GetPlanForOperationRequest, @@ -218,7 +218,7 @@ export enum WalletApiOperation { TestingWaitRefreshesFinal = "testingWaitRefreshesFinal", TestingWaitTransactionState = "testingWaitTransactionState", TestingSetTimetravel = "testingSetTimetravel", - GetScopedCurrencyInfo = "getScopedCurrencyInfo", + GetCurrencySpecification = "getCurrencySpecification", ListStoredBackups = "listStoredBackups", CreateStoredBackup = "createStoredBackup", DeleteStoredBackup = "deleteStoredBackup", @@ -627,10 +627,10 @@ export type ListCurrenciesOp = { response: WalletCurrencyInfo; }; -export type GetScopedCurrencyInfoOp = { - op: WalletApiOperation.GetScopedCurrencyInfo; - request: GetCurrencyInfoRequest; - response: GetCurrencyInfoResponse; +export type GetCurrencySpecificationOp = { + op: WalletApiOperation.GetCurrencySpecification; + request: GetCurrencySpecificationRequest; + response: GetCurrencySpecificationResponse; }; // group: Deposits @@ -1136,7 +1136,7 @@ export type WalletOperations = { [WalletApiOperation.TestingWaitRefreshesFinal]: TestingWaitRefreshesFinal; [WalletApiOperation.TestingSetTimetravel]: TestingSetTimetravelOp; [WalletApiOperation.TestingWaitTransactionState]: TestingWaitTransactionStateOp; - [WalletApiOperation.GetScopedCurrencyInfo]: GetScopedCurrencyInfoOp; + [WalletApiOperation.GetCurrencySpecification]: GetCurrencySpecificationOp; [WalletApiOperation.CreateStoredBackup]: CreateStoredBackupsOp; [WalletApiOperation.ListStoredBackups]: ListStoredBackupsOp; [WalletApiOperation.DeleteStoredBackup]: DeleteStoredBackupOp; |