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

Function sourceKeyForBinding

apps/local/src/db/v1-v2-migration.ts:364–368  ·  view source on GitHub ↗
(binding: Row)

Source from the content-addressed store, hash-verified

362 typeof value === "object" && value !== null && !Array.isArray(value);
363
364const sourceKeyForBinding = (binding: Row): string =>
365 migrationSourceKey(
366 binding.source_scope_id == null ? String(binding.scope_id) : String(binding.source_scope_id),
367 String(binding.source_id),
368 );
369
370const mcpOAuthEndpoint = (config: MigratedSourceConfig | undefined): string | null => {
371 const value = config?.config;

Callers 1

Calls 1

migrationSourceKeyFunction · 0.90

Tested by

no test coverage detected