[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: remove unused interfaces
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: remove unused interfaces |
Date: |
Mon, 17 May 2021 12:58:28 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new e7e33760 remove unused interfaces
e7e33760 is described below
commit e7e337605ef158c3f8ac249259f568a8729b0a19
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri May 14 16:35:47 2021 +0200
remove unused interfaces
---
packages/taler-util/src/backupTypes.ts | 9 ++++++---
packages/taler-wallet-core/src/db.ts | 26 --------------------------
2 files changed, 6 insertions(+), 29 deletions(-)
diff --git a/packages/taler-util/src/backupTypes.ts
b/packages/taler-util/src/backupTypes.ts
index e0b12a06..ce2eb6b7 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
+}
diff --git a/packages/taler-wallet-core/src/db.ts
b/packages/taler-wallet-core/src/db.ts
index 2c009b4c..b0da0733 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -357,7 +357,6 @@ export interface AuditorRecord {
expirationStamp: number;
}
-
export interface AuditorTrustInfo {
/**
* Base URL of the auditor.
@@ -1231,31 +1230,6 @@ export enum RefundReason {
AbortRefund = "abort-pay-refund",
}
-/**
- * Record stored for every time we successfully submitted
- * a payment to the merchant (both first time and re-play).
- */
-export interface PayEventRecord {
- proposalId: string;
- sessionId: string | undefined;
- isReplay: boolean;
- timestamp: Timestamp;
-}
-
-export interface ExchangeUpdatedEventRecord {
- exchangeBaseUrl: string;
- timestamp: Timestamp;
-}
-
-export interface ReserveUpdatedEventRecord {
- amountReserveBalance: string;
- amountExpected: string;
- reservePub: string;
- timestamp: Timestamp;
- reserveUpdateId: string;
- newHistoryTransactions: ReserveTransaction[];
-}
-
export interface AllowedAuditorInfo {
auditorBaseUrl: string;
auditorPub: string;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: remove unused interfaces,
gnunet <=