aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/backup-types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/backup-types.ts')
-rw-r--r--packages/taler-util/src/backup-types.ts13
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",