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

Function resolveConnectionValuesByRef

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

Source from the content-addressed store, hash-verified

2076 );
2077
2078 const resolveConnectionValuesByRef = (
2079 ref: ConnectionRef,
2080 ): Effect.Effect<Record<string, string | null>, StorageFailure> =>
2081 foldResolutionFailure(
2082 Effect.gen(function* () {
2083 const row = yield* findConnectionRow(ref);
2084 if (!row) return {};
2085 return yield* resolveConnectionValues(row);
2086 }),
2087 );
2088
2089 // ------------------------------------------------------------------
2090 // Integrations

Callers 1

produceConnectionToolsFunction · 0.85

Calls 3

foldResolutionFailureFunction · 0.85
findConnectionRowFunction · 0.85
resolveConnectionValuesFunction · 0.85

Tested by

no test coverage detected