2026-03-31 19:19:04 +08:00
|
|
|
mod memory;
|
|
|
|
|
|
2026-07-15 23:47:19 +08:00
|
|
|
pub use aether_data_contracts::repository::wallet::{
|
|
|
|
|
redeem_code_credits_recharge_balance, redeem_code_payment_method,
|
|
|
|
|
redeem_code_refundable_amount, AdjustWalletBalanceInput, AdminPaymentCallbackRecord,
|
|
|
|
|
AdminPaymentOrderListQuery, AdminRedeemCodeBatchListQuery, AdminRedeemCodeListQuery,
|
|
|
|
|
AdminWalletLedgerQuery, AdminWalletListQuery, AdminWalletPaymentOrderRecord,
|
|
|
|
|
AdminWalletRefundRecord, AdminWalletRefundRequestListQuery, AdminWalletTransactionRecord,
|
2026-04-17 10:07:52 +08:00
|
|
|
CompleteAdminWalletRefundInput, CreateAdminRedeemCodeBatchInput,
|
|
|
|
|
CreateAdminRedeemCodeBatchResult, CreateManualWalletRechargeInput,
|
2026-05-13 01:18:38 +08:00
|
|
|
CreatePlanPurchaseOrderInput, CreatePlanPurchaseOrderOutcome, CreateWalletRechargeOrderInput,
|
|
|
|
|
CreateWalletRechargeOrderOutcome, CreateWalletRefundRequestInput,
|
|
|
|
|
CreateWalletRefundRequestOutcome, CreatedAdminRedeemCodePlaintext,
|
|
|
|
|
CreditAdminPaymentOrderInput, DeleteAdminRedeemCodeBatchInput,
|
2026-04-17 10:07:52 +08:00
|
|
|
DisableAdminRedeemCodeBatchInput, DisableAdminRedeemCodeInput, FailAdminWalletRefundInput,
|
|
|
|
|
ProcessAdminWalletRefundInput, ProcessPaymentCallbackInput, ProcessPaymentCallbackOutcome,
|
|
|
|
|
RedeemWalletCodeInput, RedeemWalletCodeOutcome, StoredAdminPaymentCallback,
|
|
|
|
|
StoredAdminPaymentCallbackPage, StoredAdminPaymentOrder, StoredAdminPaymentOrderPage,
|
|
|
|
|
StoredAdminRedeemCode, StoredAdminRedeemCodeBatch, StoredAdminRedeemCodeBatchPage,
|
|
|
|
|
StoredAdminRedeemCodePage, StoredAdminWalletLedgerItem, StoredAdminWalletLedgerPage,
|
|
|
|
|
StoredAdminWalletListItem, StoredAdminWalletListPage, StoredAdminWalletRefund,
|
|
|
|
|
StoredAdminWalletRefundPage, StoredAdminWalletRefundRequestItem,
|
2026-04-05 20:23:16 +08:00
|
|
|
StoredAdminWalletRefundRequestPage, StoredAdminWalletTransaction,
|
|
|
|
|
StoredAdminWalletTransactionPage, StoredWalletDailyUsageLedger,
|
|
|
|
|
StoredWalletDailyUsageLedgerPage, StoredWalletSnapshot, WalletLookupKey, WalletMutationOutcome,
|
2026-07-15 23:47:19 +08:00
|
|
|
WalletReadRepository, WalletReadSeed, WalletReadSnapshot, WalletRepository,
|
|
|
|
|
WalletWriteRepository,
|
2026-03-31 19:19:04 +08:00
|
|
|
};
|
2026-07-15 23:47:19 +08:00
|
|
|
#[cfg(feature = "mysql")]
|
|
|
|
|
pub use aether_data_mysql::MysqlWalletReadRepository;
|
|
|
|
|
#[cfg(feature = "postgres")]
|
|
|
|
|
pub use aether_data_postgres::SqlxWalletRepository;
|
|
|
|
|
#[cfg(feature = "sqlite")]
|
|
|
|
|
pub use aether_data_sqlite::SqliteWalletReadRepository;
|
|
|
|
|
pub use memory::InMemoryWalletRepository;
|