aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet-api-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-10-10 15:08:59 +0200
committerFlorian Dold <florian@dold.me>2023-10-10 15:08:59 +0200
commit47fdfc64a2e6a99a44f87974e608bdac5de83759 (patch)
tree3c4bcc4e7ee813a9c7e28c7205f573eac42e2332 /packages/taler-wallet-core/src/wallet-api-types.ts
parentadda4f8ce38ce030f55855bc0d66443d08153480 (diff)
downloadwallet-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.ts16
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;