(health: HealthCheckResult | null)
| 2078 | b("name", "=", String(ref.name)), |
| 2079 | ); |
| 2080 | const isToolSyncHealth = (health: HealthCheckResult | null): boolean => |
| 2081 | health?.detail?.startsWith(toolSyncHealthDetailPrefix) === true; |
| 2082 | const syncedSet = (row: ConnectionRow | null) => { |
| 2083 | const health = row ? Option.getOrNull(decodeLastHealth(row.last_health)) : null; |
| 2084 | return isToolSyncHealth(health) |