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

Function toConnection

packages/core/api/src/admin/reads.ts:218–224  ·  view source on GitHub ↗
(connection: AdminConnection)

Source from the content-addressed store, hash-verified

216 * upstream account content (see `toHealth`).
217 */
218const toConnection = (connection: AdminConnection) => ({
219 owner: connection.owner,
220 integration: connection.integration,
221 name: connection.name,
222 oauthScope: connection.oauthScope,
223 lastHealth: toHealth(connection.lastHealth),
224});
225
226const toUserWithConnections = (
227 subject: AdminSubjectWithConnections,

Callers

nothing calls this directly

Calls 1

toHealthFunction · 0.85

Tested by

no test coverage detected