refactor: DDD/CQRS architecture, unified crate layout
- crates: common→application, api→presentation, infrastructure/*→adapters/* - new crates: api-types, infra-wiring - domain: errors/, models/, value_objects/, ports/, services/ - application: CQRS use cases (songs/, tabs/) w/ commands, queries, deps - unified DomainError replaces RepositoryError - workspace deps, unused dep cleanup - fix: parse plain-text chord lines (UG drops spans mid-song) - tests extracted to separate modules (tests/ dirs)
This commit is contained in:
7
crates/application/src/tabs/deps.rs
Normal file
7
crates/application/src/tabs/deps.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use domain::ports::{TabFetcherPort, TabParserPort};
|
||||
use std::sync::Arc;
|
||||
|
||||
pub struct ParseTabDeps {
|
||||
pub fetcher: Arc<dyn TabFetcherPort>,
|
||||
pub parser: Arc<dyn TabParserPort>,
|
||||
}
|
||||
Reference in New Issue
Block a user