presentation wiring
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
pub mod commands;
|
||||
pub mod context;
|
||||
pub mod ports;
|
||||
pub mod queries;
|
||||
pub mod use_cases;
|
||||
|
||||
5
crates/application/src/ports.rs
Normal file
5
crates/application/src/ports.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use domain::models::{DiaryEntry, collections::Paginated};
|
||||
|
||||
pub trait HtmlRenderer: Send + Sync {
|
||||
fn render_diary_page(&self, data: &Paginated<DiaryEntry>) -> Result<String, String>;
|
||||
}
|
||||
Reference in New Issue
Block a user