remove unused interfaces

This commit is contained in:
Florian Dold 2021-05-14 16:35:47 +02:00
parent dcef82d677
commit e7e337605e
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 6 additions and 29 deletions

View File

@ -75,6 +75,10 @@ type DeviceIdString = string;
*/ */
type RawContractTerms = any; 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; type OperationUid = string;
/** /**
@ -201,7 +205,6 @@ export interface WalletBackupContentV1 {
tombstones: Tombstone[]; tombstones: Tombstone[];
} }
/** /**
* Tombstone in the format "<type>:<key>" * Tombstone in the format "<type>:<key>"
*/ */
@ -266,7 +269,7 @@ export interface BackupTrustExchange {
* UIDs for the operation of adding this exchange * UIDs for the operation of adding this exchange
* as trusted. * as trusted.
*/ */
uids: OperationUid; uids: OperationUid;
} }
export class BackupBackupProviderTerms { export class BackupBackupProviderTerms {

View File

@ -357,7 +357,6 @@ export interface AuditorRecord {
expirationStamp: number; expirationStamp: number;
} }
export interface AuditorTrustInfo { export interface AuditorTrustInfo {
/** /**
* Base URL of the auditor. * Base URL of the auditor.
@ -1231,31 +1230,6 @@ export enum RefundReason {
AbortRefund = "abort-pay-refund", 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 { export interface AllowedAuditorInfo {
auditorBaseUrl: string; auditorBaseUrl: string;
auditorPub: string; auditorPub: string;