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

Function connectionItemIds

packages/core/sdk/src/executor.ts:1185–1189  ·  view source on GitHub ↗
(row: ConnectionRow)

Source from the content-addressed store, hash-verified

1183 * Tolerates the historically-single shape by returning `{}` for anything that
1184 * isn't an object. */
1185const connectionItemIds = (row: ConnectionRow): Record<string, string> => {
1186 const decoded = decodeJsonColumn(row.item_ids);
1187 if (decoded == null || typeof decoded !== "object") return {};
1188 return decoded as Record<string, string>;
1189};
1190
1191/** Read the storage surrogate retained on adapter results but hidden by FumaRow. */
1192const storageRowId = (row: unknown): string | null => {

Callers 5

persistRefreshedTokenFunction · 0.85
resolveConnectionValuesFunction · 0.85
connectionsCreateFunction · 0.85
mintOAuthConnectionFunction · 0.85

Calls 1

decodeJsonColumnFunction · 0.85

Tested by

no test coverage detected