changes
All checks were successful
CI / ci (push) Successful in 19m38s

This commit is contained in:
2026-08-26 20:55:30 +02:00
parent a557c183e9
commit 23d052278a
523 changed files with 24448 additions and 2005 deletions

View File

@@ -0,0 +1,16 @@
use crate::errors::DomainError;
use crate::rejection::RejectedMetric;
use crate::user::UserId;
#[async_trait::async_trait]
pub trait RejectionCommandPort: Send + Sync {
async fn record(&self, rejections: &[RejectedMetric]) -> Result<(), DomainError>;
}
#[async_trait::async_trait]
pub trait RejectionQueryPort: Send + Sync {
async fn find_recent_by_user(
&self,
user_id: &UserId,
) -> Result<Vec<RejectedMetric>, DomainError>;
}