(health: AdminConnection["lastHealth"])
| 204 | * construction, never a spread, for the same reason the row mappings are. |
| 205 | */ |
| 206 | const toHealth = (health: AdminConnection["lastHealth"]) => |
| 207 | health === null ? null : { status: health.status, checkedAt: health.checkedAt }; |
| 208 | |
| 209 | /** |
| 210 | * `AdminConnection` → the public `AdminUserConnection` shape. |