feat(core): Rename crate data_models to hyperswitch_domain_models (#4504)

This commit is contained in:
DEEPANSHU BANSAL
2024-05-02 17:56:11 +05:30
committed by GitHub
parent 6c59d2434c
commit 86e93cd3a0
77 changed files with 309 additions and 258 deletions

View File

@ -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 {