Expose a permission-filtered approvals inbox and readable order summaries

This commit is contained in:
2026-11-17 22:38:14 +01:00
parent 18b31df91b
commit bc8100602b
6 changed files with 288 additions and 13 deletions
+3
View File
@@ -19,6 +19,8 @@ pub struct Cursor {
pub last: Uuid,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub last_tenant: Option<Uuid>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub last_created_at: Option<DateTime<Utc>>,
pub limit: u16,
}
impl Cursor {
@@ -74,6 +76,7 @@ impl Cursor {
as_of: Utc::now(),
last: Uuid::nil(),
last_tenant: None,
last_created_at: None,
limit: q.limit.unwrap_or(100),
})
}