summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/backupTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-12 15:26:15 +0200
committerFlorian Dold <florian@dold.me>2021-05-12 15:26:15 +0200
commitb1500241f7672c8f73047014c55ff723595c3d13 (patch)
tree24e3adc1593385a8059eee2a27431f0b1cca2b3d /packages/taler-util/src/backupTypes.ts
parent4fdcaab6325289fd8525fc9e63c8c86b07131376 (diff)
downloadwallet-core-b1500241f7672c8f73047014c55ff723595c3d13.tar.gz
wallet-core-b1500241f7672c8f73047014c55ff723595c3d13.tar.bz2
wallet-core-b1500241f7672c8f73047014c55ff723595c3d13.zip
tombstones
Diffstat (limited to 'packages/taler-util/src/backupTypes.ts')
-rw-r--r--packages/taler-util/src/backupTypes.ts15
1 files changed, 8 insertions, 7 deletions
diff --git a/packages/taler-util/src/backupTypes.ts b/packages/taler-util/src/backupTypes.ts
index 1980bfb4e..e0b12a064 100644
--- a/packages/taler-util/src/backupTypes.ts
+++ b/packages/taler-util/src/backupTypes.ts
@@ -155,7 +155,8 @@ export interface WalletBackupContentV1 {
purchases: BackupPurchase[];
/**
- * All backup providers.
+ * All backup providers. Backup providers
+ * in this list should be considered "active".
*
* Sorted by the provider base URL.
*/
@@ -195,16 +196,16 @@ export interface WalletBackupContentV1 {
error_reports: BackupErrorReport[];
/**
- * Deletion tombstones. Sorted by (type, id)
- * in ascending order.
+ * Deletion tombstones. Lexically sorted.
*/
tombstones: Tombstone[];
}
-export interface Tombstone {
- type: string;
- id: string;
-}
+
+/**
+ * Tombstone in the format "<type>:<key>"
+ */
+export type Tombstone = string;
/**
* Detailed error report.