(b: AnyCb)
| 2163 | b("connection", "=", String(ref.name)), |
| 2164 | ); |
| 2165 | const connectionWhere = (b: AnyCb) => |
| 2166 | b.and( |
| 2167 | byOwner(owner)(b), |
| 2168 | b("integration", "=", String(ref.integration)), |
| 2169 | b("name", "=", String(ref.name)), |
| 2170 | ); |
| 2171 | const isToolSyncHealth = (health: HealthCheckResult | null): boolean => |
| 2172 | health?.detail?.startsWith(toolSyncHealthDetailPrefix) === true; |
| 2173 | const syncedSet = (row: ConnectionRow | null) => { |