(b: AnyCb)
| 2571 | b("connection", "=", String(ref.name)), |
| 2572 | ); |
| 2573 | const connectionWhere = (b: AnyCb) => |
| 2574 | b.and( |
| 2575 | byOwner(owner)(b), |
| 2576 | b("integration", "=", String(ref.integration)), |
| 2577 | b("name", "=", String(ref.name)), |
| 2578 | ); |
| 2579 | const isToolSyncHealth = (health: HealthCheckResult | null): boolean => |
| 2580 | health?.detail?.startsWith(toolSyncHealthDetailPrefix) === true; |
| 2581 | const syncedSet = (row: ConnectionRow | null) => { |