aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-06-23 13:06:32 +0200
committerFlorian Dold <florian@dold.me>2021-06-23 13:06:32 +0200
commit3603a6866977600e9cb16f5e94488fde9cfb02a5 (patch)
treeeb0b492902efd1d25902bc0dad68334ac4ff854f /packages/taler-wallet-core/src/db.ts
parenteaced5ca63f209ee3cab6bbf2339642e6f434ce6 (diff)
downloadwallet-core-3603a6866977600e9cb16f5e94488fde9cfb02a5.tar.xz
sync: handle HTTP 304 correctly
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 36b4e0864..e640e7f20 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -1586,7 +1586,14 @@ export interface BackupProviderRecord {
*/
lastBackupHash?: string;
- lastBackupTimestamp?: Timestamp;
+ /**
+ * Last time that we successfully uploaded a backup (or
+ * the uploaded backup was already current).
+ *
+ * Does NOT correspond to the timestamp of the backup,
+ * which only changes when the backup content changes.
+ */
+ lastBackupCycleTimestamp?: Timestamp;
/**
* Proposal that we're currently trying to pay for.