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

Function resolveConnectionValuesByRef

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

Source from the content-addressed store, hash-verified

1721 );
1722
1723 const resolveConnectionValuesByRef = (
1724 ref: ConnectionRef,
1725 ): Effect.Effect<Record<string, string | null>, StorageFailure> =>
1726 foldResolutionFailure(
1727 Effect.gen(function* () {
1728 const row = yield* findConnectionRow(ref);
1729 if (!row) return {};
1730 return yield* resolveConnectionValues(row);
1731 }),
1732 );
1733
1734 // ------------------------------------------------------------------
1735 // Integrations

Callers 1

produceConnectionToolsFunction · 0.85

Calls 3

foldResolutionFailureFunction · 0.85
findConnectionRowFunction · 0.85
resolveConnectionValuesFunction · 0.85

Tested by

no test coverage detected