diff options
author | Sebastian <sebasjm@gmail.com> | 2023-07-03 12:40:35 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-07-03 12:40:35 -0300 |
commit | f47b5bd783def7481233f94275e333365d50b08b (patch) | |
tree | 26fda24f36c02cce2c2aed6a937ec315e1a47615 /packages/taler-util/src/backup-types.ts | |
parent | 15a15942d2160e7742ccb415554c87057da7afc2 (diff) | |
download | wallet-core-f47b5bd783def7481233f94275e333365d50b08b.tar.xz |
#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
Diffstat (limited to 'packages/taler-util/src/backup-types.ts')
-rw-r--r-- | packages/taler-util/src/backup-types.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/taler-util/src/backup-types.ts b/packages/taler-util/src/backup-types.ts index 2bfe6b886..2920838dd 100644 --- a/packages/taler-util/src/backup-types.ts +++ b/packages/taler-util/src/backup-types.ts @@ -63,7 +63,11 @@ * Imports. */ import { DenominationPubKey, UnblindedSignature } from "./taler-types.js"; -import { TalerProtocolDuration, TalerProtocolTimestamp, TalerPreciseTimestamp } from "./time.js"; +import { + TalerProtocolDuration, + TalerProtocolTimestamp, + TalerPreciseTimestamp, +} from "./time.js"; export const BACKUP_TAG = "gnu-taler-wallet-backup-content" as const; /** @@ -970,6 +974,8 @@ export interface BackupPurchase { * Continue querying the refund status until this deadline has expired. */ auto_refund_deadline: TalerProtocolTimestamp | undefined; + + shared: boolean; } /** @@ -1269,6 +1275,11 @@ export enum BackupProposalStatus { */ Proposed = "proposed", /** + * Proposed, other wallet may also have + * the purchase + */ + Shared = "shared", + /** * The user has rejected the proposal. */ Refused = "refused", |