refactor: move template use cases into identity module, clean up application structure
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
pub mod register_user;
|
||||
pub mod login_user;
|
||||
pub mod get_profile;
|
||||
|
||||
pub use register_user::RegisterUser;
|
||||
pub use login_user::LoginUser;
|
||||
pub use get_profile::GetProfile;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// Bounded context use case modules
|
||||
pub mod identity;
|
||||
pub mod organization;
|
||||
pub mod storage;
|
||||
@@ -7,12 +6,5 @@ pub mod sharing;
|
||||
pub mod sidecar;
|
||||
pub mod processing;
|
||||
|
||||
// Legacy top-level use cases (kept for backward compat)
|
||||
pub mod login;
|
||||
pub mod get_profile;
|
||||
|
||||
// Re-exports
|
||||
pub use identity::RegisterUser;
|
||||
pub use login::LoginUser;
|
||||
pub use get_profile::GetProfile;
|
||||
pub use identity::{RegisterUser, LoginUser, GetProfile};
|
||||
pub use organization::CreateAlbum;
|
||||
|
||||
Reference in New Issue
Block a user