mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(core): Rename crate data_models to hyperswitch_domain_models (#4504)
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use data_models::{
|
||||
errors::StorageError,
|
||||
payments::{payment_attempt::PaymentAttempt, PaymentIntent},
|
||||
};
|
||||
use diesel_models::{self as store};
|
||||
use error_stack::ResultExt;
|
||||
use futures::lock::Mutex;
|
||||
use hyperswitch_domain_models::{
|
||||
errors::StorageError,
|
||||
payments::{payment_attempt::PaymentAttempt, PaymentIntent},
|
||||
};
|
||||
use redis_interface::RedisSettings;
|
||||
|
||||
use crate::redis::RedisStore;
|
||||
@ -19,7 +19,7 @@ pub mod payout_attempt;
|
||||
pub mod payouts;
|
||||
pub mod redis_conn;
|
||||
#[cfg(not(feature = "payouts"))]
|
||||
use data_models::{PayoutAttemptInterface, PayoutsInterface};
|
||||
use hyperswitch_domain_models::{PayoutAttemptInterface, PayoutsInterface};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct MockDb {
|
||||
|
||||
Reference in New Issue
Block a user