pub fn inventory_router(
inventory: Arc<dyn IdentityInventoryReadModel>,
) -> RouterExpand description
Build a mountable GET /inventory?filter=... AppView router.
The response is exactly an InventoryEntry[]; it has no envelope in which a
pre-filter total or hidden count could leak. Deployment middleware must
reject an invalid presented credential with 401; only true credential
absence may reach this router without an InventoryViewer extension.