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

Function mirrored

apps/cloud/src/admin/admin-users-api.node.test.ts:28–42  ·  view source on GitHub ↗
(
  accountId: string,
  overrides: Partial<DirectoryMember> = {},
)

Source from the content-addressed store, hash-verified

26const createdAt = new Date("2026-01-01T00:00:00.000Z");
27
28const mirrored = (
29 accountId: string,
30 overrides: Partial<DirectoryMember> = {},
31): DirectoryMember => ({
32 accountId,
33 membershipId: `om_${accountId}`,
34 organizationId: ORG,
35 email: null,
36 name: null,
37 avatarUrl: null,
38 role: "member",
39 status: "active",
40 lastActiveAt: null,
41 ...overrides,
42});
43
44// The mirror as the directory reads it for ORG.
45const memberships = new Map<string, DirectoryMember>([

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected