summaryrefslogtreecommitdiff
path: root/src/types/pending.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-23 18:30:08 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-23 18:30:08 +0530
commit80433b939962815ad8807b0d6e957d66dbd0e306 (patch)
tree38a347c9ec272f35965b01ed8857877f9d04c70e /src/types/pending.ts
parent60891b502ad94438024e022ad7e30ab63692c163 (diff)
downloadwallet-core-80433b939962815ad8807b0d6e957d66dbd0e306.tar.gz
wallet-core-80433b939962815ad8807b0d6e957d66dbd0e306.tar.bz2
wallet-core-80433b939962815ad8807b0d6e957d66dbd0e306.zip
remove more history remains
Diffstat (limited to 'src/types/pending.ts')
-rw-r--r--src/types/pending.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/types/pending.ts b/src/types/pending.ts
index 8a1e84362..e6c879992 100644
--- a/src/types/pending.ts
+++ b/src/types/pending.ts
@@ -24,7 +24,6 @@
import { OperationErrorDetails, WalletBalance } from "./walletTypes";
import { WithdrawalSource, RetryInfo, ReserveRecordStatus } from "./dbTypes";
import { Timestamp, Duration } from "../util/time";
-import { ReserveType } from "./history";
export const enum PendingOperationType {
Bug = "bug",
@@ -91,6 +90,17 @@ export const enum ExchangeUpdateOperationStage {
FinalizeUpdate = "finalize-update",
}
+export const enum ReserveType {
+ /**
+ * Manually created.
+ */
+ Manual = "manual",
+ /**
+ * Withdrawn from a bank that has "tight" Taler integration
+ */
+ TalerBankWithdraw = "taler-bank-withdraw",
+}
+
/**
* Status of processing a reserve.
*