pub async fn superseded_among(
pool: &PgPool,
actor: &Actor,
item_ids: &[Uuid],
) -> AppResult<HashMap<Uuid, Option<String>>>Expand description
Which of the given items are superseded: item id → number of the
successor (None when the successor is in a group the actor may not
read). For marking BOM lines.