From f47b5bd783def7481233f94275e333365d50b08b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 3 Jul 2023 12:40:35 -0300 Subject: #7741 share payment add shared flag in db new state purchase dialogShared new error WALLET_ORDER_ALREADY_PAID removing nonce from normal operation new operation: sharePayment which returns payUri with nonce --- packages/taler-util/src/errors.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'packages/taler-util/src/errors.ts') diff --git a/packages/taler-util/src/errors.ts b/packages/taler-util/src/errors.ts index 8476b63fc..06e338a25 100644 --- a/packages/taler-util/src/errors.ts +++ b/packages/taler-util/src/errors.ts @@ -52,6 +52,9 @@ export interface DetailsMap { orderId: string; claimUrl: string; }; + [TalerErrorCode.WALLET_ORDER_ALREADY_PAID]: { + orderId: string; + }; [TalerErrorCode.WALLET_CONTRACT_TERMS_MALFORMED]: empty; [TalerErrorCode.WALLET_CONTRACT_TERMS_SIGNATURE_INVALID]: { merchantPub: string; @@ -98,7 +101,7 @@ export interface DetailsMap { }; [TalerErrorCode.WALLET_EXCHANGE_COIN_SIGNATURE_INVALID]: empty; [TalerErrorCode.WALLET_WITHDRAWAL_GROUP_INCOMPLETE]: { - numErrors: number, + numErrors: number; errorsPerCoin: Record; }; [TalerErrorCode.WALLET_CORE_NOT_AVAILABLE]: empty; @@ -133,7 +136,7 @@ export interface DetailsMap { [TalerErrorCode.WALLET_EXCHANGE_BASE_URL_MISMATCH]: { urlWallet: string; urlExchange: string; - } + }; } type ErrBody = Y extends keyof DetailsMap ? DetailsMap[Y] : empty; -- cgit v1.2.3