pub fn devices_routes(ctx: HardwareCtx) -> Router<()>Expand description
Build the PROTECTED device-registry CRUD router (relative paths, state baked in),
returning a state-less Router<()> the host nests at /api/hardware/devices
behind the Hardware App gate. These are management routes (desktop +
dashboard_builder); the host mounts them INSIDE require_auth.