application: library bounded context

This commit is contained in:
2026-07-12 02:08:04 +02:00
parent ef86a967cd
commit ebf0614fdf
22 changed files with 1184 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
use domain::models::LibrarySyncLogEntry;
use domain::DomainResult;
use super::deps::LibraryQueryDeps;
use super::queries::GetSyncStatusQuery;
/// Get the latest sync status per provider.
pub async fn execute(
deps: &LibraryQueryDeps,
_query: GetSyncStatusQuery,
) -> DomainResult<Vec<LibrarySyncLogEntry>> {
deps.library_query.latest_sync_status().await
}
#[cfg(test)]
#[path = "tests/get_sync_status.rs"]
mod tests;