presentation wiring

This commit is contained in:
2026-05-04 09:30:20 +02:00
parent 4a9bb5f264
commit 0d7a0cc712
18 changed files with 883 additions and 18 deletions

View File

@@ -1,5 +1 @@
use domain::models::{DiaryEntry, collections::Paginated};
pub trait HtmlRenderer: Send + Sync {
fn render_diary_page(&self, data: &Paginated<DiaryEntry>) -> Result<String, String>;
}
pub use application::ports::HtmlRenderer;