MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / findConnectionRow

Function findConnectionRow

packages/core/sdk/src/executor.ts:2217–2227  ·  view source on GitHub ↗
(
      ref: ConnectionRef,
    )

Source from the content-addressed store, hash-verified

2215 // ------------------------------------------------------------------
2216
2217 const findConnectionRow = (
2218 ref: ConnectionRef,
2219 ): Effect.Effect<ConnectionRow | null, StorageFailure> =>
2220 core.findFirst("connection", {
2221 where: (b: AnyCb) =>
2222 b.and(
2223 byOwner(ref.owner)(b),
2224 b("integration", "=", String(ref.integration)),
2225 b("name", "=", String(ref.name)),
2226 ),
2227 });
2228
2229 // Key for the shared in-flight refresh gate (`refreshInFlight`, bound at
2230 // the top of `createExecutor`). The tenant leads because the gate spans

Callers 15

stampSyncedWithHealthFunction · 0.85
connectionsCreateFunction · 0.85
mintOAuthConnectionFunction · 0.85
connectionsGetFunction · 0.85
connectionsUpdateFunction · 0.85
connectionsRemoveFunction · 0.85
connectionsRefreshFunction · 0.85
healPersistedHealthOnUseFunction · 0.85
persistProbeHealthResultFunction · 0.85

Calls 1

byOwnerFunction · 0.85

Tested by

no test coverage detected