summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/backupTypes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/backupTypes.ts')
-rw-r--r--packages/taler-util/src/backupTypes.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/taler-util/src/backupTypes.ts b/packages/taler-util/src/backupTypes.ts
index e0b12a064..ce2eb6b77 100644
--- a/packages/taler-util/src/backupTypes.ts
+++ b/packages/taler-util/src/backupTypes.ts
@@ -75,6 +75,10 @@ type DeviceIdString = string;
*/
type RawContractTerms = any;
+/**
+ * Unique identifier for an operation, used to either (a) reference
+ * the operation in a tombstone (b) disambiguate conflicting writes.
+ */
type OperationUid = string;
/**
@@ -201,7 +205,6 @@ export interface WalletBackupContentV1 {
tombstones: Tombstone[];
}
-
/**
* Tombstone in the format "<type>:<key>"
*/
@@ -266,7 +269,7 @@ export interface BackupTrustExchange {
* UIDs for the operation of adding this exchange
* as trusted.
*/
- uids: OperationUid;
+ uids: OperationUid;
}
export class BackupBackupProviderTerms {
@@ -1254,4 +1257,4 @@ export interface BackupRecovery {
providers: {
url: string;
}[];
-} \ No newline at end of file
+}