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

Function listUserConnections

packages/core/api/src/admin/reads.ts:380–387  ·  view source on GitHub ↗
(
  admin: ExecutorAdmin,
  externalId: string,
)

Source from the content-addressed store, hash-verified

378 });
379
380export const listUserConnections = (
381 admin: ExecutorAdmin,
382 externalId: string,
383): Effect.Effect<typeof AdminUserConnectionsResponse.Type, AdminUsersError> =>
384 admin.listSubjectConnections(externalId).pipe(
385 Effect.map((connections) => ({ connections: connections.map(toConnection) })),
386 Effect.mapError(readFailed("connections")),
387 );

Callers 2

stubProviderFunction · 0.90

Calls 1

readFailedFunction · 0.85

Tested by 1

stubProviderFunction · 0.72