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

Function byOwner

packages/core/sdk/src/executor.ts:1439–1443  ·  view source on GitHub ↗
(owner: Owner)

Source from the content-addressed store, hash-verified

1437
1438 const byOwner =
1439 (owner: Owner): CoreWhere =>
1440 (b: AnyCb) => {
1441 const keys = owner === "org" ? ORG_SUBJECT : (subject ?? "__none__");
1442 return b.and(b("owner", "=", owner), b("subject", "=", keys));
1443 };
1444
1445 // ------------------------------------------------------------------
1446 // Credential resolution

Callers 15

findConnectionRowFunction · 0.85
loadOAuthClientRowFunction · 0.85
performTokenRefreshFunction · 0.85
whereFunction · 0.85
produceConnectionToolsFunction · 0.85
connectionsCreateFunction · 0.85
mintOAuthConnectionFunction · 0.85
connectionsUpdateFunction · 0.85
connectionsRemoveFunction · 0.85
toolSchemaFunction · 0.85
policiesCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected