refactor: move template use cases into identity module, clean up application structure

This commit is contained in:
2026-05-31 04:49:55 +02:00
parent de93373b43
commit d62d8157a8
4 changed files with 5 additions and 9 deletions

View File

@@ -1,3 +1,7 @@
pub mod register_user; pub mod register_user;
pub mod login_user;
pub mod get_profile;
pub use register_user::RegisterUser; pub use register_user::RegisterUser;
pub use login_user::LoginUser;
pub use get_profile::GetProfile;

View File

@@ -1,4 +1,3 @@
// Bounded context use case modules
pub mod identity; pub mod identity;
pub mod organization; pub mod organization;
pub mod storage; pub mod storage;
@@ -7,12 +6,5 @@ pub mod sharing;
pub mod sidecar; pub mod sidecar;
pub mod processing; pub mod processing;
// Legacy top-level use cases (kept for backward compat) pub use identity::{RegisterUser, LoginUser, GetProfile};
pub mod login;
pub mod get_profile;
// Re-exports
pub use identity::RegisterUser;
pub use login::LoginUser;
pub use get_profile::GetProfile;
pub use organization::CreateAlbum; pub use organization::CreateAlbum;