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

Function toUserWithConnections

packages/core/api/src/admin/reads.ts:226–232  ·  view source on GitHub ↗
(
  subject: AdminSubjectWithConnections,
  identities: ReadonlyMap<string, AdminUserIdentity>,
)

Source from the content-addressed store, hash-verified

224});
225
226const toUserWithConnections = (
227 subject: AdminSubjectWithConnections,
228 identities: ReadonlyMap<string, AdminUserIdentity>,
229) => ({
230 ...toUser(subject, identities),
231 connections: subject.connections.map(toConnection),
232});
233
234/**
235 * Accept the legacy one-way directory or the two-way one, so a host that only

Callers 2

listUsersWithConnectionsFunction · 0.85
getUserFunction · 0.85

Calls 1

toUserFunction · 0.85

Tested by

no test coverage detected